Auto Rotate Auto Lock
1,000 - 5,000 downloadsAdd this app to your listsTweets por @AppsZoom
Thanks to jwei (http://goo.gl/MbkS4) for the instructions on how to handle the screen on / off events.
Tags: how to tackle auto rotation issue in jelly bean, sample code to lock the autorotation lock in, skin with auto rotation, horizontal autolock in code, note 2 auto rotate off, 4.2 autorotation screen, note 2 autorotation, app for auto rotation 4.2, jelly bean auto rotate fix, auto rotate lock code.
* Enabled checkbox in settings that disables the "lock mode preservation": Previous implementation suffered from the bug that sometimes the lock state could not be read successfully before the screen turned off. This caused the rotation to be disabled even after the screen was back on. If the checkbox is not checked (which is default), the rotation will ALWAYS be re-enabled when phone is turned back on.