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

Commit 5ea8a1fb authored by Salud Lemus's avatar Salud Lemus
Browse files

Expose device owner type constants for CTS tests

This is necessary to be able to use them in the Bedstead test infra.

Bug: 216852998
Test: None (trivial change)

Change-Id: Ib5afccc65d357b893d193b91b78f59f32b9e2811
parent acdb2f28
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -484,6 +484,8 @@ package android.app.admin {
    field public static final String ACTION_DATA_SHARING_RESTRICTION_APPLIED = "android.app.action.DATA_SHARING_RESTRICTION_APPLIED";
    field public static final String ACTION_DEVICE_POLICY_CONSTANTS_CHANGED = "android.app.action.DEVICE_POLICY_CONSTANTS_CHANGED";
    field @Deprecated public static final int CODE_SPLIT_SYSTEM_USER_DEVICE_SYSTEM_USER = 14; // 0xe
    field public static final int DEVICE_OWNER_TYPE_DEFAULT = 0; // 0x0
    field public static final int DEVICE_OWNER_TYPE_FINANCED = 1; // 0x1
    field public static final int OPERATION_CLEAR_APPLICATION_USER_DATA = 23; // 0x17
    field public static final int OPERATION_CREATE_AND_MANAGE_USER = 5; // 0x5
    field public static final int OPERATION_INSTALL_CA_CERT = 24; // 0x18
+2 −0
Original line number Diff line number Diff line
@@ -3250,6 +3250,7 @@ public class DevicePolicyManager {
     *
     * @hide
     */
    @TestApi
    public static final int DEVICE_OWNER_TYPE_DEFAULT = 0;
    /**
@@ -3257,6 +3258,7 @@ public class DevicePolicyManager {
     *
     * @hide
     */
    @TestApi
    public static final int DEVICE_OWNER_TYPE_FINANCED = 1;
    /**