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

Commit 40eb2196 authored by Charles Chen's avatar Charles Chen Committed by Android (Google) Code Review
Browse files

Merge "Fix AccessibilityInputFilterTest"

parents 4b41675b 47410847
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ public final class WindowManagerImpl implements WindowManager {
                    .setStableInsets(Insets.of(stableInsets))
                    .setDisplayCutout(displayCutout.get()).build();
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }
        return null;
    }
}
+5 −1
Original line number Diff line number Diff line
@@ -8021,7 +8021,11 @@ public class WindowManagerService extends IWindowManager.Stub
            int displayId, Rect outContentInsets, Rect outStableInsets,
            DisplayCutout.ParcelableWrapper displayCutout) {
        synchronized (mGlobalLock) {
            final DisplayContent dc = mRoot.getDisplayContent(displayId);
            final DisplayContent dc = mRoot.getDisplayContentOrCreate(displayId);
            if (dc == null) {
                throw new WindowManager.InvalidDisplayException("Display#" + displayId
                        + "could not be found!");
            }
            final WindowToken windowToken = dc.getWindowToken(attrs.token);
            final ActivityRecord activity;
            if (windowToken != null && windowToken.asActivityRecord() != null) {