Merge "Partial revert of ag/7508382 to retain back button responsiveness in BiomtericPrompt" into qt-dev
am: 4024769fd1
Change-Id: Ib1876cced4fc9e279a77eed5888193aa9c4f08aa
This commit is contained in:
@@ -234,6 +234,10 @@ public abstract class BiometricDialogView extends LinearLayout {
|
|||||||
showTryAgainButton(false /* show */);
|
showTryAgainButton(false /* show */);
|
||||||
mCallback.onTryAgainPressed();
|
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) {
|
public void onSaveState(Bundle bundle) {
|
||||||
|
|||||||
Reference in New Issue
Block a user