Loading services/core/java/com/android/server/wm/WindowState.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -670,7 +670,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP void updateRequestedInsetsState(InsetsState state) { void updateRequestedInsetsState(InsetsState state) { // Only update the sources the client is actually controlling. // Only update the sources the client is actually controlling. for (int i = state.getSourcesCount(); i >= 0; i--) { for (int i = state.getSourcesCount() - 1; i >= 0; i--) { final InsetsSource source = state.sourceAt(i); final InsetsSource source = state.sourceAt(i); mRequestedInsetsState.addSource(source); mRequestedInsetsState.addSource(source); } } Loading Loading
services/core/java/com/android/server/wm/WindowState.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -670,7 +670,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP void updateRequestedInsetsState(InsetsState state) { void updateRequestedInsetsState(InsetsState state) { // Only update the sources the client is actually controlling. // Only update the sources the client is actually controlling. for (int i = state.getSourcesCount(); i >= 0; i--) { for (int i = state.getSourcesCount() - 1; i >= 0; i--) { final InsetsSource source = state.sourceAt(i); final InsetsSource source = state.sourceAt(i); mRequestedInsetsState.addSource(source); mRequestedInsetsState.addSource(source); } } Loading