AndroidLinux

Android rotation cmd

2019-12-06  本文已影响0人  JaedenKil
content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0
content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:1
content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0

0           # Protrait 
1           # Landscape
2           # Protrait Reversed
3           # Landscape Reversed

Or

settings put system user_rotation 3
上一篇 下一篇

猜你喜欢

热点阅读