Skip to content

Icons are indiscernable from their backdrops when Material You is enabled with a monochrome palette. #61

Description

@roke-julian-lockhart

Prerequisites

  • I am running the latest app version.

  • I checked to make sure that issue has not already been filled.

What The Problem Is

When I set my com.android.wallpaper/com.android.customization.picker.CustomizationPickerActivity to a monochrome preset: 1

Image

Image

This was regressed by issues/59#issuecomment-3476448642.

How To Reproduce

  1. #!/system/bin/sh
    cmd activity start --user 0 -a android.intent.action.VIEW -n com.android.wallpaper/com.android.customization.picker.CustomizationPickerActivity -f 0 com.android.wallpaper
  2. Select the monochrome option.

  3. #!/system/bin/sh
    cmd activity start --user 0 -a android.intent.action.VIEW -n com.truemlgpro.wifiinfo/com.truemlgpro.wifiinfo.ui.activities.MainActivity -f 0 com.truemlgpro.wifiinfo
  4. Navigate to “Tools”.

Expected Behaviour

They should be discernable:

Image

Image

My Environment

  • Hardware

    1. Details

      #!/usr/bin/env pwsh
      $Object = [Ordered]@{}
      @(
      	'ro.product.brand'
      	'ro.build.product'
      ) | ForEach-Object {
      	$Value = (adb shell "getprop $_").Trim()
      	If ($Value) {
      		$Int64 = 0L
      		$Object[$_] =
      			If ([Long]::TryParse($Value, [Ref]$Int64)) {
      				$Int64
      			} Else {
      				$Value
      			}
      	}
      }
      $Object |
      	ConvertTo-Json -Compress |
      	yq -P

    2. ro.product.brand: Fairphone
      ro.build.product: FP5
  • OS

    1. Details

      #!/usr/bin/env pwsh
      $Object = [Ordered]@{}
      @(
      	'ro.build.display.id'
      	'ro.build.fingerprint'
      	'ro.build.version.sdk'
      	'ro.build.version.sdk_full'
      ) | ForEach-Object {
      	$Value = (adb shell "getprop $_").Trim()
      	If ($Value) {
      		$Int64 = 0L
      		$Object[$_] =
      			If ([Long]::TryParse($Value, [Ref]$Int64)) {
      				$Int64
      			} Else {
      				$Value
      			}
      	}
      }
      $Object |
      	ConvertTo-Json -Compress |
      	yq -P

    2. ro.build.display.id: FP5.VT2E.C.059.20250908
      ro.build.version.sdk: 35
  • The Application

    1. Details

      #!/usr/bin/env pwsh
      $Package = 'dev.imranr.obtainium'
      $DumpSys = adb shell "dumpsys package $Package"
      $Object = [Ordered]@{}
      @{
      	versionCode = 'versionCode=(\d+)'
      	versionName = 'versionName=([^\s]+)'
      }.GetEnumerator() | ForEach-Object {
      	$Match = [RegEx]::Match(
      		$DumpSys,
      		$_.Value,
      		[System.Text.RegularExpressions.RegexOptions]::Multiline
      	)
      	If ($Match.Success) {
      		$Value = $Match.Groups[1].Value
      		$Int64 = 0L
      		$Object[$_.Key] =
      			If ([Long]::TryParse($Value, [Ref]$Int64)) {
      				$Int64
      			} Else {
      				$Value
      			}
      	}
      }
      $Object.installer = (
      	adb shell 'pm list packages -i' |
      		Select-String "^package:$([RegEx]::Escape($Package)) " |
      		ForEach-Object {
      			$_ -replace '^.*installer='
      		}
      )
      $Object |
      	ConvertTo-JSON -Compress |
      	yq -P

    2. versionCode: 20000
      versionName: 2.0
      installer: com.truemlgpro.wifiinfo

Footnotes

  1. Mahmud0808/ColorBlendr/issues/253#issue-3578325536

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions