Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a3c6451 authored by Alex Chau's avatar Alex Chau
Browse files

Ensure SensorManager is destroyed on Launcher activity destruction

- Add back necessary destroy call chain

Fix: 210114103
Test: labtest
Change-Id: I96bf525fe3730e7bf6b4c1042c18ef96622248fd
parent 47f83b12
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@ class ScopedUnfoldTransitionProgressProvider @JvmOverloads constructor(

    override fun destroy() {
        source?.removeCallback(this)
        source?.destroy()
    }

    override fun onTransitionStarted() {