Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08fed6d5 authored by Ming-Shin Lu's avatar Ming-Shin Lu Committed by Automerger Merge Worker
Browse files

Merge "Fix a NPE in InputMonitor#updateInputFocusRequest" into udc-dev am:...

Merge "Fix a NPE in InputMonitor#updateInputFocusRequest" into udc-dev am: 6979ba42 am: 5de21744 am: 0b022590

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23160490



Change-Id: I731aece4c35f76619677dbc3a817ea3d0f3a76c4
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents dc05aa62 0b022590
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -439,8 +439,10 @@ final class InputMonitor {
                                ? mDisplayContent.getImeInputTarget().getActivityRecord() : null;
                        if (app != null) {
                            mDisplayContent.removeImeSurfaceImmediately();
                            if (app.getTask() != null) {
                                mDisplayContent.mAtmService.takeTaskSnapshot(app.getTask().mTaskId);
                            }
                        }
                    } else {
                        // Disable IME icon explicitly when IME attached to the app in case
                        // IME icon might flickering while swiping to the next app task still