commit | b2f850e0e99d9700c69b7d305a42f7e2f7d495a0 | [log] [tgz] |
---|---|---|
author | Norman Bintang <normanbt@google.com> | Tue Nov 05 13:16:05 2024 +0800 |
committer | Norman Bintang <normanbt@google.com> | Tue Nov 05 13:16:05 2024 +0800 |
tree | 1f34de2c41f3eb0404e98e2533f3d2bd57572c2c | |
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