summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2015-08-13 15:46:26 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-13 15:46:26 +0000
commit95d29a40ba7d1b3aafb14b054b64a54e1c33fbb9 (patch)
treead419c1b04b61e99455f5eb8012733d131546e14
parent3b2d7670f417c2db44538ff485963abd2796758b (diff)
parent94b2b8a8129c6fe8e797ee060a7e4df1d692d7be (diff)
am 69929cef: am 882c5afa: am 531a41a8: am e51f0e30: Replace placeholder subject bubble asset with a drawable resource.
* commit '69929cefa9dac698b80da9979bc44f5f2da9b69e': Replace placeholder subject bubble asset with a drawable resource.
-rw-r--r--InCallUI/res/drawable-xxxhdpi/subject_bubble.9.pngbin611 -> 0 bytes
-rw-r--r--InCallUI/res/drawable/subject_bubble.xml22
-rw-r--r--InCallUI/src/com/android/incallui/Call.java2
3 files changed, 23 insertions, 1 deletions
diff --git a/InCallUI/res/drawable-xxxhdpi/subject_bubble.9.png b/InCallUI/res/drawable-xxxhdpi/subject_bubble.9.png
deleted file mode 100644
index 2627bf8f7..000000000
--- a/InCallUI/res/drawable-xxxhdpi/subject_bubble.9.png
+++ /dev/null
Binary files differ
diff --git a/InCallUI/res/drawable/subject_bubble.xml b/InCallUI/res/drawable/subject_bubble.xml
new file mode 100644
index 000000000..adab67833
--- /dev/null
+++ b/InCallUI/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/InCallUI/src/com/android/incallui/Call.java b/InCallUI/src/com/android/incallui/Call.java
index 191ffe791..f08653e65 100644
--- a/InCallUI/src/com/android/incallui/Call.java
+++ b/InCallUI/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;
}