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

Commit 1e6d288e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Reset display input properties when removed"

parents 6d4d8bf4 781ccd4b
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -1709,6 +1709,13 @@ public class InputManagerService extends IInputManager.Stub
            mPointerIconDisplayContext = null;
            mPointerIconDisplayContext = null;
        }
        }


        synchronized (mAdditionalDisplayInputPropertiesLock) {
            setPointerIconVisible(AdditionalDisplayInputProperties.DEFAULT_POINTER_ICON_VISIBLE,
                    displayId);
            setPointerAcceleration(AdditionalDisplayInputProperties.DEFAULT_POINTER_ACCELERATION,
                    displayId);
        }

        mNative.displayRemoved(displayId);
        mNative.displayRemoved(displayId);
    }
    }