Skip to content

Instantly share code, notes, and snippets.

@Dil3mm4
Created November 26, 2020 14:37
Show Gist options
  • Save Dil3mm4/156a9f28ff6dd762c0df9c288f669f99 to your computer and use it in GitHub Desktop.
Save Dil3mm4/156a9f28ff6dd762c0df9c288f669f99 to your computer and use it in GitHub Desktop.
From bbe8ccd0c68adf47a7db91632d5563e8f25f735a Mon Sep 17 00:00:00 2001
From: Dil3mm4 <dil3mm4.dev@gmail.com>
Date: Thu, 26 Nov 2020 14:37:01 +0000
Subject: [PATCH] f
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java b/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java
index 5b5dff14016d..9968f890fa0a 100644
--- a/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java
+++ b/packages/SystemUI/src/com/android/systemui/biometrics/FODCircleView.java
@@ -367,21 +367,25 @@ public class FODCircleView extends ImageView {
public void show() {
if (!mUpdateMonitor.isScreenOn()) {
+ Log.d("LuK1337", "returning first condition, value is " + String.ValueOf(!mUpdateMonitor.isScreenOn()));
// Keyguard is shown just after screen turning off
return;
}
if (mIsBouncer && !isPinOrPattern(mUpdateMonitor.getCurrentUser())) {
+ Log.d("LuK1337", "returning second condition, values are " + String.ValueOf(mIsBouncer)) + " " + String.ValueOf(!isPinOrPattern(mUpdateMonitor.getCurrentUser()));
// Ignore show calls when Keyguard password screen is being shown
return;
}
if (mUpdateMonitor.getUserCanSkipBouncer(mUpdateMonitor.getCurrentUser())) {
+ Log.d("LuK1337", "returning third condition, value is " + String.ValueOf(mUpdateMonitor.getUserCanSkipBouncer(mUpdateMonitor.getCurrentUser())));
// Ignore show calls if user can skip bouncer
return;
}
if (mIsKeyguard && !mIsBiometricRunning) {
+ Log.d("LuK1337", "returning fourth condition, values are " + String.valueOf(mIsKeyguard) + " " + String.valueOf(!mIsBiometricRunning));
// Ignore show calls if biometric state is false
return;
}
--
2.20.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment