GrapheneOS/Camera

Memory leak when the app is relaunched using secure mode shortcut

empratyush opened this issue · 0 comments

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.