Merge "Always store last inset values in relayoutWindow"

This commit is contained in:
Chavi Weingarten
2018-02-26 22:52:50 +00:00
committed by Android (Google) Code Review

View File

@@ -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);