Skip to content

Automatically lock / unlock the rotation setting of your Android device when you plug / unplug the power cable.

License

Notifications You must be signed in to change notification settings

bnutz/dock-orientation-rotatorlator

Repository files navigation

Dock Orientation Rotatorlator

Description

Automatically lock / unlock the rotation setting of your Android device when you plug / unplug the power cable.

Can set the device to either lock or unlock the display rotation setting when the USB cable is plugged in or unplugged, or when entering / exiting wireless charging.

Handy for setting in cars and docks in landscape mode, and then can auto-set to lock to portrait when taking off the dock.

No more wake, swipe, tap, swipe again each time you take your phone off the charger.

With support for locking to inverted and landscape orientations.

Note that not all apps support landscape-mode and will revert to portrait when switching over to them (you can check this by enabling Auto-Rotate and then holding your device sideways when on the target app - if the app doesn't go sideways to match your device; then landscape-lock won't work on that app either).

(Actually this is just a really over-engineered excuse for me to play with Animated Vector Drawables...)

Play Store

Contact

About

Automatically lock / unlock the rotation setting of your Android device when you plug / unplug the power cable.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages