summaryrefslogtreecommitdiff
path: root/core/java/android/os/SystemProperties.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-06-29 17:15:40 -0600
committerJeff Sharkey <jsharkey@android.com>2018-06-29 17:15:44 -0600
commitc609116a1b9fabc010d4b1985e2241b22cd790ee (patch)
tree62387e8bb92a7316893131ecf1e9ef0fc6723a5a /core/java/android/os/SystemProperties.java
parentaf5753836912a1c76ac35071b8343a6d00782d9e (diff)
Get android.os tests running against real APIs.
Combination of moving to existing public API, tagging things as @TestApi, and bringing utility methods into tests. Bug: 13282254 Test: atest cts/tests/tests/os/ Change-Id: Ifd24c0d048d200e8595e194890cc1dc53ddc2b3e
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 7d3ba6a3cf26..fb34a524f625 100644
--- a/core/java/android/os/SystemProperties.java
+++ b/core/java/android/os/SystemProperties.java
@@ -96,6 +96,7 @@ public class SystemProperties {
*/
@NonNull
@SystemApi
+ @TestApi
public static String get(@NonNull String key) {
if (TRACK_KEY_ACCESS) onKeyAccess(key);
return native_get(key);