OSDN Git Service

DO NOT MERGE - Fixed an issue where the emergency affordance would show
authorSelim Cinek <cinek@google.com>
Tue, 11 Oct 2016 19:49:48 +0000 (12:49 -0700)
committerSelim Cinek <cinek@google.com>
Wed, 12 Oct 2016 23:21:20 +0000 (23:21 +0000)
commit65316661dd5423866530a21cb316e89824be2997
tree19e4e1f169e7de73f5ed9638aa669e6321ce16d6
parentc38d15590129d9a06bb6b7542a4f74b4b7dd6058
DO NOT MERGE - Fixed an issue where the emergency affordance would show

If a device isn't voice capable, it shouldn't show the emergency
option.

Test: use tablet which isn't voice capable, insert indian sim and
make sure no emergency option is displayed in global actions.
Bug: 31953703
Change-Id: I351e87320f3ffec76d1c1fc5aac78e5c48c0ac54
services/core/java/com/android/server/emergency/EmergencyAffordanceService.java