I'm using the adb shell command monkey
to launch one application followed by another. It all works fine, except for one odd side effect where the orientation lock on the device is set back to auto-rotate. We usually have the tablets locked to portrait only.
Is anyone aware of any reason the monkey
command would change the orientation lock? Or if there is a way to prevent this/set it back through the adb?
adb shell monkey -p com.application1 1
adb shell monkey -p com.application2 1
Tablet Info:
- Nexus 7
- Android v6.0.1