[automerge] [DO NOT MERGE] Ensure SensorManager is destroyed on Launcher activity destruction 2p: 7eee970bd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16785203 Change-Id: I3a80ed29ab42627d2f83a551fc51bbf4feb41fc6
This commit is contained in:
@@ -111,6 +111,7 @@ public final class ScopedUnfoldTransitionProgressProvider implements
|
|||||||
@Override
|
@Override
|
||||||
public void destroy() {
|
public void destroy() {
|
||||||
mSource.removeCallback(this);
|
mSource.removeCallback(this);
|
||||||
|
mSource.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user