Merge "[DO NOT MERGE] Ensure SensorManager is destroyed on Launcher activity destruction" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
734dde1298
@@ -111,6 +111,7 @@ public final class ScopedUnfoldTransitionProgressProvider implements
|
||||
@Override
|
||||
public void destroy() {
|
||||
mSource.removeCallback(this);
|
||||
mSource.destroy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user