From 8d0bd7fa634c090514ff27bbc0cd25a609c22b83 Mon Sep 17 00:00:00 2001 From: Clara Bayarri Date: Wed, 30 Mar 2016 14:59:58 +0100 Subject: [PATCH] Change default work challenge background color Requested by UX Bug: 27829562 Change-Id: I815c06784189e68b09e464e936521e82091c93c3 --- core/java/android/app/admin/DevicePolicyManager.java | 2 +- .../server/devicepolicy/DevicePolicyManagerService.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index e7427bfabe016..2c86dc21a5ae1 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -5919,7 +5919,7 @@ public class DevicePolicyManager { /** * 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 - * default color is {@link android.graphics.Color#GRAY}. + * default color is teal (#00796B). *

* The confirm credentials screen can be created using * {@link android.app.KeyguardManager#createConfirmDeviceCredentialIntent}. diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java index d8b856b9b7539..ed4dab7f0118d 100644 --- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java @@ -654,8 +654,8 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { String shortSupportMessage = null; String longSupportMessage = null; - // Background color of confirm credentials screen. Default: gray. - static final int DEF_ORGANIZATION_COLOR = Color.GRAY; + // Background color of confirm credentials screen. Default: teal. + static final int DEF_ORGANIZATION_COLOR = Color.parseColor("#00796B"); int organizationColor = DEF_ORGANIZATION_COLOR; // Default title of confirm credentials screen