summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Miriam Polzer <mpolzer@google.com> 2025-02-18 14:24:17 +0000
committer Miriam Polzer <mpolzer@google.com> 2025-03-03 09:27:40 +0000
commit4e2824018a29c6f151bba0f1fab360b603786339 (patch)
treee03f2898888d9154c861283804ae0e9da9986e5f /libs/androidfw/FileStream.cpp
parent7d96d0a48f7a482d1c4e292d9508928efaa92fb1 (diff)
Show user switch message for non-system user
So far, a DO could only be on system user, and the DO is the only one who can set user switch messages. With HSUM, this changes, as the DO can also live in user 10. Change the API and calls to allow for user switch from and to messages to be configued with a given user, and not a hardcoded system user. Fix: 391605774 Test: Manual on tangorpro_hsum: m adevice update g4d -f testdpc bash third_party/java_src/testdpc/build-and-install.sh adb shell dpm set-device-owner --user 10 com.afwsamples.testdpc/com.afwsamples.testdpc.DeviceAdminReceiver Configure user switching message on the device, add a user and switch Test: CTS verifier user switch message test Test: btest UserSwitchingMessageTest -n Flag: EXEMPT BUG_FIX Change-Id: Ife3cd72690df1172cb334958f5d3f392d425162f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions