diff options
author | wangqi <wangqi@google.com> | 2018-06-04 15:04:23 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-04 16:09:02 -0700 |
commit | 74903c918c79e4a24f0ed61bac26ee4e2896eda5 (patch) | |
tree | d431c4eb06be8da1a34c22c856e195fcb9ae940a | |
parent | 25bb49e1806c3fef254f11bc17e76ca2bf6e5374 (diff) |
Add keep.xml to keep string resources for spam.
Without this rule, these string resources not directly referenced by code will be stripped out by Proguard.
Bug: 80512860
Test: manual
PiperOrigin-RevId: 199201142
Change-Id: I91ea90273051b6bb6fa57d116bfb037fc86c1a94
-rw-r--r-- | java/com/android/incallui/spam/res/raw/keep.xml | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/java/com/android/incallui/spam/res/raw/keep.xml b/java/com/android/incallui/spam/res/raw/keep.xml new file mode 100644 index 000000000..0361e5131 --- /dev/null +++ b/java/com/android/incallui/spam/res/raw/keep.xml @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2018 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 + --> +<resources xmlns:tools="http://schemas.android.com/tools" + tools:keep=" + @string/spam_notification_title, + @string/spam_notification_title_230151, + @string/spam_notification_title_230152, + @string/spam_notification_title_230153, + @string/spam_notification_title_230154, + @string/spam_notification_title_230155, + @string/spam_notification_block_report_toast_text, + @string/spam_notification_block_report_toast_text_230151, + @string/spam_notification_block_report_toast_text_230152, + @string/spam_notification_block_report_toast_text_230153, + @string/spam_notification_block_report_toast_text_230154, + @string/spam_notification_block_report_toast_text_230155, + @string/spam_notification_not_spam_toast_text, + @string/spam_notification_not_spam_toast_text_230151, + @string/spam_notification_not_spam_toast_text_230152, + @string/spam_notification_not_spam_toast_text_230153, + @string/spam_notification_not_spam_toast_text_230154, + @string/spam_notification_not_spam_toast_text_230155, + @string/spam_notification_non_spam_call_collapsed_text, + @string/spam_notification_non_spam_call_collapsed_text_230151, + @string/spam_notification_non_spam_call_collapsed_text_230152, + @string/spam_notification_non_spam_call_collapsed_text_230153, + @string/spam_notification_non_spam_call_collapsed_text_230154, + @string/spam_notification_non_spam_call_collapsed_text_230155, + @string/spam_notification_non_spam_call_expanded_text, + @string/spam_notification_non_spam_call_expanded_text_230151, + @string/spam_notification_non_spam_call_expanded_text_230152, + @string/spam_notification_non_spam_call_expanded_text_230153, + @string/spam_notification_non_spam_call_expanded_text_230154, + @string/spam_notification_non_spam_call_expanded_text_230155, + @string/spam_notification_spam_call_collapsed_text, + @string/spam_notification_spam_call_collapsed_text_230151, + @string/spam_notification_spam_call_collapsed_text_230152, + @string/spam_notification_spam_call_collapsed_text_230153, + @string/spam_notification_spam_call_collapsed_text_230154, + @string/spam_notification_spam_call_collapsed_text_230155, + @string/spam_notification_dialog_block_report_spam_action_text, + @string/spam_notification_dialog_block_report_spam_action_text_230151, + @string/spam_notification_dialog_block_report_spam_action_text_230152, + @string/spam_notification_dialog_block_report_spam_action_text_230153, + @string/spam_notification_dialog_block_report_spam_action_text_230154, + @string/spam_notification_dialog_block_report_spam_action_text_230155, + @string/spam_notification_was_not_spam_action_text, + @string/spam_notification_was_not_spam_action_text_230151, + @string/spam_notification_was_not_spam_action_text_230152, + @string/spam_notification_was_not_spam_action_text_230153, + @string/spam_notification_was_not_spam_action_text_230154, + @string/spam_notification_was_not_spam_action_text_230155"/>
\ No newline at end of file |