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

Commit 26f1c321 authored by Antonio Kantek's avatar Antonio Kantek Committed by Android (Google) Code Review
Browse files

Merge changes from topic "presubmit-am-ad0295d4cf8440d8838d2183bb1df3f3"

* changes:
  [automerge] Update setInTouchMode javadoc 2p: afb41741 2p: 72834bc8
  [automerge] Update setInTouchMode javadoc 2p: afb41741
  Update setInTouchMode javadoc
parents fe6f9170 a2e5bb3e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -381,6 +381,10 @@ public class Instrumentation {
     * Force the global system in or out of touch mode. This can be used if your
     * instrumentation relies on the UI being in one more or the other when it starts.
     *
     * <p><b>Note:</b> Starting from Android {@link Build.VERSION_CODES#TIRAMISU}, this method
     * will only take effect if the instrumentation was sourced from a process with
     * {@code MODIFY_TOUCH_MODE_STATE} internal permission granted (shell already have it).
     *
     * @param inTouch Set to true to be in touch mode, false to be in focus mode.
     */
    public void setInTouchMode(boolean inTouch) {