summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2016-03-11 14:45:19 -0800
committerAlex Klyubin <klyubin@google.com>2016-03-11 14:51:47 -0800
commit005c7caa611fa15f04a8d1968d3a8aa38f3f4730 (patch)
treee954ad8e28271922c416c1c94dee49ad3667f98e /rs/java/android/renderscript/RenderScript.java
parent5fe29adc81d2c43c816d8dbeb5d6bba215aadf6e (diff)
Workaround for verifying large APKs.
When an APK is verifier during installation, the recently added APK Signature Scheme v2 code uncondionally memory-maps the whole file. This fails for very large APKs, even those which are not signed with APK Signature Scheme, thus preventing installation of such APKs. This temporary workaround pretends that the APK is not signed with APK Signature Scheme v2 if the APK cannot be memory-mapped because there's insufficient memory. This workaround will be removed soon, once APK Signature Scheme v2 APK verification logic can handle very large APKs. Bug: 27613575 Change-Id: I27bad534855fe4bf3e09b1087398ffdd7f98f482
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions