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

Commit 1f361c25 authored by Udam Saini's avatar Udam Saini Committed by Android (Google) Code Review
Browse files

Merge "Wait for fingerprints to be removed (Partial fix)." into nyc-dev

parents 1308bd8b 5a1dbf81
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -648,9 +648,14 @@ public class ChooseLockGeneric extends SettingsActivity {
                                mFingerprintManager.setActiveUser(UserHandle.myUserId());
                            }
                        });
            }
            } else {
                // The removal callback will call finish, once all fingerprints are removed.
                // We need to wait for that to occur, otherwise, the UI will still show that
                // fingerprints exist even though they are (about to) be removed depending on
                // the race condition.
                finish();
            }
        }

        @Override
        public void onDestroy() {