commit | 3d2f62fda87584c34f40d65857ba862405481094 | [log] [tgz] |
---|---|---|
author | Orion Hodson <oth@google.com> | Tue Nov 16 09:07:14 2021 +0000 |
committer | Orion Hodson <oth@google.com> | Tue Nov 16 11:11:28 2021 +0000 |
tree | cbf489ef2b481d308d9bec4f1adba6ca1642b9c4 | |
parent | 999147b4ab95ef71551736edc379f40cd0921d87 [diff] |
AndroidRuntime: when CheckJNI is enabled log a message This matches behaviour described in: https://developer.android.com/training/articles/perf-jni#extended-checking All output from CheckJNI state was disabled as part of quietening logspam, but now we log a message only if CheckJNI is enabled. CheckJNI is off by default and only used as a developer correctness tool. Bug: N/A Test: adb root; adb shell stop; \ adb shell setprop dalvik.vm.checkjni 1; \ adb shell start; adb logcat -d | grep CheckJNI Change-Id: I93bc2d097a8769b7768c633b705b29fc1aac634a