summaryrefslogtreecommitdiff
path: root/test/MultiDex/Main.java
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2019-04-11 17:39:11 +0100
committerDavid Brazdil <dbrazdil@google.com>2019-04-12 15:43:15 +0000
commit6dfdfef85b210dc104a7cd221c6717e1a2123a13 (patch)
treec8748f991a42bf15c77a388375c1af266f2bfdaf /test/MultiDex/Main.java
parenta4469ef9e81bddf83d2b5b525d317de2070fbfd7 (diff)
Set core platform API policy from command line flag
So as to avoid any performance penalty from core platform API access checks, disable them by default. AndroidRuntime.cpp now passes the value of the "persist.debug.dalvik.vm.core_platform_api_policy" to the runtime, allowing a user to enable core platform API checks on demand. The workflow for a tester is: - adb shell setprop <property> "just-warn" - adb reboot - adb logcat | grep "Core platform API" Test: manual, observe warnings in logcat Test: art/test/testrunner/run_build_test_target.py art-test Bug: 125701194 Change-Id: Iae09a8f44918dc349bc10dbdd703043667f51268
Diffstat (limited to 'test/MultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions