Merge "Add permission requirement" into rvc-dev am: 2ea259c04e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11727209 Change-Id: Ib783ef840e9b3512e9fe93d6cdc9031c55ec6ebc
This commit is contained in:
@@ -340,6 +340,10 @@ public class PhoneStateListener {
|
|||||||
/**
|
/**
|
||||||
* Listen for display info changed event.
|
* Listen for display info changed event.
|
||||||
*
|
*
|
||||||
|
* Requires Permission: {@link android.Manifest.permission#READ_PHONE_STATE
|
||||||
|
* READ_PHONE_STATE} or that the calling app has carrier privileges (see
|
||||||
|
* {@link TelephonyManager#hasCarrierPrivileges}).
|
||||||
|
*
|
||||||
* @see #onDisplayInfoChanged
|
* @see #onDisplayInfoChanged
|
||||||
*/
|
*/
|
||||||
public static final int LISTEN_DISPLAY_INFO_CHANGED = 0x00100000;
|
public static final int LISTEN_DISPLAY_INFO_CHANGED = 0x00100000;
|
||||||
|
|||||||
Reference in New Issue
Block a user