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

Commit bb846a66 authored by Kevin Chyn's avatar Kevin Chyn
Browse files

Add onResume to FingerprintEnrollEnrolling

Fixes: 62233947

Test: revoke usb permissions, start enrolling, attach usb,
	press ok, continue enroll. enroll should be able to continue
	and complete

onPause was added in b/38102355, but onResume was not added. We should
set the listener in onResume()

Change-Id: I59e617b4789f028d01b86d38049671888c07a5ec
parent dacdcb9b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -159,6 +159,14 @@ public class FingerprintEnrollEnrolling extends FingerprintEnrollBase
        startIconAnimation();
    }

    @Override
    protected void onResume() {
        super.onResume();
        if (mSidecar != null) {
            mSidecar.setListener(this);
        }
    }

    @Override
    protected void onPause() {
        super.onPause();