Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1103195e authored by Alex Chau's avatar Alex Chau Committed by Android (Google) Code Review
Browse files

Merge "Destroy taskbar if it's not present in DeviceProfile" into tm-qpr-dev

parents 74471716 2d9692f6
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -156,12 +156,16 @@ public class TaskbarManager {
                } else {
                    // Config change might be handled without re-creating the taskbar
                    if (mTaskbarActivityContext != null) {
                        if (dp != null && !isTaskbarPresent(dp)) {
                            destroyExistingTaskbar();
                        } else {
                            if (dp != null && isTaskbarPresent(dp)) {
                                mTaskbarActivityContext.updateDeviceProfile(dp, mNavMode);
                            }
                            mTaskbarActivityContext.onConfigurationChanged(configDiff);
                        }
                    }
                }
                mOldConfig = newConfig;
            }