summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2020-02-28 02:18:07 -0800
committerWinson <chiuwinson@google.com>2020-02-28 02:42:14 -0800
commit9a2b1b350a6db7a78c4f6ed1f8f3d6569f2b84c2 (patch)
treeecb7e36ce3f576863a7b3249d56ae8fed5489af4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5b55f124d8d24045ef103dd8eeb767fb376cbd63 (diff)
Use PackageInfoUtils with null PackageSetting to set server-only flags
PackageImpl on the server side contains fields that are system server specific, such as what partition the package was found on. These fields are hidden from the core side, since they're irrelevant for APKs that are not processed by PackageManagerService. To mirror this, only the server side PackageInfoUtils sets the flags related to theses server-side fields. So when a PackageSetting is created, this server-side PackageInfoUtils must be called, not the core side PackageInfoWithoutStateUtils, with a null PackageSetting, to set the related pkg(Private)Flags. Bug: 150083410 Test: atest android.cts.backup.OtherSoundsSettingsHostSideTest Test: atest com.android.server.pm.parsing Change-Id: Ife39c83e243daf5d3583f04fce1c0f87c0e20585
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions