mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Merge "Skip button layout spacing call when kids nav bar is active." into tm-qpr-dev am: 80d33f35a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19459614 Change-Id: Ibe89336449a0dd3f0167e3934847daa82ad4d18c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -676,9 +676,11 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
|
||||
updateButtonLayoutSpacing();
|
||||
}
|
||||
|
||||
/** Adds the correct spacing to 3 button nav container. No-op if using gesture nav */
|
||||
/**
|
||||
* Adds the correct spacing to 3 button nav container. No-op if using gesture nav or kids mode.
|
||||
*/
|
||||
private void updateButtonLayoutSpacing() {
|
||||
if (!mContext.isThreeButtonNav()) {
|
||||
if (!mContext.isThreeButtonNav() || mContext.isNavBarKidsModeActive()) {
|
||||
return;
|
||||
}
|
||||
DeviceProfile dp = mContext.getDeviceProfile();
|
||||
|
||||
Reference in New Issue
Block a user