diff options
author | Qiong Liu <qiong.xb.liu@sony.com> | 2018-10-12 13:52:30 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-10-12 13:52:30 -0700 |
commit | ebd5a8c902e16920cc38b7edbcf1f92205af21d2 (patch) | |
tree | 0f590b9161c3ea66eacc0632a6c84842f5397533 | |
parent | ae808fe60a40d9436ade616ce06f36a2517c26cf (diff) | |
parent | 70e04c1413b4bdfadbe6443db0ce97b7d2df69a3 (diff) |
Merge "Fix incorrect notification text is displayed for video call in dialing" am: 1634e8180f am: 2331c8ceb9
am: 70e04c1413
Change-Id: I5b979f5b3ecd421f93ad48cce6f12f17e0c70d8b
-rw-r--r-- | java/com/android/incallui/StatusBarNotifier.java | 4 |
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; |