diff options
author | Felipe Leme <felipeal@google.com> | 2020-09-11 18:49:08 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2020-09-16 11:13:06 -0700 |
commit | d9414beda15c92b33269a816e3c0db362639433b (patch) | |
tree | ab735ffbcf1c5ed2498ecf9d18c3a3905269d80c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 559bf655283cb8fea95dbc8252353cd8bfbe8087 (diff) |
Fixed PackageManager.readLPw() call.
It wasn't including pre-created users; as such, apps that were not
installed on pre-created users got installed on reboot.
To test it:
adb shell pm create-user --pre-create-only
m ApiDemos
adb install --user current ~/Downloads/apk/ApiDemos.apk
adb shell dumpsys package com.example.android.apis |egrep ".*User .*:"|grep installed
adb shell stop && adb shell start
adb shell dumpsys package com.example.android.apis |egrep ".*User .*:"|grep installed
Without this fix, the second dumpsys would show the app installed
for the pre-created user.
Test: manual test (see above)
Test: atest CtsMultiUserHostTestCases:android.host.multiuser.PreCreateUsersTest
Bug: 160252062
Change-Id: I46c2ec94a3ab422e3e39b66239c21fb6cbff5a8e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions