Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2f850e0 authored by Norman Bintang's avatar Norman Bintang
Browse files

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
parent 3b7526e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment