summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQiong Liu <qiong.xb.liu@sony.com>2018-10-12 13:40:44 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-10-12 13:40:44 -0700
commit2331c8ceb9acf624a9e6d8e92569ab5af41a813c (patch)
tree0f590b9161c3ea66eacc0632a6c84842f5397533
parent7c40c6d18e82c4ffc4b48592c4d33c9b7a755d9b (diff)
parent1634e8180fabca46d5c421119dd9f69a774693dc (diff)
Merge "Fix incorrect notification text is displayed for video call in dialing"
am: 1634e8180f Change-Id: I64fc4c4e6870e2fe2cb81a2bf5ec96ac74a18792
-rw-r--r--java/com/android/incallui/StatusBarNotifier.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/android/incallui/StatusBarNotifier.java b/java/com/android/incallui/StatusBarNotifier.java
index 8316d76ee..99ff7255e 100644
--- a/java/com/android/incallui/StatusBarNotifier.java
+++ b/java/com/android/incallui/StatusBarNotifier.java
@@ -709,13 +709,13 @@ public class StatusBarNotifier
}
} else if (call.getState() == DialerCallState.ONHOLD) {
resId = R.string.notification_on_hold;
+ } else if (DialerCallState.isDialing(call.getState())) {
+ resId = R.string.notification_dialing;
} else if (call.isVideoCall()) {
resId =
call.getVideoTech().isPaused()
? R.string.notification_ongoing_paused_video_call
: R.string.notification_ongoing_video_call;
- } else if (DialerCallState.isDialing(call.getState())) {
- resId = R.string.notification_dialing;
} else if (call.getVideoTech().getSessionModificationState()
== SessionModificationState.RECEIVED_UPGRADE_TO_VIDEO_REQUEST) {
resId = R.string.notification_requesting_video_call;