commit | d72e95c3669f6ce0c7b658e725474bbcd12a545c | [log] [tgz] |
---|---|---|
author | Udam Saini <udam@google.com> | Fri Feb 12 13:42:18 2016 -0800 |
committer | Udam Saini <udam@google.com> | Fri Feb 12 13:42:18 2016 -0800 |
tree | a9c57eb7060be2ceac4a618ddb3fa7338a2a9d55 | |
parent | 6b00d3fe40b250956724c49302cf2dba4ef4ad05 [diff] |
Fixes autoadvance on find sensor page for fingerprint. OnStop gets called after an activity behind it on the stack is resumed when the user pressed the back button on the navigation bar. Because of this, we need to disable the cancelEnrollment call inside onBackPressed instead of onStop so that on the find sensor page, the auto next advance on pressing the fingerprint sensor will still work. bug:27151472 Change-Id: I1e440f1f7cd91c0711dd31b8bf65a567d4d39f8b