summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-12-03 18:36:03 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-12-03 18:36:03 +0000
commit0c2e29310f49c0d04afebb5d8a7cb3f1851e7173 (patch)
tree5bb7934d3e5c1218b938905f67ab843652285069
parent41f6408d07d3374832df32f1e12006fd05b2527e (diff)
parent49cfb53894fee64bc3a49fa7a4b8185302ebf530 (diff)
am 30c72ddd: Merge "Dialer: Set notification category for incoming calls." into lmp-mr1-dev
* commit '30c72ddd749b5445d75901524f4bea7ef55acee4': Dialer: Set notification category for incoming calls.
-rw-r--r--InCallUI/src/com/android/incallui/StatusBarNotifier.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/StatusBarNotifier.java b/InCallUI/src/com/android/incallui/StatusBarNotifier.java
index a0eddcc57..a4cea2322 100644
--- a/InCallUI/src/com/android/incallui/StatusBarNotifier.java
+++ b/InCallUI/src/com/android/incallui/StatusBarNotifier.java
@@ -284,6 +284,8 @@ public class StatusBarNotifier implements InCallPresenter.InCallStateListener {
if ((state == Call.State.INCOMING || state == Call.State.CALL_WAITING) &&
!InCallPresenter.getInstance().isShowingInCallUi()) {
configureFullScreenIntent(builder, inCallPendingIntent, call);
+ // Set the notification category for incoming calls
+ builder.setCategory(Notification.CATEGORY_CALL);
}
// Set the content