Created
November 29, 2020 15:29
-
-
Save Dil3mm4/244edbfa13136fda61d5d1d5b552a09a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 642f78576b724f45bd7072ad386cd32eec57fd8b Mon Sep 17 00:00:00 2001 | |
From: Dil3mm4 <[email protected]> | |
Date: Sat, 28 Nov 2020 01:07:31 +0000 | |
Subject: [PATCH 1/2] FODCircleView: don't hide if | |
mUpdateMonitor.isFingerprintDetectionRunning() is false | |
This solves an edge-case (described in the test below) without affecting FOD correct functionality. | |
We have reliable ways to hide the view in any case. | |
Tests: | |
- open third-party app that requests biometric on activity opening, lock device, unlock via pattern or pin, ensure FOD appears on the activity that was previously left open. | |
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java b/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java | |
index 234a0019666b..d370351e3bc4 100644 | |
--- a/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java | |
+++ b/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java | |
@@ -160,8 +160,6 @@ public class FODCircleView extends ImageView { | |
} else { | |
hide(); | |
} | |
- } else { | |
- hide(); | |
} | |
} | |
-- | |
2.20.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment