summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJackal Guo <jackalguo@google.com>2020-08-20 15:16:49 +0800
committerJackal Guo <jackalguo@google.com>2020-08-24 21:41:59 +0800
commite74e961711cf83c97d26d55f1698fe96bbae4064 (patch)
treeb670ee01b3d4371d2f41c78967d4b3ab767221cc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd2e2eda8a23800b0043ca8b20619ac15e21defcc (diff)
Update broadcast with correct extra field
The extra field EXTRA_DATA_REMOVED in Intent ACTION_PACKAGE_REMOVED indicates whether this represents a full uninstall (removing both the code and its data). When uninstalling apps on a multi-user device without the keep data flag, we don't set field dataRemoved properly. This results in that EXTRA_DATA_REMOVED is false and ACTION_PACKAGE_FULLY_REMOVED isn't broadcasted until the app are completely uninstalled from all users in the device. Hence, field dataRemoved needs to be set to correct value accordingly in this case. Bug: 29072973 Test: manual test 1. Install an app in both primary and second user (user from work profile of multiple user). 2. Unintall this app from each user. 3. Make sure that the Intent ACTION_PACKAGE_REMOVED with EXTRA_DATA_REMOVED = true and ACTION_PACKAGE_FULLY_REMOVED are broadcasted for each user. Change-Id: Ib67c0b5849cc562bd9e915d45d56f8488915a8f2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions