summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTodd Kennedy <toddke@google.com>2016-04-13 10:49:29 -0700
committerTodd Kennedy <toddke@google.com>2016-04-15 17:04:14 +0000
commitd022ac21ebcb441314b80b6d8f0656939f2480e5 (patch)
tree119ed2b6ef5621db7491d435a43975a6a174028a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent067f821ec84d3bcb556a8de77f3e3d3b8c042186 (diff)
Fix parse flags
Setting PARSE_IS_SYSTEM to the parse flags happens long after the APK is actually parsed. So, we fail to pick up the boot aware and protected storage attributes. Instead, always pull them from the manifest, but, remove the flags if the package is not actually a system package. Also, we were incorrectly skipping certificate verification if the flag PARSE_IS_SYSTEM was set. However, this flag is used for _any_ system package -- whether it's physically on /system or if it's an unbundled update. Instead, we should only skip this step if the flag PARSE_IS_SYSTEM_DIR. We can implicitly trust any APK actually stored in /system. On a different note ... At some point, we will break apart the parse flags into actual parse flags [i.e. those that change physically parsing an APK] and policy flags [i.e. those that change the interpretation of the APK contents]. Bug: 28116074 Bug: 28088617 Change-Id: I85246b0cb18fb5647df3618107910e288137fbc7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions