summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/internal/telephony/ITelephony.aidl
diff options
context:
space:
mode:
Diffstat (limited to 'telephony/java/com/android/internal/telephony/ITelephony.aidl')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl16
1 files changed, 12 insertions, 4 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index 663fc0380430..83fb8bfc1d5c 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -19,7 +19,7 @@ package com.android.internal.telephony;
import android.os.Bundle;
/**
- * Interface used to interact with the phone. Mostly this is used by the
+ * Interface used to interact with the phone. Mostly this is used by the
* TelephonyManager class. A few places are still using this directly.
* Please clean them up if possible and use TelephonyManager insteadl.
*
@@ -46,7 +46,7 @@ interface ITelephony {
* Returns true if the call screen was shown.
*/
boolean showCallScreen();
-
+
/**
* End call or go to the Home screen
*
@@ -87,7 +87,7 @@ interface ITelephony {
/**
* Cancels the missed calls notification.
*/
- void cancelMissedCallsNotification();
+ void cancelMissedCallsNotification();
/**
* Supply a pin to unlock the SIM. Blocks until a result is determined.
@@ -99,7 +99,7 @@ interface ITelephony {
/**
* Handles PIN MMI commands (PIN/PIN2/PUK/PUK2), which are initiated
* without SEND (so <code>dial</code> is not appropriate).
- *
+ *
* @param dialString the MMI command to be executed.
* @return true if MMI command is executed.
*/
@@ -160,4 +160,12 @@ interface ITelephony {
int getCallState();
int getDataActivity();
int getDataState();
+
+ /**
+ * Returns the current active phone type as integer.
+ * Returns TelephonyManager.PHONE_TYPE_CDMA if RILConstants.CDMA_PHONE
+ * and TelephonyManager.PHONE_TYPE_GSM if RILConstants.GSM_PHONE
+ */
+ int getActivePhoneType();
+
}