incallui: use accent color for dialpad text

Change-Id: I22dd992fe580fc648b3d1ec7e8d905cee6658fa8
(cherry picked from commit 7c02612166eab43811d880dfe4eb27c5c012522e)
diff --git a/java/com/android/incallui/DialpadFragment.java b/java/com/android/incallui/DialpadFragment.java
index 2ae2aca..3c7ebde 100644
--- a/java/com/android/incallui/DialpadFragment.java
+++ b/java/com/android/incallui/DialpadFragment.java
@@ -17,6 +17,7 @@
 package com.android.incallui;
 
 import android.content.Context;
+import android.content.res.TypedArray;
 import android.os.Bundle;
 import android.telephony.PhoneNumberUtils;
 import android.util.ArrayMap;
@@ -170,7 +171,10 @@
   }
 
   public void updateColors() {
-    int textColor = InCallPresenter.getInstance().getThemeColorManager().getPrimaryColor();
+    TypedArray a = getActivity().getTheme().obtainStyledAttributes(
+            new int[] { android.R.attr.colorAccent });
+    int textColor = a.getColor(0, currentTextColor);
+    a.recycle();
 
     if (currentTextColor == textColor) {
       return;