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
This commit is contained in:
Kevin Chyn
2017-05-31 17:11:03 -07:00
parent dacdcb9b42
commit bb846a6608

View File

@@ -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();