summaryrefslogtreecommitdiff
path: root/core/java/android/os/SystemProperties.java
diff options
context:
space:
mode:
authorHoward Chen <howardsoc@google.com>2019-05-24 02:04:50 +0800
committerHoward Chen <howardsoc@google.com>2019-05-24 23:19:35 +0800
commita7e62a828e0a68d6472587bc0573cfb210dfe516 (patch)
tree8f2f320802494cacd761a479261fe91a8b1de37c /core/java/android/os/SystemProperties.java
parent3dcafb9aeca04b00c2d0678edb01506c6b8a5147 (diff)
Fix StrictModeTest#testNonSdkApiUsage
Test: atest android.os.cts.StrictModeTest#testNonSdkApiUsage Bug: 131923046 Bug: 129892635 Change-Id: I6759339000eb239112c0c83ce1131f34164ee0cf
Diffstat (limited to 'core/java/android/os/SystemProperties.java')
-rw-r--r--core/java/android/os/SystemProperties.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/os/SystemProperties.java b/core/java/android/os/SystemProperties.java
index b69f5885c2e5..a7edb5eb9d8b 100644
--- a/core/java/android/os/SystemProperties.java
+++ b/core/java/android/os/SystemProperties.java
@@ -174,6 +174,7 @@ public class SystemProperties {
* @hide
*/
@SystemApi
+ @TestApi
public static boolean getBoolean(@NonNull String key, boolean def) {
if (TRACK_KEY_ACCESS) onKeyAccess(key);
return native_get_boolean(key, def);