目标是在没有用户交互的情况下在 Android 设备上启用 chrome 标志。
我有这样的东西:
adb shell am start -n com.android.chrome/com.google.android.apps.chrome.Main -d "chrome://flags/#enable-new-contacts-picker"
或
adb shell am broadcast -a com.android.chrome -n com.android.chrome/com.google.android.apps.chrome.Main/ --ez enable-new-contacts-picker true
然后 adb shell am 强制停止 com.android.chrome
但是在运行这个之后标志仍然没有启用。
知道为什么它不起作用吗?