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

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

Merge "Always allow updating config from input during booting" into main

parents 2d60b512 6fb9caf5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -131,7 +131,9 @@ final class InputManagerCallback implements InputManagerService.WindowManagerCal
        final boolean changed = !com.android.window.flags.Flags.filterIrrelevantInputDeviceChange()
                || updateLastInputConfigurationSources();

        if (changed) {
        // Even if the input devices are not changed, there could be other pending changes
        // during booting. It's fine to apply earlier.
        if (changed || !mService.mDisplayEnabled) {
            synchronized (mService.mGlobalLock) {
                Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "inputDeviceConfigChanged");
                mService.mRoot.forAllDisplays(DisplayContent::sendNewConfiguration);