Merge "Fix a NPE in InputMonitor#updateInputFocusRequest" into udc-dev
This commit is contained in:
@@ -439,7 +439,9 @@ final class InputMonitor {
|
||||
? mDisplayContent.getImeInputTarget().getActivityRecord() : null;
|
||||
if (app != null) {
|
||||
mDisplayContent.removeImeSurfaceImmediately();
|
||||
mDisplayContent.mAtmService.takeTaskSnapshot(app.getTask().mTaskId);
|
||||
if (app.getTask() != null) {
|
||||
mDisplayContent.mAtmService.takeTaskSnapshot(app.getTask().mTaskId);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Disable IME icon explicitly when IME attached to the app in case
|
||||
|
||||
Reference in New Issue
Block a user