commit | 215e72fef9c1f9983eac92a8271c29a6d2802f6a | [log] [tgz] |
---|---|---|
author | Dhina17 <dhinalogu@gmail.com> | Wed Jul 13 00:44:28 2022 +0530 |
committer | Dhina17 <dhinalogu@gmail.com> | Mon Jul 25 12:56:01 2022 +0000 |
tree | 7376d59ee2f7effccc21a5af01e2bc8faf64d51a | |
parent | 934ae59455870663a649a09b0d81dc4c011d12bb [diff] |
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