From 215e1f189805fbc3dd30e084b715d5e219852902 Mon Sep 17 00:00:00 2001 From: Sarmad Hashmi Date: Mon, 11 Apr 2016 20:37:05 -0700 Subject: Add resources for after call spam notification. +Block icon from https://icons.googleplex.com/#icon=ic_block +Person add icon from https://icons.googleplex.com/#icon=ic_person_add +X icon from https://icons.googleplex.com/#icon=ic_close +Report icon from https://icons.googleplex.com/#icon=ic_report +Question mark icon from @ycnzhao +Added spam_notification_icon for the large icon in notifications for first time spam calls +Added unknown_notification_icon for the large icon in notifications for first time calls (from any number) +Added strings for after call notifications +This is the same as ag/919969, we decided to move the after call spam notification stuff to the AOSP dialer BUG=27323295 Change-Id: I0aaabd8d2dbefeda5214481ce6315335e64c3c28 --- .../res/drawable-hdpi/ic_block_grey600_24dp.png | Bin 0 -> 518 bytes .../res/drawable-hdpi/ic_close_grey600_24dp.png | Bin 0 -> 225 bytes .../drawable-hdpi/ic_person_add_grey600_24dp.png | Bin 0 -> 300 bytes InCallUI/res/drawable-hdpi/ic_question_mark.png | Bin 0 -> 941 bytes .../res/drawable-hdpi/ic_report_white_36dp.png | Bin 0 -> 312 bytes .../res/drawable-mdpi/ic_block_grey600_24dp.png | Bin 0 -> 348 bytes .../res/drawable-mdpi/ic_close_grey600_24dp.png | Bin 0 -> 178 bytes .../drawable-mdpi/ic_person_add_grey600_24dp.png | Bin 0 -> 211 bytes InCallUI/res/drawable-mdpi/ic_question_mark.png | Bin 0 -> 619 bytes .../res/drawable-mdpi/ic_report_white_36dp.png | Bin 0 -> 240 bytes .../res/drawable-xhdpi/ic_block_grey600_24dp.png | Bin 0 -> 690 bytes .../res/drawable-xhdpi/ic_close_grey600_24dp.png | Bin 0 -> 261 bytes .../drawable-xhdpi/ic_person_add_grey600_24dp.png | Bin 0 -> 341 bytes InCallUI/res/drawable-xhdpi/ic_question_mark.png | Bin 0 -> 1170 bytes .../res/drawable-xhdpi/ic_report_white_36dp.png | Bin 0 -> 340 bytes .../res/drawable-xxhdpi/ic_block_grey600_24dp.png | Bin 0 -> 1029 bytes .../res/drawable-xxhdpi/ic_close_grey600_24dp.png | Bin 0 -> 353 bytes .../drawable-xxhdpi/ic_person_add_grey600_24dp.png | Bin 0 -> 485 bytes InCallUI/res/drawable-xxhdpi/ic_question_mark.png | Bin 0 -> 1774 bytes .../res/drawable-xxhdpi/ic_report_white_36dp.png | Bin 0 -> 522 bytes .../res/drawable-xxxhdpi/ic_block_grey600_24dp.png | Bin 0 -> 1353 bytes .../res/drawable-xxxhdpi/ic_close_grey600_24dp.png | Bin 0 -> 444 bytes .../ic_person_add_grey600_24dp.png | Bin 0 -> 638 bytes InCallUI/res/drawable-xxxhdpi/ic_question_mark.png | Bin 0 -> 2370 bytes .../res/drawable-xxxhdpi/ic_report_white_36dp.png | Bin 0 -> 649 bytes InCallUI/res/drawable/spam_notification_icon.xml | 31 +++++++++++++++++++++ .../res/drawable/unknown_notification_icon.xml | 31 +++++++++++++++++++++ InCallUI/res/values/colors.xml | 3 ++ InCallUI/res/values/strings.xml | 13 +++++++++ 29 files changed, 78 insertions(+) create mode 100644 InCallUI/res/drawable-hdpi/ic_block_grey600_24dp.png create mode 100644 InCallUI/res/drawable-hdpi/ic_close_grey600_24dp.png create mode 100644 InCallUI/res/drawable-hdpi/ic_person_add_grey600_24dp.png create mode 100644 InCallUI/res/drawable-hdpi/ic_question_mark.png create mode 100644 InCallUI/res/drawable-hdpi/ic_report_white_36dp.png create mode 100644 InCallUI/res/drawable-mdpi/ic_block_grey600_24dp.png create mode 100644 InCallUI/res/drawable-mdpi/ic_close_grey600_24dp.png create mode 100644 InCallUI/res/drawable-mdpi/ic_person_add_grey600_24dp.png create mode 100644 InCallUI/res/drawable-mdpi/ic_question_mark.png create mode 100644 InCallUI/res/drawable-mdpi/ic_report_white_36dp.png create mode 100644 InCallUI/res/drawable-xhdpi/ic_block_grey600_24dp.png create mode 100644 InCallUI/res/drawable-xhdpi/ic_close_grey600_24dp.png create mode 100644 InCallUI/res/drawable-xhdpi/ic_person_add_grey600_24dp.png create mode 100644 InCallUI/res/drawable-xhdpi/ic_question_mark.png create mode 100644 InCallUI/res/drawable-xhdpi/ic_report_white_36dp.png create mode 100644 InCallUI/res/drawable-xxhdpi/ic_block_grey600_24dp.png create mode 100644 InCallUI/res/drawable-xxhdpi/ic_close_grey600_24dp.png create mode 100644 InCallUI/res/drawable-xxhdpi/ic_person_add_grey600_24dp.png create mode 100644 InCallUI/res/drawable-xxhdpi/ic_question_mark.png create mode 100644 InCallUI/res/drawable-xxhdpi/ic_report_white_36dp.png create mode 100644 InCallUI/res/drawable-xxxhdpi/ic_block_grey600_24dp.png create mode 100644 InCallUI/res/drawable-xxxhdpi/ic_close_grey600_24dp.png create mode 100644 InCallUI/res/drawable-xxxhdpi/ic_person_add_grey600_24dp.png create mode 100644 InCallUI/res/drawable-xxxhdpi/ic_question_mark.png create mode 100644 InCallUI/res/drawable-xxxhdpi/ic_report_white_36dp.png create mode 100644 InCallUI/res/drawable/spam_notification_icon.xml create mode 100644 InCallUI/res/drawable/unknown_notification_icon.xml diff --git a/InCallUI/res/drawable-hdpi/ic_block_grey600_24dp.png b/InCallUI/res/drawable-hdpi/ic_block_grey600_24dp.png new file mode 100644 index 000000000..1e9294c12 Binary files /dev/null and b/InCallUI/res/drawable-hdpi/ic_block_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-hdpi/ic_close_grey600_24dp.png b/InCallUI/res/drawable-hdpi/ic_close_grey600_24dp.png new file mode 100644 index 000000000..9ab350e9a Binary files /dev/null and b/InCallUI/res/drawable-hdpi/ic_close_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-hdpi/ic_person_add_grey600_24dp.png b/InCallUI/res/drawable-hdpi/ic_person_add_grey600_24dp.png new file mode 100644 index 000000000..185d03393 Binary files /dev/null and b/InCallUI/res/drawable-hdpi/ic_person_add_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-hdpi/ic_question_mark.png b/InCallUI/res/drawable-hdpi/ic_question_mark.png new file mode 100644 index 000000000..adab6c13f Binary files /dev/null and b/InCallUI/res/drawable-hdpi/ic_question_mark.png differ diff --git a/InCallUI/res/drawable-hdpi/ic_report_white_36dp.png b/InCallUI/res/drawable-hdpi/ic_report_white_36dp.png new file mode 100644 index 000000000..919a872e0 Binary files /dev/null and b/InCallUI/res/drawable-hdpi/ic_report_white_36dp.png differ diff --git a/InCallUI/res/drawable-mdpi/ic_block_grey600_24dp.png b/InCallUI/res/drawable-mdpi/ic_block_grey600_24dp.png new file mode 100644 index 000000000..edd666b73 Binary files /dev/null and b/InCallUI/res/drawable-mdpi/ic_block_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-mdpi/ic_close_grey600_24dp.png b/InCallUI/res/drawable-mdpi/ic_close_grey600_24dp.png new file mode 100644 index 000000000..73faf52eb Binary files /dev/null and b/InCallUI/res/drawable-mdpi/ic_close_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-mdpi/ic_person_add_grey600_24dp.png b/InCallUI/res/drawable-mdpi/ic_person_add_grey600_24dp.png new file mode 100644 index 000000000..ec3237086 Binary files /dev/null and b/InCallUI/res/drawable-mdpi/ic_person_add_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-mdpi/ic_question_mark.png b/InCallUI/res/drawable-mdpi/ic_question_mark.png new file mode 100644 index 000000000..cfe64f696 Binary files /dev/null and b/InCallUI/res/drawable-mdpi/ic_question_mark.png differ diff --git a/InCallUI/res/drawable-mdpi/ic_report_white_36dp.png b/InCallUI/res/drawable-mdpi/ic_report_white_36dp.png new file mode 100644 index 000000000..dc0c995c1 Binary files /dev/null and b/InCallUI/res/drawable-mdpi/ic_report_white_36dp.png differ diff --git a/InCallUI/res/drawable-xhdpi/ic_block_grey600_24dp.png b/InCallUI/res/drawable-xhdpi/ic_block_grey600_24dp.png new file mode 100644 index 000000000..36210a8cb Binary files /dev/null and b/InCallUI/res/drawable-xhdpi/ic_block_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-xhdpi/ic_close_grey600_24dp.png b/InCallUI/res/drawable-xhdpi/ic_close_grey600_24dp.png new file mode 100644 index 000000000..a3896c5c6 Binary files /dev/null and b/InCallUI/res/drawable-xhdpi/ic_close_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-xhdpi/ic_person_add_grey600_24dp.png b/InCallUI/res/drawable-xhdpi/ic_person_add_grey600_24dp.png new file mode 100644 index 000000000..e56481ed7 Binary files /dev/null and b/InCallUI/res/drawable-xhdpi/ic_person_add_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-xhdpi/ic_question_mark.png b/InCallUI/res/drawable-xhdpi/ic_question_mark.png new file mode 100644 index 000000000..8da487088 Binary files /dev/null and b/InCallUI/res/drawable-xhdpi/ic_question_mark.png differ diff --git a/InCallUI/res/drawable-xhdpi/ic_report_white_36dp.png b/InCallUI/res/drawable-xhdpi/ic_report_white_36dp.png new file mode 100644 index 000000000..aed766804 Binary files /dev/null and b/InCallUI/res/drawable-xhdpi/ic_report_white_36dp.png differ diff --git a/InCallUI/res/drawable-xxhdpi/ic_block_grey600_24dp.png b/InCallUI/res/drawable-xxhdpi/ic_block_grey600_24dp.png new file mode 100644 index 000000000..9f5120373 Binary files /dev/null and b/InCallUI/res/drawable-xxhdpi/ic_block_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-xxhdpi/ic_close_grey600_24dp.png b/InCallUI/res/drawable-xxhdpi/ic_close_grey600_24dp.png new file mode 100644 index 000000000..22d7aa55e Binary files /dev/null and b/InCallUI/res/drawable-xxhdpi/ic_close_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-xxhdpi/ic_person_add_grey600_24dp.png b/InCallUI/res/drawable-xxhdpi/ic_person_add_grey600_24dp.png new file mode 100644 index 000000000..c17dfe05f Binary files /dev/null and b/InCallUI/res/drawable-xxhdpi/ic_person_add_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-xxhdpi/ic_question_mark.png b/InCallUI/res/drawable-xxhdpi/ic_question_mark.png new file mode 100644 index 000000000..b9b6b00e7 Binary files /dev/null and b/InCallUI/res/drawable-xxhdpi/ic_question_mark.png differ diff --git a/InCallUI/res/drawable-xxhdpi/ic_report_white_36dp.png b/InCallUI/res/drawable-xxhdpi/ic_report_white_36dp.png new file mode 100644 index 000000000..f7cfacbd4 Binary files /dev/null and b/InCallUI/res/drawable-xxhdpi/ic_report_white_36dp.png differ diff --git a/InCallUI/res/drawable-xxxhdpi/ic_block_grey600_24dp.png b/InCallUI/res/drawable-xxxhdpi/ic_block_grey600_24dp.png new file mode 100644 index 000000000..01df2b52b Binary files /dev/null and b/InCallUI/res/drawable-xxxhdpi/ic_block_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-xxxhdpi/ic_close_grey600_24dp.png b/InCallUI/res/drawable-xxxhdpi/ic_close_grey600_24dp.png new file mode 100644 index 000000000..7d1c061f7 Binary files /dev/null and b/InCallUI/res/drawable-xxxhdpi/ic_close_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-xxxhdpi/ic_person_add_grey600_24dp.png b/InCallUI/res/drawable-xxxhdpi/ic_person_add_grey600_24dp.png new file mode 100644 index 000000000..e24919737 Binary files /dev/null and b/InCallUI/res/drawable-xxxhdpi/ic_person_add_grey600_24dp.png differ diff --git a/InCallUI/res/drawable-xxxhdpi/ic_question_mark.png b/InCallUI/res/drawable-xxxhdpi/ic_question_mark.png new file mode 100644 index 000000000..7ba34242c Binary files /dev/null and b/InCallUI/res/drawable-xxxhdpi/ic_question_mark.png differ diff --git a/InCallUI/res/drawable-xxxhdpi/ic_report_white_36dp.png b/InCallUI/res/drawable-xxxhdpi/ic_report_white_36dp.png new file mode 100644 index 000000000..7ef0d7afc Binary files /dev/null and b/InCallUI/res/drawable-xxxhdpi/ic_report_white_36dp.png differ diff --git a/InCallUI/res/drawable/spam_notification_icon.xml b/InCallUI/res/drawable/spam_notification_icon.xml new file mode 100644 index 000000000..c8bafe085 --- /dev/null +++ b/InCallUI/res/drawable/spam_notification_icon.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/InCallUI/res/drawable/unknown_notification_icon.xml b/InCallUI/res/drawable/unknown_notification_icon.xml new file mode 100644 index 000000000..85c50752c --- /dev/null +++ b/InCallUI/res/drawable/unknown_notification_icon.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/InCallUI/res/values/colors.xml b/InCallUI/res/values/colors.xml index 71c7f0166..238d36033 100644 --- a/InCallUI/res/values/colors.xml +++ b/InCallUI/res/values/colors.xml @@ -127,4 +127,7 @@ #ffffff + + + #919191 diff --git a/InCallUI/res/values/strings.xml b/InCallUI/res/values/strings.xml index 5c24afc0d..a15a2ff3f 100644 --- a/InCallUI/res/values/strings.xml +++ b/InCallUI/res/values/strings.xml @@ -538,4 +538,17 @@ Closed now Suspected spam caller + + + Call ended %1$s + + This is the first time this number called you. + + We suspected this call to be a spammer. + + Block/report spam + + Add contact + + Not spam -- cgit v1.2.3