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

Commit fcd5f298 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the illumination dot getting stuck"

parents 43c87db6 8e9a3cf8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -156,6 +156,7 @@ class UdfpsController {
    }

    private void hideUdfpsOverlay() {
        onFingerUp();
        mHandler.post(() -> {
            Log.v(TAG, "hideUdfpsOverlay | removing window");
            if (mIsOverlayShowing) {
+2 −2
Original line number Diff line number Diff line
@@ -143,12 +143,12 @@ public class UdfpsView extends View {
    void onFingerDown() {
        mIsFingerDown = true;
        mSensorPaint.setStyle(Paint.Style.FILL);
        invalidate();
        postInvalidate();
    }

    void onFingerUp() {
        mIsFingerDown = false;
        mSensorPaint.setStyle(Paint.Style.STROKE);
        invalidate();
        postInvalidate();
    }
}