Ensure SensorManager is destroyed on Launcher activity destruction
- Add back necessary destroy call chain Fix: 210114103 Test: labtest Change-Id: I96bf525fe3730e7bf6b4c1042c18ef96622248fd
This commit is contained in:
@@ -89,6 +89,7 @@ class ScopedUnfoldTransitionProgressProvider @JvmOverloads constructor(
|
||||
|
||||
override fun destroy() {
|
||||
source?.removeCallback(this)
|
||||
source?.destroy()
|
||||
}
|
||||
|
||||
override fun onTransitionStarted() {
|
||||
|
||||
Reference in New Issue
Block a user