Fix keyboard showing after dialog dismissed
When dialog for creating user was dismissed with keyboard being displayed, the keyboard stayed on the screen and could not be released due to incorrect list of methods called on dialog dismissal. This CL topic fixes onDismiss() behaviour of this dialog. Videos of current behaviour and behaviour after fixed are attached to the bug. Bug: 291865725 Test: atest UserSettingsTest Change-Id: Ib3ade3de9228c8ba24e7ac2e235aaeec45efbe4e
This commit is contained in:
@@ -1628,7 +1628,7 @@ public class UserSettings extends SettingsPreferenceFragment
|
||||
mRemovingUserId = -1;
|
||||
updateUserList();
|
||||
if (mCreateUserDialogController.isActive()) {
|
||||
mCreateUserDialogController.clear();
|
||||
mCreateUserDialogController.finish();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user