summaryrefslogtreecommitdiff
path: root/sdk/src/java/org/lineageos/internal/util/PowerMenuConstants.java
AgeCommit message (Collapse)Author
2021-05-23lineage-sdk: Follow AOSP order of PowerMenuConstantsGegham Zakaryan
Partially follow the order of config_globalActionsList and bring emergency and lockdown to top. Some of the order isn't followed as some items such as users and airplane don't exist in AOSP's list but are much more frequently used than, say, bugreport. Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com> Change-Id: Ie49e77fd99ad0f0dee7c6c7956fc7c1d0474ee63
2021-05-23Revert "sdk: Deprecate POWER_MENU_ACTIONS"Gegham Zakaryan
This reverts commit d8742f0727aad8187a903a0afbafbc909edf1d1c. Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com> Change-Id: I4071297652a6cd0a47d6c642909b32f742e60781
2020-11-07sdk: Deprecate POWER_MENU_ACTIONSLuK1337
Change-Id: I35b0d1123a427598e548cf865328a7c9423cbbca
2019-12-08sdk: Add GLOBAL_ACTION_KEY_RESTART_FASTBOOTLuK1337
Change-Id: Ib4f050f634769f58e654a4240fb521f136fd04e7
2019-02-06Add emergency power menu constantLuca Stefani
Change-Id: I44555b31ff14a5d14de7395b88f44d7be93e06f1
2018-09-16PowerMenuConstants: Add user logout as new global actionBruno Martins
* Google introduced user logout in Pie: https://github.com/LineageOS/android_frameworks_base/commit/044588599c97ceff70d74a133c9eb01a028db00c Change-Id: I60a64beb5fc69e89d5872c74439bec30a47d4d0c
2018-01-21lineage-sdk: Import power menu related classesRashed Abdel-Tawab
Different parts of the system need to check if advanced reboot is enabled, so just move the method here and include it in said different parts. The global actions constants also used to live in the frameworks, but as they include our own additions and are also accessible by LineageParts, place them here from now on. Change-Id: Ic5a02b8118c702dced5a25d775a4cc84c92a3fc2