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

Commit 15f106a7 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Remove enabled flag filter_irrelevant_input_device_change" into main

parents 74413a44 fad70831
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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"
+1 −2
Original line number Diff line number Diff line
@@ -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.
+0 −1
Original line number Diff line number Diff line
@@ -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);