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, horizontal autolock in code, note 2 auto rotate off, jelly bean auto rotate fix, lock auto rotation 4 code, app for auto rotation 4.2, note 2 autorotation, 4.2 autorotation screen, 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.