From ccca31529c07970e89419fb85a9e8153a5396838 Mon Sep 17 00:00:00 2001 From: Eric Erfanian Date: Wed, 22 Feb 2017 16:32:36 -0800 Subject: Update dialer sources. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test: Built package and system image. This change clobbers the old source, and is an export from an internal Google repository. The internal repository was forked form Android in March, and this change includes modifications since then, to near the v8 release. Since the fork, we've moved code from monolithic to independent modules. In addition, we've switched to Blaze/Bazel as the build sysetm. This export, however, still uses make. New dependencies have been added: - Dagger - Auto-Value - Glide - Libshortcutbadger Going forward, development will still be in Google3, and the Gerrit release will become an automated export, with the next drop happening in ~ two weeks. Android.mk includes local modifications from ToT. Abridged changelog: Bug fixes ● Not able to mute, add a call when using Phone app in multiwindow mode ● Double tap on keypad triggering multiple key and tones ● Reported spam numbers not showing as spam in the call log ● Crash when user tries to block number while Phone app is not set as default ● Crash when user picks a number from search auto-complete list Visual Voicemail (VVM) improvements ● Share Voicemail audio via standard exporting mechanisms that support file attachment (email, MMS, etc.) ● Make phone number, email and web sites in VVM transcript clickable ● Set PIN before declining VVM Terms of Service {Carrier} ● Set client type for outbound visual voicemail SMS {Carrier} New incoming call and incall UI on older devices (Android M) ● Updated Phone app icon ● New incall UI (large buttons, button labels) ● New and animated Answer/Reject gestures Accessibility ● Add custom answer/decline call buttons on answer screen for touch exploration accessibility services ● Increase size of touch target ● Add verbal feedback when a Voicemail fails to load ● Fix pressing of Phone buttons while in a phone call using Switch Access ● Fix selecting and opening contacts in talkback mode ● Split focus for ‘Learn More’ link in caller id & spam to help distinguish similar text Other ● Backup & Restore for App Preferences ● Prompt user to enable Wi-Fi calling if the call ends due to out of service and Wi-Fi is connected ● Rename “Dialpad” to “Keypad” ● Show "Private number" for restricted calls ● Delete unused items (vcard, add contact, call history) from Phone menu Change-Id: I2a7e53532a24c21bf308bf0a6d178d7ddbca4958 --- .../android/dialer/blocking/res/values/colors.xml | 24 ++++ .../android/dialer/blocking/res/values/dimens.xml | 18 +++ .../android/dialer/blocking/res/values/strings.xml | 122 +++++++++++++++++++++ 3 files changed, 164 insertions(+) create mode 100644 java/com/android/dialer/blocking/res/values/colors.xml create mode 100644 java/com/android/dialer/blocking/res/values/dimens.xml create mode 100644 java/com/android/dialer/blocking/res/values/strings.xml (limited to 'java/com/android/dialer/blocking/res/values') diff --git a/java/com/android/dialer/blocking/res/values/colors.xml b/java/com/android/dialer/blocking/res/values/colors.xml new file mode 100644 index 000000000..d1a567d9e --- /dev/null +++ b/java/com/android/dialer/blocking/res/values/colors.xml @@ -0,0 +1,24 @@ + + + + + #de000000 + + + #A52714 + + diff --git a/java/com/android/dialer/blocking/res/values/dimens.xml b/java/com/android/dialer/blocking/res/values/dimens.xml new file mode 100644 index 000000000..cd7cfe2fd --- /dev/null +++ b/java/com/android/dialer/blocking/res/values/dimens.xml @@ -0,0 +1,18 @@ + + + 16sp + diff --git a/java/com/android/dialer/blocking/res/values/strings.xml b/java/com/android/dialer/blocking/res/values/strings.xml new file mode 100644 index 000000000..8abff4561 --- /dev/null +++ b/java/com/android/dialer/blocking/res/values/strings.xml @@ -0,0 +1,122 @@ + + + + + New, simplified blocking + + + To better protect you, Phone needs to change how blocking works. Your blocked numbers will now stop both calls and texts and may be shared with other apps. + + + Allow + + + @android:string/cancel + + + Block + %1$s? + + + + Calls from this number will be blocked and voicemails will be automatically deleted. + + + + + Calls from this number will be blocked, but the caller may still be able to leave you voicemails. + + + + + You will no longer receive calls or texts from this number. + + + + BLOCK + + + Unblock + %1$s? + + + UNBLOCK + + + %1$s + is invalid. + + + + %1$s blocked + + + + %1$s + unblocked + + + UNDO + + + Import failed + + + + Call blocking disabled for 48 hours + + + + + Disabled because an emergency call was made. + + + + Block %1$s? + + + You will no longer receive calls from this number. + + + %1$s This call will be reported as spam. + + + This number will be unblocked and reported as not spam. Future calls won\'t be identified as spam. + + + Unblock %1$s? + + + Report + + + Report a mistake? + + + Future calls from %1$s will no longer be identified as spam. + + + Report call as spam + + -- cgit v1.2.3