Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master
This commit is contained in:
@@ -6547,7 +6547,7 @@ public class TelephonyManager {
|
||||
* {@link android.Manifest.permission#READ_PRIVILEGED_PHONE_STATE READ_PRIVILEGED_PHONE_STATE}
|
||||
* app has carrier privileges (see {@link #hasCarrierPrivileges}).
|
||||
*
|
||||
* @return the preferred network type.
|
||||
* @return the preferred network type, defined in RILConstants.java.
|
||||
* @hide
|
||||
*/
|
||||
@RequiresPermission((android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE))
|
||||
@@ -9362,6 +9362,23 @@ public class TelephonyManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Action set from carrier signalling broadcast receivers to reset all carrier actions
|
||||
* Permissions android.Manifest.permission.MODIFY_PHONE_STATE is required
|
||||
* @param subId the subscription ID that this action applies to.
|
||||
* @hide
|
||||
*/
|
||||
public void carrierActionResetAll(int subId) {
|
||||
try {
|
||||
ITelephony service = getITelephony();
|
||||
if (service != null) {
|
||||
service.carrierActionResetAll(subId);
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
Log.e(TAG, "Error calling ITelephony#carrierActionResetAll", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get aggregated video call data usage since boot.
|
||||
* Permissions android.Manifest.permission.READ_NETWORK_USAGE_HISTORY is required.
|
||||
|
||||
Reference in New Issue
Block a user