From ff9fe0b02324dab3ac2c602aaade1b67ea60d867 Mon Sep 17 00:00:00 2001 From: wangqi Date: Tue, 29 May 2018 16:41:56 -0700 Subject: Fix color of checked button on incall screen. Bug: 80232219 Test: manual PiperOrigin-RevId: 198478103 Change-Id: Ic36bf831eef81754f5697e32c4e8813d7e41adf1 --- java/com/android/dialer/theme/base/impl/AospThemeImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/com/android/dialer/theme/base/impl/AospThemeImpl.java b/java/com/android/dialer/theme/base/impl/AospThemeImpl.java index b8c7e528f..c8f20c731 100644 --- a/java/com/android/dialer/theme/base/impl/AospThemeImpl.java +++ b/java/com/android/dialer/theme/base/impl/AospThemeImpl.java @@ -139,8 +139,8 @@ public class AospThemeImpl implements Theme { @Override public int getColorPrimaryDark() { - Assert.checkArgument(colorPrimary != -1); - return 0; + Assert.checkArgument(colorPrimaryDark != -1); + return colorPrimaryDark; } @Override -- cgit v1.2.3