[automerge] Update setInTouchMode javadoc 2p: afb41741b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17297824 Change-Id: I01c0b60cabff49a12e0a41fa0ecbcc7a4965fb5e
This commit is contained in:
committed by
Presubmit Automerger Backend
commit
72834bc862
@@ -381,6 +381,10 @@ public class Instrumentation {
|
|||||||
* Force the global system in or out of touch mode. This can be used if your
|
* 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.
|
* 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.
|
* @param inTouch Set to true to be in touch mode, false to be in focus mode.
|
||||||
*/
|
*/
|
||||||
public void setInTouchMode(boolean inTouch) {
|
public void setInTouchMode(boolean inTouch) {
|
||||||
|
|||||||
Reference in New Issue
Block a user