commit | df456fe8e32fce90961addb69ee0250e4bb228fc | [log] [tgz] |
---|---|---|
author | Alex Stetson <[email protected]> | Wed Sep 25 16:54:59 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Oct 03 23:27:35 2024 +0000 |
tree | 3abed37f079e6631b50c42cc5f565e7a23d0e832 | |
parent | c92535f0e4aab786d807647d7645d375b48f6da2 [diff] |
Use explicit user id for sensor privacy manager Recent changes to the SensorPrivacyManager will cause it to default to using the context user for these interactions, which will always be user 0 for SysUI. Therefore, the explicit user id needs to be specified. Bug: 366660154 Test: atest CtsSensorPrivacyTestCases:android.sensorprivacy.cts.SensorPrivacyMicrophoneTest Flag: NONE bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ba21f2518604c152f2bed61e89355e435f15cbc6) Merged-In: I725b2fda806020bd21075364fa52fc302a841249 Change-Id: I725b2fda806020bd21075364fa52fc302a841249