mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Solve small bug in code (listener)
This commit is contained in:
@@ -453,16 +453,16 @@ public class PasswordActivity extends LockingActivity
|
|||||||
protected void onPause() {
|
protected void onPause() {
|
||||||
super.onPause();
|
super.onPause();
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||||
&& fingerPrintAnimatedVector != null) {
|
if (fingerPrintAnimatedVector != null) {
|
||||||
fingerPrintAnimatedVector.stopScan();
|
fingerPrintAnimatedVector.stopScan();
|
||||||
}
|
}
|
||||||
|
|
||||||
// stop listening when we go in background
|
// stop listening when we go in background
|
||||||
if (fingerPrintHelper != null) {
|
if (fingerPrintHelper != null) {
|
||||||
fingerPrintHelper.stopListening();
|
fingerPrintHelper.stopListening();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void setFingerPrintVisibility(final int vis) {
|
private void setFingerPrintVisibility(final int vis) {
|
||||||
runOnUiThread(new Runnable() {
|
runOnUiThread(new Runnable() {
|
||||||
|
|||||||
Reference in New Issue
Block a user