summaryrefslogtreecommitdiff
path: root/sdk/src/java/lineageos/content/Intent.java
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/src/java/lineageos/content/Intent.java')
-rw-r--r--sdk/src/java/lineageos/content/Intent.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/sdk/src/java/lineageos/content/Intent.java b/sdk/src/java/lineageos/content/Intent.java
index 6f4f9250..3a0ff95a 100644
--- a/sdk/src/java/lineageos/content/Intent.java
+++ b/sdk/src/java/lineageos/content/Intent.java
@@ -109,4 +109,15 @@ public class Intent {
*/
public static final String EXTRA_LID_STATE =
"lineageos.intent.extra.LID_STATE";
+
+ /**
+ * Broadcast Action: Update preferences for the power menu dialog. This is to provide a
+ * way for the preferences that need to be enabled/disabled to update because they were
+ * toggled elsewhere in the settings (ie screenshot, user switcher, etc) so we don't have
+ * to do constant lookups while we wait for the menu to be created. Getting the values once
+ * when necessary is enough.
+ *@hide
+ */
+ public static final String ACTION_UPDATE_POWER_MENU =
+ "lineageos.intent.action.UPDATE_POWER_MENU";
}