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

Commit d8580e89 authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Android (Google) Code Review
Browse files

Merge "Always store last inset values in relayoutWindow"

parents 3f8237f3 454a4d09
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2125,6 +2125,10 @@ public class WindowManagerService extends IWindowManager.Stub

            win.setLastReportedMergedConfiguration(mergedConfiguration);

            // Update the last inset values here because the values are sent back to the client.
            // The last inset values represent the last client state.
            win.updateLastInsetValues();

            outFrame.set(win.mCompatFrame);
            outOverscanInsets.set(win.mOverscanInsets);
            outContentInsets.set(win.mContentInsets);