commit | 4a05bbcd38604cbbcbac66af1abc69ecffddad8b | [log] [tgz] |
---|---|---|
author | Sungmin Choi <sungmin.choi@lge.com> | Fri Aug 07 18:12:19 2015 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Thu Aug 13 17:07:11 2015 -0700 |
tree | 4d1d15da472f548e8ada3c6965976277825c890b | |
parent | f75577295765ca13bf3d0d5bffa81b569cb88da2 [diff] |
Fix to check the incoming userid argument for RingtonePlayer In PowerNotificationWarnings, where it dispatches notifications with UserHandle.ALL: mNoMan.notifyAsUser(TAG_NOTIFICATION, R.id.notification_power, n, UserHandle.ALL); The fix is to have RingtonePlayer check the incoming userId argument to playAsync(), and change USER_ALL to USER_OWNER. BUG=22516181 BUG=22992637 Change-Id: Ia3f8aaa2bee7fb15c24542e2331b2bc5a877e715