summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPatrick Baumann <patb@google.com>2018-05-02 15:00:59 -0700
committerPatrick Baumann <patb@google.com>2018-05-03 15:17:20 +0000
commita639d142001ce8c8398193e0398781d51168a691 (patch)
treed5f53ac3d3b8017b849f44f7fe239328b87aff0a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5685dffd5d76b3f7591ef097dbcbf5a6fec05cc7 (diff)
Resets system flags when updating PackageSettings
In the case that we're updating a system app, we will in-place update the PackageSetting object. This works for most fields but breaks when updating flag fields as we're executing a binary or on the existing flags, thus not unsetting bits when we should be. This change resets all system-related flags before setting the new flag values. Test: manual - move app from priv-app to app, install update, verify that app does not receive priv flag Fixes: 75993951 Fixes: 78265024 Change-Id: I3c88a3583ddb85c4b6b0e3b4d7b6d1d0db93ac17
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions