Merge "Handle configuration changes in floating rotation button" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-11-29 19:41:26 +00:00
committed by Android (Google) Code Review
4 changed files with 23 additions and 0 deletions

View File

@@ -15,6 +15,8 @@
*/
package com.android.launcher3.taskbar;
import android.content.pm.ActivityInfo.Config;
import androidx.annotation.NonNull;
import com.android.systemui.shared.rotation.RotationButtonController;
@@ -108,6 +110,10 @@ public class TaskbarControllers {
mPostInitCallbacks.clear();
}
public void onConfigurationChanged(@Config int configChanges) {
navbarButtonsViewController.onConfigurationChanged(configChanges);
}
/**
* Cleans up all controllers.
*/