summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-10-29 14:15:44 -0700
committerNancy Chen <nancychen@google.com>2014-10-29 14:15:44 -0700
commit70c9f3879a18eef57cd13720045a645ac81c3db8 (patch)
tree2b981a1e3efbca65404997345a0c4a26c9f395b1 /src
parent1db9ddd5c13d74424b864175603dcffb4c997b8e (diff)
downloadandroid_packages_apps_ContactsCommon-70c9f3879a18eef57cd13720045a645ac81c3db8.tar.gz
android_packages_apps_ContactsCommon-70c9f3879a18eef57cd13720045a645ac81c3db8.tar.bz2
android_packages_apps_ContactsCommon-70c9f3879a18eef57cd13720045a645ac81c3db8.zip
Making a subclass for InCallUI uses of MaterialColorMapUtils.
Removing a method previously used for InCallUI in favor of creating a subclass. Bug: 17971273 Change-Id: I1c6c1654a14398940a58f29f10fc17b00d62f76c
Diffstat (limited to 'src')
-rw-r--r--src/com/android/contacts/common/util/MaterialColorMapUtils.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/com/android/contacts/common/util/MaterialColorMapUtils.java b/src/com/android/contacts/common/util/MaterialColorMapUtils.java
index ad9721b7..1e44643f 100644
--- a/src/com/android/contacts/common/util/MaterialColorMapUtils.java
+++ b/src/com/android/contacts/common/util/MaterialColorMapUtils.java
@@ -23,7 +23,6 @@ import android.content.res.TypedArray;
import android.os.Trace;
public class MaterialColorMapUtils {
-
private final TypedArray sPrimaryColors;
private final TypedArray sSecondaryColors;
@@ -109,12 +108,6 @@ public class MaterialColorMapUtils {
return new MaterialPalette(primaryColor, secondaryColor);
}
- public static MaterialPalette getDefaultInCallPrimaryAndSecondaryColors(Resources resources) {
- final int primaryColor = resources.getColor(R.color.dialer_theme_color);
- final int secondaryColor = resources.getColor(R.color.dialer_theme_color_dark);
- return new MaterialPalette(primaryColor, secondaryColor);
- }
-
/**
* Returns the hue component of a color int.
*