Loading core/java/android/window/flags/windowing_frontend.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -206,16 +206,6 @@ flag { bug: "377689543" } flag { name: "filter_irrelevant_input_device_change" namespace: "windowing_frontend" description: "Recompute display configuration only for necessary input device changes" bug: "368461853" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "respect_non_top_visible_fixed_orientation" namespace: "windowing_frontend" Loading services/core/java/com/android/server/wm/InputManagerCallback.java +1 −2 Original line number Diff line number Diff line Loading @@ -128,8 +128,7 @@ final class InputManagerCallback implements InputManagerService.WindowManagerCal @Override public void notifyConfigurationChanged() { Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "notifyConfigurationChanged"); final boolean changed = !com.android.window.flags.Flags.filterIrrelevantInputDeviceChange() || updateLastInputConfigurationSources(); final boolean changed = updateLastInputConfigurationSources(); // Even if the input devices are not changed, there could be other pending changes // during booting. It's fine to apply earlier. Loading services/tests/wmtests/src/com/android/server/wm/WindowManagerServiceTests.java +0 −1 Original line number Diff line number Diff line Loading @@ -1274,7 +1274,6 @@ public class WindowManagerServiceTests extends WindowTestsBase { @Test public void testInputDeviceNotifyConfigurationChanged() { mSetFlagsRule.enableFlags(Flags.FLAG_FILTER_IRRELEVANT_INPUT_DEVICE_CHANGE); spyOn(mDisplayContent); doReturn(false).when(mDisplayContent).sendNewConfiguration(); final InputDevice deviceA = mock(InputDevice.class); Loading Loading
core/java/android/window/flags/windowing_frontend.aconfig +0 −10 Original line number Diff line number Diff line Loading @@ -206,16 +206,6 @@ flag { bug: "377689543" } flag { name: "filter_irrelevant_input_device_change" namespace: "windowing_frontend" description: "Recompute display configuration only for necessary input device changes" bug: "368461853" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "respect_non_top_visible_fixed_orientation" namespace: "windowing_frontend" Loading
services/core/java/com/android/server/wm/InputManagerCallback.java +1 −2 Original line number Diff line number Diff line Loading @@ -128,8 +128,7 @@ final class InputManagerCallback implements InputManagerService.WindowManagerCal @Override public void notifyConfigurationChanged() { Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "notifyConfigurationChanged"); final boolean changed = !com.android.window.flags.Flags.filterIrrelevantInputDeviceChange() || updateLastInputConfigurationSources(); final boolean changed = updateLastInputConfigurationSources(); // Even if the input devices are not changed, there could be other pending changes // during booting. It's fine to apply earlier. Loading
services/tests/wmtests/src/com/android/server/wm/WindowManagerServiceTests.java +0 −1 Original line number Diff line number Diff line Loading @@ -1274,7 +1274,6 @@ public class WindowManagerServiceTests extends WindowTestsBase { @Test public void testInputDeviceNotifyConfigurationChanged() { mSetFlagsRule.enableFlags(Flags.FLAG_FILTER_IRRELEVANT_INPUT_DEVICE_CHANGE); spyOn(mDisplayContent); doReturn(false).when(mDisplayContent).sendNewConfiguration(); final InputDevice deviceA = mock(InputDevice.class); Loading