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

Commit a9fa6b86 authored by LuK1337's avatar LuK1337
Browse files

SystemUI: Don't hide right clock when heads up is visible

* https://gitlab.com/LineageOS/issues/android/issues/436

Change-Id: I85a6cd2dff79e6b97d8a7db552c22d611bf25dbd
parent 867a1260
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -212,8 +212,12 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue
        // because the visual icon is in notification icon area rather than heads up's space.
        // whether the notification icon show or not, clock should hide when heads up show.
        if (mStatusBarComponent.isHeadsUpShouldBeVisible()) {
            View clockView = mClockController.getClock();
            boolean isRightClock = clockView.getId() == R.id.clock_right;
            if (!isRightClock) {
                state |= DISABLE_CLOCK;
            }
        }

        if (mNetworkController != null && EncryptionHelper.IS_DATA_ENCRYPTED) {
            if (mNetworkController.hasEmergencyCryptKeeperText()) {