IMS: Unsol TTY notification support
Shriram Ganesh [Thu, 11 Sep 2014 17:09:36 +0000 (22:09 +0530)]
Code changes to support UNSOL_TTY_NOTIFICATION handling.

Change-Id: Ic5f308bb3b05a5f88178e725c1c541fc7ca22291

src/java/com/android/ims/internal/ImsCallSession.java

index 2871052..bfc29d5 100644 (file)
@@ -1051,5 +1051,17 @@ public class ImsCallSession {
                         targetAccessTech, reasonInfo);
             }
         }
+
+        /**
+         * Notifies the TTY mode received from remote party.
+         */
+        @Override
+        public void callSessionTtyModeReceived(IImsCallSession session,
+                int mode) {
+            if (mListener != null) {
+                //TODO: UI specific implementation.
+                //Vendor UI can listen to this callback to take action on received TTY mode.
+            }
+        }
     }
 }