summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author hyunjae.choi <hyunjae.choi@lge.com> 2024-10-14 19:07:43 +0000
committer bkchoi <bkchoi@google.com> 2024-10-15 03:18:25 +0000
commitec8e8394ba6de60b6466147717d036afdfbefedd (patch)
tree21f11f3427cb289e82f4250be130e28a8325f74b /libs/androidfw/FileStream.cpp
parent3f64dc816c32d04e1127f22410cc6d5dfe1715b6 (diff)
Fix the enforcing method to pass current user for visible background users
To verify if the calling user is the visible background user, we use the UserManagerService#enforceCurrentUserIfVisibleBackgroundEnabled method. This method requires the current user to be passed as a parameter. Bug: 373274137 Flag: EXEMPT bugfix Test: atest FrameworksUiServicesTests:com.android.server.UiModeManagerServiceTest Test: atest CtsAppTestCases:UiModeManagerTest Test: atest --user-type secondary_user CtsAppTestCases:UiModeManagerTest Test: atest --user-type secondary_user_on_secondary_display CtsAppTestCases:UiModeManagerTest (cherry picked from https://partner-android-review.googlesource.com/q/commit:87566613c12b7f44bd9465c6226d7b542ea1e3a2) Change-Id: I3d24a483e3f563778d1e49971a35dd74895c79d1
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions