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

Commit 3daef246 authored by Casey Ho's avatar Casey Ho Committed by Android (Google) Code Review
Browse files

Merge "Javadoc for ACTION_SCREEN_<ON|OFF> to indicate they cannot be registered in the manifest."

parents 47fe60a6 dbf6785c
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
@@ -1519,6 +1519,10 @@ public class Intent implements Parcelable, Cloneable {
     * </p><p>
     * See {@link android.os.PowerManager#isInteractive} for details.
     * </p>
     * You <em>cannot</em> receive this through components declared in
     * manifests, only by explicitly registering for it with
     * {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
     * Context.registerReceiver()}.
     *
     * <p class="note">This is a protected intent that can only be sent
     * by the system.
@@ -1539,6 +1543,10 @@ public class Intent implements Parcelable, Cloneable {
     * </p><p>
     * See {@link android.os.PowerManager#isInteractive} for details.
     * </p>
     * You <em>cannot</em> receive this through components declared in
     * manifests, only by explicitly registering for it with
     * {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
     * Context.registerReceiver()}.
     *
     * <p class="note">This is a protected intent that can only be sent
     * by the system.
@@ -1576,7 +1584,7 @@ public class Intent implements Parcelable, Cloneable {

    /**
     * Broadcast Action: The current time has changed.  Sent every
     * minute.  You can <em>not</em> receive this through components declared
     * minute.  You <em>cannot</em> receive this through components declared
     * in manifests, only by explicitly registering for it with
     * {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
     * Context.registerReceiver()}.
@@ -1922,7 +1930,7 @@ public class Intent implements Parcelable, Cloneable {
     * appropriately.
     *
     * <p class="note">
     * You can <em>not</em> receive this through components declared
     * You <em>cannot</em> receive this through components declared
     * in manifests, only by explicitly registering for it with
     * {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
     * Context.registerReceiver()}.
@@ -1949,7 +1957,7 @@ public class Intent implements Parcelable, Cloneable {
     * contents of the Intent.
     *
     * <p class="note">
     * You can <em>not</em> receive this through components declared
     * You <em>cannot</em> receive this through components declared
     * in manifests, only by explicitly registering for it with
     * {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
     * Context.registerReceiver()}.  See {@link #ACTION_BATTERY_LOW},