diff options
| author | 2018-11-01 18:36:46 +0000 | |
|---|---|---|
| committer | 2018-11-01 18:38:13 +0000 | |
| commit | 7f226244e8adbda8019024bcf010ef3f0a8a3b0c (patch) | |
| tree | a79f4d38979f0885d31bb0b7a201f02b8d11dc0e | |
| parent | 0708fc0c096fb4126c2029d0172830cf0c8e159b (diff) | |
Remove VMRuntime.hasUsedHiddenApi()
Not needed with removal of the UI toast.
Test: m, phone boots
Change-Id: I8a99b264b66d8e9f2096b5531ad4294012a7b010
| -rw-r--r-- | runtime/native/dalvik_system_VMRuntime.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/native/dalvik_system_VMRuntime.cc b/runtime/native/dalvik_system_VMRuntime.cc index 0d7160ee9e..32b88e6fa1 100644 --- a/runtime/native/dalvik_system_VMRuntime.cc +++ b/runtime/native/dalvik_system_VMRuntime.cc @@ -76,10 +76,6 @@ static void VMRuntime_startJitCompilation(JNIEnv*, jobject) { static void VMRuntime_disableJitCompilation(JNIEnv*, jobject) { } -static jboolean VMRuntime_hasUsedHiddenApi(JNIEnv*, jobject) { - return Runtime::Current()->HasPendingHiddenApiWarning() ? JNI_TRUE : JNI_FALSE; -} - static void VMRuntime_setHiddenApiExemptions(JNIEnv* env, jclass, jobjectArray exemptions) { @@ -697,7 +693,6 @@ static JNINativeMethod gMethods[] = { NATIVE_METHOD(VMRuntime, concurrentGC, "()V"), NATIVE_METHOD(VMRuntime, disableJitCompilation, "()V"), FAST_NATIVE_METHOD(VMRuntime, hasBootImageSpaces, "()Z"), // Could be CRITICAL. - NATIVE_METHOD(VMRuntime, hasUsedHiddenApi, "()Z"), NATIVE_METHOD(VMRuntime, setHiddenApiExemptions, "([Ljava/lang/String;)V"), NATIVE_METHOD(VMRuntime, setHiddenApiAccessLogSamplingRate, "(I)V"), NATIVE_METHOD(VMRuntime, getTargetHeapUtilization, "()F"), |