diff options
| author | 2024-11-05 13:16:05 +0800 | |
|---|---|---|
| committer | 2024-11-05 13:16:05 +0800 | |
| commit | b2f850e0e99d9700c69b7d305a42f7e2f7d495a0 (patch) | |
| tree | 1f34de2c41f3eb0404e98e2533f3d2bd57572c2c /api/coverage/tools | |
| parent | 3b7526e1c5791ba99ea36863b5db098d2bbb7a01 (diff) | |
Use explicit user id for setSensorPrivacy
ag/28852819 changed the user id for setSensorPrivacy from
UserHandle.USER_CURRENT to mContext.getUserId(), which always be 0 when
it's called by PhoneWindowManager. Therefore, the explicit user id needs
to be specified.
Bug: 364440865
Test: Manually press mic input keyboard button
Flag: EXEMPT bug fix
Change-Id: I4b7fab19d25d4fac71bb14a20ea0045e5a30c795
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions