summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2021-03-30 10:38:26 +0900
committerLorenzo Colitti <lorenzo@google.com>2021-04-05 22:53:41 +0900
commitfa9b3f30fd5da13519c14c3ac281662879c6be3e (patch)
tree2367011b30594893e2da2adf2d7c8f1c06daf2b6 /java/java.go
parent0774773a65c2b4164c725ca00b5fad88048f6259 (diff)
Set the usesNonSdk manifest attribute whan targeting module SDKs.
From an ART perspective, calling module-lib APIs requires the ability to bypass hiddenapi enforcement entirely. This CL ensures that if an APK compiles against module-lib APIs, it will be able to call those APIs. Currently, compiling against module-lib APIs is not safe because APKs that are subject to hiddenapi protection will crash at runtime. Bug: 181309531 Test: made NetworkStackNext compile against module-current, and: Test: aapt dump xmltree .../NetworkStackNext.apk AndroidManifest.xml | grep usesNonSdk Change-Id: I5ca3328c64412078d803e0e3ffa1d8383602416f
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions