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

Commit 257ae592 authored by Suprabh Shukla's avatar Suprabh Shukla Committed by Gerrit Code Review
Browse files

Merge "Expose process-state constant as a test api" into main

parents b043595d 95a32edc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -154,6 +154,7 @@ package android.app {
    field public static final int PROCESS_CAPABILITY_ALL_IMPLICIT = 6; // 0x6
    field public static final int PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK = 8; // 0x8
    field public static final int PROCESS_CAPABILITY_USER_RESTRICTED_NETWORK = 32; // 0x20
    field public static final int PROCESS_STATE_BOUND_FOREGROUND_SERVICE = 5; // 0x5
    field public static final int PROCESS_STATE_FOREGROUND_SERVICE = 4; // 0x4
    field public static final int PROCESS_STATE_TOP = 2; // 0x2
    field public static final int STOP_USER_ON_SWITCH_DEFAULT = -1; // 0xffffffff
+2 −0
Original line number Diff line number Diff line
@@ -705,6 +705,8 @@ public class ActivityManager {

    /** @hide Process is hosting a foreground service due to a system binding. */
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
    @SuppressLint("UnflaggedApi") // @TestApi without associated feature.
    @TestApi
    public static final int PROCESS_STATE_BOUND_FOREGROUND_SERVICE =
            ProcessStateEnum.BOUND_FOREGROUND_SERVICE;