Merge "Add permission requirement" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2ea259c04e
@@ -340,6 +340,10 @@ public class PhoneStateListener {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public static final int LISTEN_DISPLAY_INFO_CHANGED = 0x00100000;
|
||||
|
||||
Reference in New Issue
Block a user