diff options
author | Shishir Agrawal <shishir@google.com> | 2014-07-19 00:06:48 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-17 21:58:28 +0000 |
commit | 5552cc5c9dd111c5fb1db512240b5daf15866c88 (patch) | |
tree | a38d343cf78058e139530cd3395b85e6d00d4988 /telephony/java/com | |
parent | 4a79daeaf72fe0c47f9d0605d6efe0c61885fe94 (diff) | |
parent | 86578cca383562c72751d747905280afdeb2bdfb (diff) | |
download | frameworks_base-5552cc5c9dd111c5fb1db512240b5daf15866c88.zip frameworks_base-5552cc5c9dd111c5fb1db512240b5daf15866c88.tar.gz frameworks_base-5552cc5c9dd111c5fb1db512240b5daf15866c88.tar.bz2 |
Merge "Adding the ability for carrier app to override SPN and carrier name." into lmp-dev
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index d41ceda..435c334 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -706,5 +706,23 @@ interface ITelephony { * not set. */ String getLine1AlphaTagForDisplay(long subId); + + /** + * Override the operator branding for the input ICCID. + * + * Once set, whenever the ICCID is inserted into the device, the service + * provider name (SPN) and the operator name will both be replaced by the + * brand value input. To unset the value, the same function should be + * called with a null brand value. + * + * <p>Requires Permission: + * {@link android.Manifest.permission#MODIFY_PHONE_STATE MODIFY_PHONE_STATE} + * or has to be carrier app - see #hasCarrierPrivileges. + * + * @param iccid The ICCID of that the branding applies to. + * @param brand The brand name to display/set. + * @return true if the operation was executed correctly. + */ + boolean setOperatorBrandOverride(String iccId, String brand); } |