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

Commit 9e808700 authored by Aaron Kling's avatar Aaron Kling Committed by Luca Stefani
Browse files

Add stub for setCursorVisibility

This is called by an Nvidia Shield exclusive game which crashes
if the function is not found.

Change-Id: I2aea38ad8d9dab046f351e18a91b2418d8a982b2
parent 80deeef8
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1102,6 +1102,16 @@ public final class InputManager {
        return new InputDeviceVibrator(deviceId);
    }

    /**
     * Set cursor visibility. By default the cursor is visible but it can be hidden
     * by calling this method. The cursor settings are not saved when an activity is
     * paused. For this reason, an app must call this method everytime it is resumed.
     * @hide
     */
    public void setCursorVisibility(boolean visible) {
        /* stub */
    }

    /**
     * Listens for changes in input devices.
     */