IMS: Unsol TTY notification support
[android/platform/frameworks/opt/net/ims.git] / 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.
+            }
+        }
     }
 }