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:
Bruno Martins
2017-12-01 11:57:51 +00:00
parent c6d700a2fa
commit 26a3d1efbf

View File

@@ -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";
}