Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f7b3588 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add permission requirement" into rvc-dev am: 2ea259c0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11727209

Change-Id: Ib783ef840e9b3512e9fe93d6cdc9031c55ec6ebc
parents 2d3bcf14 2ea259c0
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -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;