Merge "Reset allAppsVisible if folding to phone upon recreateTaskbar." into 24D1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ac43b02549
@@ -443,8 +443,8 @@ public class TaskbarManager {
|
||||
LauncherAppState.getIDP(mContext).getDeviceProfile(mContext) : null;
|
||||
|
||||
// All Apps action is unrelated to navbar unification, so we only need to check DP.
|
||||
mAllAppsActionManager.setTaskbarPresent(dp != null && dp.isTaskbarPresent);
|
||||
|
||||
final boolean isLargeScreenTaskbar = dp != null && dp.isTaskbarPresent;
|
||||
mAllAppsActionManager.setTaskbarPresent(isLargeScreenTaskbar);
|
||||
destroyExistingTaskbar();
|
||||
|
||||
boolean isTaskbarEnabled = dp != null && isTaskbarEnabled(dp);
|
||||
@@ -467,6 +467,7 @@ public class TaskbarManager {
|
||||
}
|
||||
mSharedState.startTaskbarVariantIsTransient =
|
||||
DisplayController.isTransientTaskbar(mTaskbarActivityContext);
|
||||
mSharedState.allAppsVisible = mSharedState.allAppsVisible && isLargeScreenTaskbar;
|
||||
mTaskbarActivityContext.init(mSharedState);
|
||||
|
||||
if (mActivity != null) {
|
||||
|
||||
Reference in New Issue
Block a user