diff options
| author | Andrew Flynn <flynn@google.com> | 2015-04-14 22:16:04 -0400 |
|---|---|---|
| committer | Andrew Flynn <flynn@google.com> | 2015-04-14 22:16:04 -0400 |
| commit | 1f45264dd6b874d72ed901a2213c779d42d321c1 (patch) | |
| tree | 39d66f15cda3f7409d5b6ab09656efdab57fe1a3 /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | 7d43893bb998cb0909e021a9968ad3097246e43e (diff) | |
TelephonyManager Carrier Network Change Notification
Adds a way for a carrier app to notify the system that an intended network
change is starting or ending. This can be used by a system PhoneStateListener
to provide custom UI or perform other actions during this period.
- Adds new public TelephonyManager API: notifyCarrierNetworkChange(boolean)
- Adds new @hide PhoneStateListener method: onCarrierNetworkChange(boolean)
- Functionality merely serves as a pass-through of data from an app to a
PhoneStateListener (SystemUI for the intended use case)
- Protected by MODIFY_PHONE_STATE permission or hasCarrierPrivileges().
Bug: 11392659
Change-Id: I3199e21ec1ac124198f44b86c1534dd3ff1f6858
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
