diff options
| author | 2018-06-15 16:24:57 +0800 | |
|---|---|---|
| committer | 2018-10-03 02:58:13 +0000 | |
| commit | b44f2e520744abd81b1a020b06ac2b352a85b18d (patch) | |
| tree | b2ea63e02fecae9ddadd55fe60414e025ac5b927 /libs/androidfw/ConfigDescription.cpp | |
| parent | 36d9d5bc557aa214e283f5c73880ca81a5028ec3 (diff) | |
Add separated emergency option on power menu
- Add a separated button on power menu to launch emergency dialer.
- Change HardwareUiLayout.java FrameLayout to LinearLayout, let it can
display separated button.
- Add a flag to recognize separated button should show/hide, if
EmergencyAffordance(India) enabled, separated button will hide,
otherwise power menu will display separated button & power
menu last item won't get white background.
Test: Manually, use "adb shell settings put global faster_emergency_phone_call_enabled 1" to show/hide separated emergency option, press emergency option will go to emergency dialer.
Change-Id: I1140fa412b655c16f3052cbabd118df278fd7f23
Merged-In: I8e6bb72ce7b8cecdb6bd01150b53f61f1515dbb1
Merged-In: I1140fa412b655c16f3052cbabd118df278fd7f23
Bug: 112168722
Bug: 80376488
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions