Merge "Always store last inset values in relayoutWindow"
This commit is contained in:
committed by
Android (Google) Code Review
commit
d8580e897b
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user