diff options
author | calderwoodra <calderwoodra@google.com> | 2017-06-21 15:05:45 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-06-21 16:00:32 -0700 |
commit | 1e1c6b2632eac456545539de06438101ed4346d2 (patch) | |
tree | 875c972ab774fa73078b171044256bf9893f6665 /java/com/android/dialer/callcomposer/res/values | |
parent | ad106007b85a7a6aa3fe0349cd9fe49a85a8ec17 (diff) |
Added privacy toast for users first time using call composer.
When a user uses call composer for the first time, it isn't obvious that their
messages are being stored in the Android Messages app. So we display this toast
to them on the first time they make a enriched call to let them know for
privacy purposes.
screenshots:
http://screen/pcuu4GG037Z
http://screen/MLRJiY9V7cH
PiperOrigin-RevId: 159749893
Change-Id: I0cee7b49321f1d2302ba8ed8f6e1c19c44feb19a
Diffstat (limited to 'java/com/android/dialer/callcomposer/res/values')
-rw-r--r-- | java/com/android/dialer/callcomposer/res/values/dimens.xml | 2 | ||||
-rw-r--r-- | java/com/android/dialer/callcomposer/res/values/strings.xml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/java/com/android/dialer/callcomposer/res/values/dimens.xml b/java/com/android/dialer/callcomposer/res/values/dimens.xml index d55540077..083bd0ab5 100644 --- a/java/com/android/dialer/callcomposer/res/values/dimens.xml +++ b/java/com/android/dialer/callcomposer/res/values/dimens.xml @@ -56,4 +56,6 @@ <dimen name="permission_item_margin">8dp</dimen> <dimen name="permission_allow_padding">16dp</dimen> <dimen name="min_touch_target_size">48dp</dimen> + + <dimen name="privacy_toast_y_offset">108dp</dimen> </resources>
\ No newline at end of file diff --git a/java/com/android/dialer/callcomposer/res/values/strings.xml b/java/com/android/dialer/callcomposer/res/values/strings.xml index 0faf46947..c7dabfa0f 100644 --- a/java/com/android/dialer/callcomposer/res/values/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values/strings.xml @@ -47,4 +47,10 @@ <string name="description_call_composer_photo">Choose a photo</string> <!-- Content description of button to show ui for sending a message --> <string name="description_call_composer_message">Send a message</string> + <!-- When a user makes a call with a photo attached, we send the photo through the app "Messages". + This string is shown in a toast for privacy reasons. --> + <string name="image_sent_messages">Photo sent via Messages</string> + <!-- When a user makes a call with text attached, we send the text through the app "Messages". + This string is shown in a toast for privacy reasons. --> + <string name="message_sent_messages">Message sent via Messages</string> </resources>
\ No newline at end of file |