summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorerfanian <erfanian@google.com>2017-07-17 15:31:32 -0700
committerEric Erfanian <erfanian@google.com>2017-07-25 16:41:27 +0000
commit57697f256238b43b888d8f6d9a1b17d335082513 (patch)
treec9a4cccbeafa0b02bb4af377cbc0597cc751bbaf /java
parent3bf755e71cc0c3bf680c17de8973d7a4f05dcffc (diff)
Remove "?" icon from unknown call notification.
Bug: 34801244 Test: unit test PiperOrigin-RevId: 162280134 Change-Id: I8179e2fe44817559c3497039ec69cb2b75b61b55
Diffstat (limited to 'java')
-rw-r--r--java/com/android/incallui/res/drawable/unknown_notification_icon.xml34
-rw-r--r--java/com/android/incallui/spam/SpamCallListListener.java1
2 files changed, 0 insertions, 35 deletions
diff --git a/java/com/android/incallui/res/drawable/unknown_notification_icon.xml b/java/com/android/incallui/res/drawable/unknown_notification_icon.xml
deleted file mode 100644
index 5ab07eccd..000000000
--- a/java/com/android/incallui/res/drawable/unknown_notification_icon.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<!--
- ~ Copyright (C) 2016 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
- -->
-
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item>
- <shape android:shape="oval">
- <solid android:color="@color/unknown_number_color"/>
- <size
- android:height="@dimen/notification_large_icon_height"
- android:width="@dimen/notification_large_icon_width"/>
- </shape>
- </item>
-
- <item
- android:drawable="@drawable/ic_question_mark"
- android:gravity="center"/>
-
-</layer-list> \ No newline at end of file
diff --git a/java/com/android/incallui/spam/SpamCallListListener.java b/java/com/android/incallui/spam/SpamCallListListener.java
index b9c70ebd0..56ae55823 100644
--- a/java/com/android/incallui/spam/SpamCallListListener.java
+++ b/java/com/android/incallui/spam/SpamCallListListener.java
@@ -197,7 +197,6 @@ public class SpamCallListListener implements CallList.Listener {
private void showNonSpamCallNotification(DialerCall call) {
Notification.Builder notificationBuilder =
createAfterCallNotificationBuilder(call)
- .setLargeIcon(Icon.createWithResource(context, R.drawable.unknown_notification_icon))
.setContentText(
context.getString(R.string.spam_notification_non_spam_call_collapsed_text))
.setStyle(