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

Commit 3c474df0 authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Use small weather clock during bypass

Bug: 351137041
Flag: NONE simple bugfix
Test: Manually checked behavior
Change-Id: Ia6c2b8ccce2085e5f32c61adaf7bbca1d8c46326
parent 4ea531e7
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;
            }
        }