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

Commit a461b0d2 authored by Longbo Wei's avatar Longbo Wei
Browse files

a11y: Update color to use android color system

Screenshot:
 - Before: http://screen/6G8eVJf3QTQeHQd
 - After: http://screen/3g9U2S9iufm7WLs

Bug: 393169987
Test: AutoclickControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I7c505e2e00dd4721a6d090e332423d335a41edbc
parent 268a2abc
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@ import android.view.animation.LinearInterpolator;

import androidx.annotation.VisibleForTesting;

import com.android.internal.R;

// A visual indicator for the autoclick feature.
public class AutoclickIndicatorView extends View {
    private static final String TAG = AutoclickIndicatorView.class.getSimpleName();
@@ -67,8 +69,7 @@ public class AutoclickIndicatorView extends View {
        super(context);

        mPaint = new Paint();
        // TODO(b/383901288): update styling once determined by UX.
        mPaint.setARGB(255, 52, 103, 235);
        mPaint.setColor(context.getColor(R.color.materialColorPrimary));
        mPaint.setStyle(Paint.Style.STROKE);
        mPaint.setStrokeWidth(10);