mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Merge "Revert "Finish the recents animation upon home rotation"" into sc-dev
This commit is contained in:
@@ -2615,16 +2615,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
@Override
|
||||
protected void onConfigurationChanged(Configuration newConfig) {
|
||||
super.onConfigurationChanged(newConfig);
|
||||
if (LIVE_TILE.get()) {
|
||||
switchToScreenshot(
|
||||
() -> finishRecentsAnimation(true /* toRecents */,
|
||||
this::onConfigurationChangedInternal));
|
||||
} else {
|
||||
onConfigurationChangedInternal();
|
||||
}
|
||||
}
|
||||
|
||||
private void onConfigurationChangedInternal() {
|
||||
final int rotation = mActivity.getDisplay().getRotation();
|
||||
if (mOrientationState.setRecentsRotation(rotation)) {
|
||||
updateOrientationHandler();
|
||||
|
||||
Reference in New Issue
Block a user