commit | febccc4990117b26f8afede08e5ef0e3806f8885 | [log] [tgz] |
---|---|---|
author | Abel Tesfaye <tesfaye@google.com> | Thu Sep 01 02:35:07 2022 +0000 |
committer | Abel Tesfaye <tesfaye@google.com> | Fri Sep 09 17:12:08 2022 +0000 |
tree | 8c36d1817e35f34401dc18f93327b6ebf4f16669 | |
parent | fd39906d625a102e846211a345da6791470b8cae [diff] |
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