summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-08-13 15:32:30 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-13 15:32:30 +0000
commit882c5afa482c26c9a042a51ddb31d0d39a686c84 (patch)
tree682e9a1142263033af979e68e0146cb79cf810d6
parent0d3ed05e72a47e392f52137d030346a1546b3567 (diff)
parent531a41a88509ad8f5c03a782c8d2bfecd0574e9f (diff)
downloadpackages_apps_InCallUI-882c5afa482c26c9a042a51ddb31d0d39a686c84.tar.gz
packages_apps_InCallUI-882c5afa482c26c9a042a51ddb31d0d39a686c84.tar.bz2
packages_apps_InCallUI-882c5afa482c26c9a042a51ddb31d0d39a686c84.zip
am 531a41a8: am e51f0e30: Replace placeholder subject bubble asset with a drawable resource.
* commit '531a41a88509ad8f5c03a782c8d2bfecd0574e9f': Replace placeholder subject bubble asset with a drawable resource.
-rw-r--r--res/drawable-xxxhdpi/subject_bubble.9.pngbin611 -> 0 bytes
-rw-r--r--res/drawable/subject_bubble.xml22
-rw-r--r--src/com/android/incallui/Call.java2
3 files changed, 23 insertions, 1 deletions
diff --git a/res/drawable-xxxhdpi/subject_bubble.9.png b/res/drawable-xxxhdpi/subject_bubble.9.png
deleted file mode 100644
index 2627bf8f..00000000
--- a/res/drawable-xxxhdpi/subject_bubble.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/subject_bubble.xml b/res/drawable/subject_bubble.xml
new file mode 100644
index 00000000..adab6783
--- /dev/null
+++ b/res/drawable/subject_bubble.xml
@@ -0,0 +1,22 @@
+<!--
+ ~ Copyright (C) 2015 The Android Open Source Project
+ ~
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License
+ -->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color="#ffffff" />
+ <padding android:left="10dp" android:top="10dp" android:right="10dp" android:bottom="10dp" />
+ <corners android:topLeftRadius="6dp" android:topRightRadius="6dp"
+ android:bottomLeftRadius="0dp" android:bottomRightRadius="6dp"/>
+</shape> \ No newline at end of file
diff --git a/src/com/android/incallui/Call.java b/src/com/android/incallui/Call.java
index 191ffe79..f08653e6 100644
--- a/src/com/android/incallui/Call.java
+++ b/src/com/android/incallui/Call.java
@@ -590,7 +590,7 @@ public class Call {
public void setSessionModificationState(int state) {
if (state == Call.SessionModificationState.RECEIVED_UPGRADE_TO_VIDEO_REQUEST) {
Log.e(this,
- "setSessionModificationState not to be called for RECEIVED_UPGRADE_TO_VIDEO_REQUEST");
+ "setSessionModificationState not valid for RECEIVED_UPGRADE_TO_VIDEO_REQUEST");
return;
}