Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

屏幕旋转 #91

Open
puzzle9 opened this issue Sep 29, 2022 · 0 comments
Open

屏幕旋转 #91

puzzle9 opened this issue Sep 29, 2022 · 0 comments

Comments

@puzzle9
Copy link

puzzle9 commented Sep 29, 2022

https://blog.csdn.net/mo_daizi/article/details/119210267

禁用

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

横向

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

纵向

adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0
adb shell settings put system user_rotation 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant