Loading packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/MobileIconBinderKairos.kt +4 −3 Original line number Diff line number Diff line Loading @@ -238,15 +238,16 @@ object MobileIconBinderKairos { Pair(background != null, colors) } .observe { (hasBackground, colors) -> // Tint will invert when this bit changes val tint = ColorStateList.valueOf(colors.tint) val contrast = ColorStateList.valueOf(colors.contrast) iconView.imageTintList = tint // Tint will invert when this bit changes if (hasBackground) { networkTypeContainer.backgroundTintList = tint networkTypeView.imageTintList = ColorStateList.valueOf(colors.contrast) networkTypeView.imageTintList = contrast } else { networkTypeView.imageTintList = tint } roamingView.imageTintList = tint activityIn.imageTintList = tint activityOut.imageTintList = tint Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/MobileIconBinderKairos.kt +4 −3 Original line number Diff line number Diff line Loading @@ -238,15 +238,16 @@ object MobileIconBinderKairos { Pair(background != null, colors) } .observe { (hasBackground, colors) -> // Tint will invert when this bit changes val tint = ColorStateList.valueOf(colors.tint) val contrast = ColorStateList.valueOf(colors.contrast) iconView.imageTintList = tint // Tint will invert when this bit changes if (hasBackground) { networkTypeContainer.backgroundTintList = tint networkTypeView.imageTintList = ColorStateList.valueOf(colors.contrast) networkTypeView.imageTintList = contrast } else { networkTypeView.imageTintList = tint } roamingView.imageTintList = tint activityIn.imageTintList = tint activityOut.imageTintList = tint Loading