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

Skip to content
Commit 215e72fe authored by Dhina17's avatar Dhina17
Browse files

PowerMenuActions: Disable emergency key if emergency affordance is enabled

In India, Emergency affordance is mandatory and cannot be disabled [0].

For Indian users, disabling the emergency action has no effect because, regardless of the selected actions list (LineageGlobalActions), emergency action is always added to the global actions if the emergency affordance is enabled [1].

Reference:
[0] - https://source.android.com/devices/tech/connect/emergency-affordance
[1] - https://github.com/LineageOS/android_frameworks_base/blob/lineage-19.1/packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialogLite.java#L625-L629

Change-Id: I0c0cf03aaff2ea6552a68d51caae0d929ceb0cf1
parent 934ae594
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment