There is a memory leak when the app is relauched using secure mode shortcut (double press the power button) autoRotateSettingObserver is leaking because it never gets unregistered.
The fix is simple, though handling of device rotation within the app is overly complex it needs refactoring.
There is a memory leak when the app is relauched using secure mode shortcut (double press the power button)
autoRotateSettingObserver
is leaking because it never gets unregistered.The fix is simple, though handling of device rotation within the app is overly complex it needs refactoring.