lineage-sdk: Add broadcast action for power menu update
This action used to be defined in the frameworks, but can be placed here from now on. Change-Id: I7886c682aea97be40d2dcd0b8f147acb660193ab
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user