Files
app_Settings/src/com/android/settings/display/SmartAutoRotateCameraStateController.java
Abel Tesfaye febccc4990 Cleanup listener reference in SmartAutoRotate
This will fix a memory leak caused by dangling SensorPrivacy listeners.

Test: opened/closed display and auto-rotate fragment and verified no
leaks in android studio profiler
Bug: 244382423

Change-Id: Ie2d070e796fa473e8f2794c9934c62edc4f7092c
2022-09-09 17:12:08 +00:00

3.6 KiB