diff options
author | Eric Erfanian <erfanian@google.com> | 2017-08-29 21:58:45 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-08-30 07:17:04 -0700 |
commit | 24dbc840985b12a8e61e6e190e8508c72d58bcae (patch) | |
tree | 4f1d3229eca3d62b3faf5b481a60fbad5ab7e072 /java/com/android/incallui/StatusBarNotifier.java | |
parent | 4e9a7930756e2e1dbfba20355f8f716987835a3a (diff) |
Make incallui/spam a standalone build target
Previously incallui/spam was being built directly into the incallui
build target. With this CL it's now a standalone build target.
This change should make it easier to test spam notifications.
Bug: 62937258
Test: N/A
Change-Id: I5f238ed7f9a4eaaff4b2a325479d2b6de19bdf07
PiperOrigin-RevId: 165479077
Diffstat (limited to 'java/com/android/incallui/StatusBarNotifier.java')
-rw-r--r-- | java/com/android/incallui/StatusBarNotifier.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/java/com/android/incallui/StatusBarNotifier.java b/java/com/android/incallui/StatusBarNotifier.java index 5e2cc61d3..270c42b75 100644 --- a/java/com/android/incallui/StatusBarNotifier.java +++ b/java/com/android/incallui/StatusBarNotifier.java @@ -387,7 +387,8 @@ public class StatusBarNotifier builder.setChannelId(NotificationChannelId.ONGOING_CALL); } break; - default: // fall out + default: + break; } // Set the content @@ -663,7 +664,7 @@ public class StatusBarNotifier } // If ReturnToCall is enabled, use the static icon. The animated one will show in the bubble. if (ReturnToCallController.isEnabled(mContext)) { - return R.drawable.quantum_ic_call_white_24; + return R.drawable.quantum_ic_call_vd_theme_24; } else { return R.drawable.on_going_call; } @@ -864,7 +865,7 @@ public class StatusBarNotifier createNotificationPendingIntent(mContext, ACTION_HANG_UP_ONGOING_CALL); builder.addAction( new Notification.Action.Builder( - Icon.createWithResource(mContext, R.drawable.ic_call_end_white_24dp), + Icon.createWithResource(mContext, R.drawable.quantum_ic_call_end_white_24), mContext.getText(R.string.notification_action_end_call), hangupPendingIntent) .build()); @@ -1023,3 +1024,4 @@ public class StatusBarNotifier } } } + |