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

Commit e33c027f authored by Michael Bestas's avatar Michael Bestas
Browse files

KeyguardUpdateMonitor: Add missing getFaceAuthInteractor null check

Fixes commit 5e493070

Flag: EXEMPT bugfix
Test: unfold foldable device without face auth.
Change-Id: Idbfab8dbe671bfd6b992f5945d6636e99feccbc4
parent 12f2819d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1873,7 +1873,9 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
                    if (posture == DEVICE_POSTURE_OPENED) {
                        mLogger.d("Posture changed to open - attempting to request active"
                                + " unlock and run face auth");
                        if (getFaceAuthInteractor() != null) {
                            getFaceAuthInteractor().onDeviceUnfolded();
                        }
                        requestActiveUnlockFromWakeReason(PowerManager.WAKE_REASON_UNFOLD_DEVICE,
                                false);
                    }