summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-08-18 21:23:09 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-08-16 04:01:11 +0000
commit6666b6edb531d7ecf2a6b7745608a1363f328124 (patch)
treecf48dcc0695c2375c77522ab27d8bf52d1c05370
parentd58311e2fff9a7143438ad005e5b3651c3e507a5 (diff)
parenta676d20db28770c386d610ba492bd9c58a10e0d3 (diff)
Merge "Asset swap for InCallUI" into lmp-dev
-rw-r--r--InCallUI/res/drawable-hdpi/business_unknown.pngbin1696 -> 0 bytes
-rw-r--r--InCallUI/res/drawable-hdpi/img_business.pngbin0 -> 3311 bytes
-rw-r--r--InCallUI/res/drawable-hdpi/img_emergency.pngbin0 -> 5870 bytes
-rw-r--r--InCallUI/res/drawable-hdpi/picture_emergency.pngbin2519 -> 0 bytes
-rw-r--r--InCallUI/res/drawable-mdpi/business_unknown.pngbin1352 -> 0 bytes
-rw-r--r--InCallUI/res/drawable-mdpi/img_business.pngbin0 -> 2240 bytes
-rw-r--r--InCallUI/res/drawable-mdpi/img_emergency.pngbin0 -> 3882 bytes
-rw-r--r--InCallUI/res/drawable-mdpi/picture_emergency.pngbin5136 -> 0 bytes
-rw-r--r--InCallUI/res/drawable-xhdpi/business_unknown.pngbin2450 -> 0 bytes
-rw-r--r--InCallUI/res/drawable-xhdpi/img_business.pngbin0 -> 4759 bytes
-rw-r--r--InCallUI/res/drawable-xhdpi/img_emergency.pngbin0 -> 8943 bytes
-rw-r--r--InCallUI/res/drawable-xhdpi/picture_emergency.pngbin9521 -> 0 bytes
-rw-r--r--InCallUI/res/drawable-xxhdpi/business_unknown.pngbin3075 -> 0 bytes
-rw-r--r--InCallUI/res/drawable-xxhdpi/img_business.pngbin0 -> 6499 bytes
-rw-r--r--InCallUI/res/drawable-xxhdpi/img_emergency.pngbin0 -> 10848 bytes
-rw-r--r--InCallUI/src/com/android/incallui/CallerInfo.java2
-rw-r--r--InCallUI/src/com/android/incallui/ContactInfoCache.java2
17 files changed, 2 insertions, 2 deletions
diff --git a/InCallUI/res/drawable-hdpi/business_unknown.png b/InCallUI/res/drawable-hdpi/business_unknown.png
deleted file mode 100644
index b369939ec..000000000
--- a/InCallUI/res/drawable-hdpi/business_unknown.png
+++ /dev/null
Binary files differ
diff --git a/InCallUI/res/drawable-hdpi/img_business.png b/InCallUI/res/drawable-hdpi/img_business.png
new file mode 100644
index 000000000..f70634262
--- /dev/null
+++ b/InCallUI/res/drawable-hdpi/img_business.png
Binary files differ
diff --git a/InCallUI/res/drawable-hdpi/img_emergency.png b/InCallUI/res/drawable-hdpi/img_emergency.png
new file mode 100644
index 000000000..7e5eff48d
--- /dev/null
+++ b/InCallUI/res/drawable-hdpi/img_emergency.png
Binary files differ
diff --git a/InCallUI/res/drawable-hdpi/picture_emergency.png b/InCallUI/res/drawable-hdpi/picture_emergency.png
deleted file mode 100644
index 0e13a4385..000000000
--- a/InCallUI/res/drawable-hdpi/picture_emergency.png
+++ /dev/null
Binary files differ
diff --git a/InCallUI/res/drawable-mdpi/business_unknown.png b/InCallUI/res/drawable-mdpi/business_unknown.png
deleted file mode 100644
index eac97a9b7..000000000
--- a/InCallUI/res/drawable-mdpi/business_unknown.png
+++ /dev/null
Binary files differ
diff --git a/InCallUI/res/drawable-mdpi/img_business.png b/InCallUI/res/drawable-mdpi/img_business.png
new file mode 100644
index 000000000..90738a7ee
--- /dev/null
+++ b/InCallUI/res/drawable-mdpi/img_business.png
Binary files differ
diff --git a/InCallUI/res/drawable-mdpi/img_emergency.png b/InCallUI/res/drawable-mdpi/img_emergency.png
new file mode 100644
index 000000000..0209eb9d1
--- /dev/null
+++ b/InCallUI/res/drawable-mdpi/img_emergency.png
Binary files differ
diff --git a/InCallUI/res/drawable-mdpi/picture_emergency.png b/InCallUI/res/drawable-mdpi/picture_emergency.png
deleted file mode 100644
index a224b8000..000000000
--- a/InCallUI/res/drawable-mdpi/picture_emergency.png
+++ /dev/null
Binary files differ
diff --git a/InCallUI/res/drawable-xhdpi/business_unknown.png b/InCallUI/res/drawable-xhdpi/business_unknown.png
deleted file mode 100644
index aa84456e4..000000000
--- a/InCallUI/res/drawable-xhdpi/business_unknown.png
+++ /dev/null
Binary files differ
diff --git a/InCallUI/res/drawable-xhdpi/img_business.png b/InCallUI/res/drawable-xhdpi/img_business.png
new file mode 100644
index 000000000..7b04d956f
--- /dev/null
+++ b/InCallUI/res/drawable-xhdpi/img_business.png
Binary files differ
diff --git a/InCallUI/res/drawable-xhdpi/img_emergency.png b/InCallUI/res/drawable-xhdpi/img_emergency.png
new file mode 100644
index 000000000..5c00d9d55
--- /dev/null
+++ b/InCallUI/res/drawable-xhdpi/img_emergency.png
Binary files differ
diff --git a/InCallUI/res/drawable-xhdpi/picture_emergency.png b/InCallUI/res/drawable-xhdpi/picture_emergency.png
deleted file mode 100644
index 08b421eef..000000000
--- a/InCallUI/res/drawable-xhdpi/picture_emergency.png
+++ /dev/null
Binary files differ
diff --git a/InCallUI/res/drawable-xxhdpi/business_unknown.png b/InCallUI/res/drawable-xxhdpi/business_unknown.png
deleted file mode 100644
index 6273bb324..000000000
--- a/InCallUI/res/drawable-xxhdpi/business_unknown.png
+++ /dev/null
Binary files differ
diff --git a/InCallUI/res/drawable-xxhdpi/img_business.png b/InCallUI/res/drawable-xxhdpi/img_business.png
new file mode 100644
index 000000000..c17e4c9d8
--- /dev/null
+++ b/InCallUI/res/drawable-xxhdpi/img_business.png
Binary files differ
diff --git a/InCallUI/res/drawable-xxhdpi/img_emergency.png b/InCallUI/res/drawable-xxhdpi/img_emergency.png
new file mode 100644
index 000000000..4eaaba509
--- /dev/null
+++ b/InCallUI/res/drawable-xxhdpi/img_emergency.png
Binary files differ
diff --git a/InCallUI/src/com/android/incallui/CallerInfo.java b/InCallUI/src/com/android/incallui/CallerInfo.java
index 044bdba65..138575a14 100644
--- a/InCallUI/src/com/android/incallui/CallerInfo.java
+++ b/InCallUI/src/com/android/incallui/CallerInfo.java
@@ -333,7 +333,7 @@ public class CallerInfo {
// should be displayed.
/* package */ CallerInfo markAsEmergency(Context context) {
phoneNumber = context.getString(R.string.emergency_call_dialog_number_for_display);
- photoResource = R.drawable.picture_emergency;
+ photoResource = R.drawable.img_emergency;
mIsEmergency = true;
return this;
}
diff --git a/InCallUI/src/com/android/incallui/ContactInfoCache.java b/InCallUI/src/com/android/incallui/ContactInfoCache.java
index d81acb2d9..ccf5b794b 100644
--- a/InCallUI/src/com/android/incallui/ContactInfoCache.java
+++ b/InCallUI/src/com/android/incallui/ContactInfoCache.java
@@ -233,7 +233,7 @@ public class ContactInfoCache implements ContactsAsyncHelper.OnImageLoadComplete
// If no image and it's a business, switch to using the default business avatar.
if (info.getImageUrl() == null && info.isBusiness()) {
Log.d(TAG, "Business has no image. Using default.");
- entry.photo = mContext.getResources().getDrawable(R.drawable.business_unknown);
+ entry.photo = mContext.getResources().getDrawable(R.drawable.img_business);
}
// Add the contact info to the cache.