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

Commit 5e63b534 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use small weather clock during bypass" into main

parents 526845f0 3c474df0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1774,8 +1774,9 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump
        // the small clock here
        // With migrateClocksToBlueprint, weather clock will have behaviors similar to other clocks
        if (!MigrateClocksToBlueprint.isEnabled()) {
            boolean bypassEnabled = mKeyguardBypassController.getBypassEnabled();
            if (mKeyguardStatusViewController.isLargeClockBlockingNotificationShelf()
                    && hasVisibleNotifications() && isOnAod()) {
                    && hasVisibleNotifications() && (isOnAod() || bypassEnabled)) {
                return SMALL;
            }
        }