Merge "Partial revert of ag/7508382 to retain back button responsiveness in BiomtericPrompt" into qt-dev

This commit is contained in:
Kevin Chyn
2019-06-05 22:05:08 +00:00
committed by Android (Google) Code Review

View File

@@ -228,6 +228,10 @@ public abstract class BiometricDialogView extends LinearLayout {
showTryAgainButton(false /* show */);
mCallback.onTryAgainPressed();
});
// Must set these in order for the back button events to be received.
mLayout.setFocusableInTouchMode(true);
mLayout.requestFocus();
}
public void onSaveState(Bundle bundle) {