Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e74ce33 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add @TestApi to SystemApis in SystemProperties Test: build and flash Android Bug: 143620678"

parents e6644f99 3a81af1c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2066,6 +2066,8 @@ package android.os {
    method @NonNull public static String get(@NonNull String);
    method @NonNull public static String get(@NonNull String, @Nullable String);
    method public static boolean getBoolean(@NonNull String, boolean);
    method public static int getInt(@NonNull String, int);
    method public static long getLong(@NonNull String, long);
  }

  public final class UserHandle implements android.os.Parcelable {
+2 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@ public class SystemProperties {
     * @hide
     */
    @SystemApi
    @TestApi
    public static int getInt(@NonNull String key, int def) {
        if (TRACK_KEY_ACCESS) onKeyAccess(key);
        return native_get_int(key, def);
@@ -166,6 +167,7 @@ public class SystemProperties {
     * @hide
     */
    @SystemApi
    @TestApi
    public static long getLong(@NonNull String key, long def) {
        if (TRACK_KEY_ACCESS) onKeyAccess(key);
        return native_get_long(key, def);