Reset state after split launch animation finishes
Previously we were clearing SplitSelectStateController state too soon for fake landscape case where as soon as the tasks launch the device does a rotation animation since the new split tasks are in landscape. Move restting state after animation finishes. Fixes: 201980666 Change-Id: I23efd59fad444c47ae6c2048888a8570f22610fd
This commit is contained in:
@@ -163,10 +163,8 @@ public class SplitSelectStateController {
|
||||
if (mSuccessCallback != null) {
|
||||
mSuccessCallback.accept(true);
|
||||
}
|
||||
resetState();
|
||||
}));
|
||||
|
||||
// After successful launch, call resetState
|
||||
resetState();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -175,9 +173,8 @@ public class SplitSelectStateController {
|
||||
if (mSuccessCallback != null) {
|
||||
mSuccessCallback.accept(false);
|
||||
}
|
||||
resetState();
|
||||
});
|
||||
|
||||
resetState();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user