incallui: always strip alpha from primary color
Change-Id: I1b46ee08af5c1945f1f7acb7469a974df20e8137
diff --git a/java/com/android/incallui/InCallActivity.java b/java/com/android/incallui/InCallActivity.java
index 3ff1d26..484a550 100644
--- a/java/com/android/incallui/InCallActivity.java
+++ b/java/com/android/incallui/InCallActivity.java
@@ -887,6 +887,10 @@
? ResourcesCompat.getColor(
getResources(), R.color.statusbar_background_color, getTheme())
: InCallPresenter.getInstance().getThemeColorManager().getSecondaryColor();
+
+ // strip alpha :)
+ color = (color & 0x00FFFFFF) | 0xFF000000;
+
setTaskDescription(
new TaskDescription(
getResources().getString(R.string.notification_ongoing_call), null /* icon */, color));