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

Commit b1d2edf7 authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz Committed by Android (Google) Code Review
Browse files

Merge "[Minimal HUN] Do not query SystemProperties on USER builds" into main

parents aa6636ff 361a85ab
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.systemui.statusbar.notification.row
import android.app.Flags
import android.os.SystemProperties
import com.android.systemui.statusbar.data.repository.StatusBarModeRepositoryStore
import com.android.systemui.util.Compile
import javax.inject.Inject

/**
@@ -43,5 +44,6 @@ constructor(private val statusBarModeRepositoryStore: StatusBarModeRepositorySto

    /** developer setting to always show Minimal HUN, even if the device is not in full screen */
    private fun alwaysShow() =
        Compile.IS_DEBUG &&
            SystemProperties.getBoolean("persist.compact_heads_up_notification.always_show", false)
}