summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2020-07-27 15:20:23 -0700
committerWinson <chiuwinson@google.com>2020-08-03 10:59:20 -0700
commit8a6daa61035fd9c0d61e098ce40b7a52f8297b25 (patch)
treee8789d03b89561c604f2663cc62de620c85a31d2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent363a5deb62078af5938e46f0dbb34e03597d1098 (diff)
Refactor PackageSetting codePath and remove resourcePath
There was a bug that caused codePath/resourcePath and their codePathString/resourcePathString equivalents to become mismatched in Settings#createNewSetting. To resolve this and prevent future issues, this moves codePath to a private field and exposes a setter which assigns both the File and cached String representation at once. The deprecated and effectively unused resourcePath variants were removed from the server side PackageSettingBase. The ApplicationInfo app side variable was kept as-is, since it's publicly mutable through @UnsupportedAppUsage and could break compatibility if it was removed. Test: atest android.content.pm.PackageManagerTests Test: atest com.android.server.pm.PackageManagerSettingsTests Test: atest com.android.server.pm.ScanTests Change-Id: I815775003bc5fcc5be6d61a24e30d8076b1c024a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions