summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2017-07-07 01:29:54 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-07-07 01:29:54 +0000
commit0903e31e724ea7466fc147bde6bc0d1cbcb75e31 (patch)
treeac7575cd1e8f0dda831ecfd1a0351134a280cf89
parentb1ab0ff21e83735808f1468fd4e7056de4541cf0 (diff)
parent84c381b614feda2333df7858a550fb62148f3d41 (diff)
Merge "Color of the ring around the lock icon" into oc-dr1-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/TrustDrawable.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/TrustDrawable.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/TrustDrawable.java
index d5a91bb7ff61..e8a456e9bf60 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/TrustDrawable.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/TrustDrawable.java
@@ -31,6 +31,7 @@ import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.view.animation.Interpolator;
+import com.android.settingslib.Utils;
import com.android.systemui.Interpolators;
import com.android.systemui.R;
@@ -82,7 +83,7 @@ public class TrustDrawable extends Drawable {
mPaint = new Paint();
mPaint.setStyle(Paint.Style.STROKE);
- mPaint.setColor(Color.WHITE);
+ mPaint.setColor(Utils.getColorAttr(context, R.attr.bgProtectTextColor));
mPaint.setAntiAlias(true);
mPaint.setStrokeWidth(mThickness);
}