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

Commit 43b2bf71 authored by Jack Yu's avatar Jack Yu
Browse files

Add permission requirement

Fixed the API comment

Fix: 158111427
Test: Build
Change-Id: I2c4754ca4dd8f38eae70dc572d06045cb2949efa
parent 247144d4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;