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 --- .../incallui/res/values/animation_constants.xml | 19 ++ java/com/android/incallui/res/values/colors.xml | 92 ++++++ java/com/android/incallui/res/values/config.xml | 23 ++ java/com/android/incallui/res/values/dimens.xml | 66 ++++ java/com/android/incallui/res/values/strings.xml | 367 +++++++++++++++++++++ java/com/android/incallui/res/values/styles.xml | 80 +++++ 6 files changed, 647 insertions(+) create mode 100644 java/com/android/incallui/res/values/animation_constants.xml create mode 100644 java/com/android/incallui/res/values/colors.xml create mode 100644 java/com/android/incallui/res/values/config.xml create mode 100644 java/com/android/incallui/res/values/dimens.xml create mode 100644 java/com/android/incallui/res/values/strings.xml create mode 100644 java/com/android/incallui/res/values/styles.xml (limited to 'java/com/android/incallui/res/values') diff --git a/java/com/android/incallui/res/values/animation_constants.xml b/java/com/android/incallui/res/values/animation_constants.xml new file mode 100644 index 000000000..ac50db21c --- /dev/null +++ b/java/com/android/incallui/res/values/animation_constants.xml @@ -0,0 +1,19 @@ + + + + 333 + diff --git a/java/com/android/incallui/res/values/colors.xml b/java/com/android/incallui/res/values/colors.xml new file mode 100644 index 000000000..0c73cdb10 --- /dev/null +++ b/java/com/android/incallui/res/values/colors.xml @@ -0,0 +1,92 @@ + + + + + + @color/dialer_theme_color + #ffffff + + + #cc000000 + + #4d4d4d + #999999 + + #999999 + + #ffffff + #ccaaaaaa + #b2000000 + + + @color/dialer_theme_color + + #33999999 + + + @color/dialer_theme_color_20pct + + + + #00796B + #3367D6 + #303F9F + #7B1FA2 + #C2185B + #C53929 + #A52714 + + + + + #00695C + #2A56C6 + #283593 + #6A1B9A + #AD1457 + #B93221 + #841F10 + + + + @color/blocked_contact_background + + + #40000000 + + + #F4B400 + + #E91141BB + #E91141BB + #CC229FEB + + #E91141BB + + #E5A30B0B + #D6C01111 + #B8E55135 + + #E9C22E2E + diff --git a/java/com/android/incallui/res/values/config.xml b/java/com/android/incallui/res/values/config.xml new file mode 100644 index 000000000..0f3c983b7 --- /dev/null +++ b/java/com/android/incallui/res/values/config.xml @@ -0,0 +1,23 @@ + + + + true + + 5000 + diff --git a/java/com/android/incallui/res/values/dimens.xml b/java/com/android/incallui/res/values/dimens.xml new file mode 100644 index 000000000..18816f645 --- /dev/null +++ b/java/com/android/incallui/res/values/dimens.xml @@ -0,0 +1,66 @@ + + + + + 3dp + + + 2dp + + + 8dp + + + 50sp + + + 1dp + + 0dp + 20sp + 50dp + 36sp + + + 10dp + 5dp + 10dp + + + 64dp + + + 2dp + + + 90dp + + 48dp + + + false + + 16sp + + diff --git a/java/com/android/incallui/res/values/strings.xml b/java/com/android/incallui/res/values/strings.xml new file mode 100644 index 000000000..252d131de --- /dev/null +++ b/java/com/android/incallui/res/values/strings.xml @@ -0,0 +1,367 @@ + + + + + + + Phone + + + InCallUI + + + Conference call + + Call dropped + + + + + + + Send the following tones?\n + + Sending tones\n + + Send + + Yes + + No + + Replace wild character with + + + Conference call %s + + + (650) 555-1234 + + Incoming phone number + + Fake Incoming Call + + + Voicemail number + + + + Dialing + + Missed call from %s + + Ongoing call + + Ongoing work call + + Ongoing Wi-Fi call + + Ongoing Wi-Fi work call + + On hold + + Incoming call + + Incoming work call + + Incoming Wi-Fi call + + Incoming Wi-Fi work call + + Incoming suspected spam call + + Incoming video request + + New voicemail + + New voicemail (%d) + + Dial %s + + Voicemail number unknown + + No service + + Selected network (%s) unavailable + + Answer + + Hang up + + Video + + Voice + + Accept + + Decline + + + Ongoing call on another device + + Ongoing video call on another device + + Take Call + + Take Video Call + + To place a call, first turn off Airplane mode. + + Not registered on network. + + Cellular network not available. + + To place a call, enter a valid number. + + Can\'t call. + + Starting MMI sequence\u2026 + + Service not supported. + + Can\'t switch calls. + + Can\'t separate call. + + Can\'t transfer. + + Can\'t conference. + + Can\'t reject call. + + Can\'t release call(s). + + + Emergency call + + Turning on radio\u2026 + + No service. Trying again\u2026 + + + + Can\'t call. %s is not an emergency number. + + Can\'t call. Dial an emergency number. + + + Use keyboard to dial + + + Player Started + + Player Stopped + + Camera not ready + + Camera ready + + "Unkown call session event" + + + + ABSENT NUMBER + ABSENTNUMBER + + + + Service + + + Setup + + + <Not set> + + + Other call settings + + + go private + + select contact + + + Vibrate + + Vibrate + + + Sound + + + never + + + + always + silent + never + + + + Ringtone & Vibrate + + + Manage conference call + + + Emergency number + + + via %s + + + Recent messages + + + Business info + + + + + %.1f mi away + + %.1f km away + + %1$s, %2$s + + %1$s - %2$s + + %1$s, %2$s + + Opens tomorrow at %s + + Opens today at %s + + Closes at %s + + Closed today at %s + + Open now + + Closed now + + + Know %1$s? + + Is %1$s spam? + + %1$s blocked and call was reported as spam. + + Call from %1$s reported as not spam. + + Tap to add to contacts or block spam number. + + This is the first time this number called you. If this call was spam, you can block this number and report it. + + Tap to report as NOT SPAM, or block it. + + We suspected this to be a spammer. If this call wasn\'t spam, tap "NOT SPAM" to report our mistake. + + Block & report + + Add contact + + Not spam + + Block number + + Add to contacts + + Block & report spam + + Not spam + + No SIM or SIM error + + End call + + + Conference call + + + In call + + + Continuing call using cellular data… + + + Couldn\'t switch to Wi-Fi network + Video call will remain on cellular network. Standard + data charges may apply. + + Do not show this again + + diff --git a/java/com/android/incallui/res/values/styles.xml b/java/com/android/incallui/res/values/styles.xml new file mode 100644 index 000000000..96e3d4d59 --- /dev/null +++ b/java/com/android/incallui/res/values/styles.xml @@ -0,0 +1,80 @@ + + + + + #FF333333 + + + + + + + + + + + + + -- cgit v1.2.3