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

Commit 0833890d authored by Sandro Meier's avatar Sandro Meier
Browse files

Fix documentation of setInTouchMode

Touchmode can be set per display. The documentation still stated that
touch mode is a global state.

Test: None, documentation change only
Change-Id: I0b4c0860f971f9d175378ff1ae4267291766b2b5
parent 2a0097db
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -125,9 +125,12 @@ public:

    /**
     * Set the touch mode state.
     * Touch mode is a global state that apps may enter / exit based on specific
     * user interactions with input devices.
     * If true, the device is in touch mode.
     * Touch mode is a per display state that apps may enter / exit based on specific user
     * interactions with input devices. If <code>inTouchMode</code> is set to true, the display
     * identified by <code>displayId</code> will be changed to touch mode. Performs a permission
     * check if hasPermission is set to false.
     *
     * This method also enqueues a a TouchModeEntry message for dispatching.
     *
     * Returns true when changing touch mode state.
     */