commit | 92565e0d5db1b0212c2ee0a38a69d8cc63d1adce | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Wed May 01 17:34:28 2019 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Wed May 01 18:13:29 2019 -0700 |
tree | efd2e8fa643853c976933c46ca4bdedc0e9b8041 | |
parent | 1923b35e15f892105f040fe7494b92b87cec14d1 [diff] |
Loosen the user id check for master mute on automotive For automotive, - the car service is always running as system user - foreground users are non-system users Car service is in charge of dispatching the key event include master mute to Android. Therefore, the getCurrentUser() is always different to the foreground user. See also go/aae-multi-user Bug: 113268803 Test: adb shell input keyevent 164 Change-Id: I65d4a4bc1b96eec7dc61ed04c5acc425f37a9061