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

Commit 51135091 authored by George Lin's avatar George Lin Committed by Automerger Merge Worker
Browse files

Merge "Conform the logic to decide wallpaper darkness" into udc-dev am: 4f7f216c

parents f010d556 4f7f216c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -119,8 +119,7 @@ class ClockViewFactory(

    private fun isLockscreenWallpaperDark(): Boolean {
        val colors = wallpaperManager.getWallpaperColors(WallpaperManager.FLAG_LOCK)
        return (colors?.colorHints?.and(WallpaperColors.HINT_SUPPORTS_DARK_TEXT)) !=
            WallpaperColors.HINT_SUPPORTS_DARK_TEXT
        return (colors?.colorHints?.and(WallpaperColors.HINT_SUPPORTS_DARK_TEXT)) == 0
    }

    fun updateTimeFormat(clockId: String) {