Merge "Change default work challenge background color" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
30fb053449
@@ -5917,7 +5917,7 @@ public class DevicePolicyManager {
|
|||||||
/**
|
/**
|
||||||
* Called by a profile owner of a managed profile to set the color used for customization. This
|
* Called by a profile owner of a managed profile to set the color used for customization. This
|
||||||
* color is used as background color of the confirm credentials screen for that user. The
|
* color is used as background color of the confirm credentials screen for that user. The
|
||||||
* default color is {@link android.graphics.Color#GRAY}.
|
* default color is teal (#00796B).
|
||||||
* <p>
|
* <p>
|
||||||
* The confirm credentials screen can be created using
|
* The confirm credentials screen can be created using
|
||||||
* {@link android.app.KeyguardManager#createConfirmDeviceCredentialIntent}.
|
* {@link android.app.KeyguardManager#createConfirmDeviceCredentialIntent}.
|
||||||
|
|||||||
@@ -654,8 +654,8 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
|||||||
String shortSupportMessage = null;
|
String shortSupportMessage = null;
|
||||||
String longSupportMessage = null;
|
String longSupportMessage = null;
|
||||||
|
|
||||||
// Background color of confirm credentials screen. Default: gray.
|
// Background color of confirm credentials screen. Default: teal.
|
||||||
static final int DEF_ORGANIZATION_COLOR = Color.GRAY;
|
static final int DEF_ORGANIZATION_COLOR = Color.parseColor("#00796B");
|
||||||
int organizationColor = DEF_ORGANIZATION_COLOR;
|
int organizationColor = DEF_ORGANIZATION_COLOR;
|
||||||
|
|
||||||
// Default title of confirm credentials screen
|
// Default title of confirm credentials screen
|
||||||
|
|||||||
Reference in New Issue
Block a user