summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorVictor Hsieh <victorhsieh@google.com>2018-11-16 10:27:06 -0800
committerVictor Hsieh <victorhsieh@google.com>2019-01-02 16:45:49 -0800
commite7b5a8dbd7e77211b4e74edc863de46adb7a00f3 (patch)
tree90f81b9fecac1ea9f3af21a0d0b3f80362d9d8b1 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent252e8d0447eb64a1429a1198ff71f3785db2d2aa (diff)
Introduce android:preferCodeIntegrity, private for now
This attribute is default to false, and if set to true, indicates that the app wants to run with strong integrity guarantee currently the platform can provide the best. In this change, this flag implies that on install time, 1) .dex and .so must be stored uncompressed and aligned to install 2) android:extractNativeLibs must be false to install At run time, ART will run from the dex within the APK directly, and NDK libraries will be mapped directly from the APK. This way, thest files stay protected by signature. The attribute currently stays in private to make development progress. We plan to make it public once we confirm the demand from some apps. Test: atest AppIntegrityTest (to be added in ag/5554864 after publicized) Bug: 112037137 Change-Id: Ifde90cb0666fbb57e8b61f90b4ba1a2dd2a2b4ae
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions