Skip to content

屏幕旋转 #91

Description

@puzzle9

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions