diff options
author | uabdullah <uabdullah@google.com> | 2017-12-14 15:53:13 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-14 17:30:35 -0800 |
commit | ab499948f25899cff60c3065955ad3d0dad741a1 (patch) | |
tree | 29fbeec8016befcdbf7e8bc9634458252b3f6567 /java/com/android/dialer/contactactions/res | |
parent | ad2003e0add27c9c9e287beba528cb669541b237 (diff) |
Refactor add to contacts, send a message and copy number modules for bottom sheet
These three modules are to be shared between the voicemail and call log bottom sheets. This CL refactors it such that the functions take in generic parameters instead of coalesced annotated call log row so that they can be used by the voicemail tab.
Bug: 64882313,70682949
Test: Existing tests
PiperOrigin-RevId: 179110882
Change-Id: I2e8edafbf50e51d2299bfbcb95957e40c1b366ec
Diffstat (limited to 'java/com/android/dialer/contactactions/res')
-rw-r--r-- | java/com/android/dialer/contactactions/res/values/strings.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/java/com/android/dialer/contactactions/res/values/strings.xml b/java/com/android/dialer/contactactions/res/values/strings.xml new file mode 100644 index 000000000..0e953a56d --- /dev/null +++ b/java/com/android/dialer/contactactions/res/values/strings.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2017 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> + <!-- Option shown in call log menu/voicemail to add the phone number from an entry to an existing contact + (also provides option to create a new contact from the number). [CHAR LIMIT=30] --> + <string name="add_to_contacts">Add to contacts</string> + + <!-- Options shown in call log/voicemail menu to send a SMS to the number represented by the call log/voicemailentry. + [CHAR LIMIT=30] --> + <string name="send_a_message">Send a message</string> + + <!-- Option displayed in call log/voicemail menu to copy phone number. [CHAR LIMIT=30] --> + <string name="copy_number">Copy number</string> +</resources>
\ No newline at end of file |