OSDN Git Service

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 16:33:39 +0000 (09:33 -0700)
commitbd740cd56ac93e0e9fe6881cee927f7dbdd06620
treea3c2ae55b6ea3e46b9163f1b8a568988c4cba9f3
parent73c46f060908d58e1adcade3ee4ee121dc4a8f39
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