如何启用" Show Touches"来自adb shell的开发者选项?

时间:2018-03-01 19:02:42

标签: adb touches screen-recording adb-shell

我需要显示屏幕记录的触摸以显示错误但不想导航到设置中,因为担心我会失去我的位置并且错误将会消失。

任何人都知道是否可以从adb shell启用此功能,如果可以,我输入的内容是什么?

1 个答案:

答案 0 :(得分:9)

这将启用show touches:

adb shell content insert --uri content://settings/system --bind name:s:show_touches --bind value:i:1

这会禁用它:

adb shell content insert --uri content://settings/system --bind name:s:show_touches --bind value:i:0