From fc0eb8ccebcc7846db5e8b5c5430070055679bfa Mon Sep 17 00:00:00 2001 From: Eric Erfanian Date: Thu, 31 Aug 2017 06:57:16 -0700 Subject: Update Dialer source to latest internal Google revision. Previously, Android's Dialer app was developed in an internal Google source control system and only exported to public during AOSP drops. The Dialer team is now switching to a public development model similar to the telephony team. This CL represents all internal Google changes that were committed to Dialer between the public O release and today's tip of tree on internal master. This CL squashes those changes into a single commit. In subsequent changes, changes will be exported on a per-commit basis. (cherry picked from commit 2ca4318cc1ee57dda907ba2069bd61d162b1baef and amended to match paths of dependencies under prebuilts/maven_repo/bumptech/com/github/bumptech/glide/.) This CL was generated using these commands from a repository at stage-stage-master at revision ea7b4dc89590ffa3332766a531e0eab6ffb9aebd ("Merge "Update Dialer source to latest internal Google revision." am: c39ea3c55f -s ours"): git diff --binary 2ca4318cc1ee57dda907ba2069bd61d162b1baef | git apply -R --index git commit -c 2ca4318cc1ee57dda907ba2069bd61d162b1baef Test: make, flash install, run Change-Id: I529aaeb88535b9533c0ae4ef4e6c1222d4e0f1c8 PiperOrigin-RevId: 167068436 --- .../incallui/res/values/animation_constants.xml | 19 -- java/com/android/incallui/res/values/colors.xml | 20 -- java/com/android/incallui/res/values/dimens.xml | 26 --- java/com/android/incallui/res/values/strings.xml | 202 ++------------------- java/com/android/incallui/res/values/styles.xml | 2 - 5 files changed, 18 insertions(+), 251 deletions(-) delete mode 100644 java/com/android/incallui/res/values/animation_constants.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 deleted file mode 100644 index ac50db21c..000000000 --- a/java/com/android/incallui/res/values/animation_constants.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - 333 - diff --git a/java/com/android/incallui/res/values/colors.xml b/java/com/android/incallui/res/values/colors.xml index 0c73cdb10..4bded7855 100644 --- a/java/com/android/incallui/res/values/colors.xml +++ b/java/com/android/incallui/res/values/colors.xml @@ -16,27 +16,16 @@ --> - - @color/dialer_theme_color - #ffffff - - - #cc000000 - #4d4d4d #999999 #999999 #ffffff - #ccaaaaaa - #b2000000 @color/dialer_theme_color - #33999999 - @color/dialer_theme_color_20pct @@ -69,15 +58,6 @@ #841F10 - - @color/blocked_contact_background - - - #40000000 - - - #F4B400 - #E91141BB #E91141BB #CC229FEB diff --git a/java/com/android/incallui/res/values/dimens.xml b/java/com/android/incallui/res/values/dimens.xml index 56b9ae158..93102812c 100644 --- a/java/com/android/incallui/res/values/dimens.xml +++ b/java/com/android/incallui/res/values/dimens.xml @@ -16,20 +16,6 @@ --> - 3dp - - - 2dp - - - 8dp - - - 50sp - @@ -40,22 +26,10 @@ 50dp 36dp - - 10dp - 5dp - 10dp - 64dp - - 2dp - - - 90dp - 48dp 120dp diff --git a/java/com/android/incallui/res/values/strings.xml b/java/com/android/incallui/res/values/strings.xml index 4113313df..177f38650 100644 --- a/java/com/android/incallui/res/values/strings.xml +++ b/java/com/android/incallui/res/values/strings.xml @@ -15,20 +15,12 @@ ~ limitations under the License --> - + Phone - - InCallUI - - - Conference call - - Call dropped - @@ -37,51 +29,34 @@ the "wait" character in a phone number to be dialed; this dialog asks the user if it's OK to send the numbers following the "wait". --> 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\u2011Fi call - - Ongoing Wi\u2011Fi work call + + + Ongoing %1$s + + + Incoming %1$s + + + Wi\u2011Fi call + + + Wi\u2011Fi work call + On hold @@ -124,21 +99,10 @@ Incoming work call - - Incoming Wi\u2011Fi call - - Incoming Wi\u2011Fi work call Incoming suspected spam call Incoming video request - - No service - - Selected network (%s) unavailable Answer @@ -150,9 +114,6 @@ Video - - Voice @@ -184,62 +145,9 @@ video call to the current device. [CHAR LIMIT=30] --> Take Video Call - - To place a call, first turn off Airplane mode. - - Not registered on network. - - Mobile 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" @@ -248,21 +156,11 @@ ABSENTNUMBER - - Other call settings - go private - - select contact - - - Ringtone & Vibrate - Manage conference call + Manage conference call Emergency number @@ -271,72 +169,8 @@ phone number associated with their device. [CHAR LIMIT=16] --> 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 diff --git a/java/com/android/incallui/res/values/styles.xml b/java/com/android/incallui/res/values/styles.xml index 3c036c95f..5f1aefda1 100644 --- a/java/com/android/incallui/res/values/styles.xml +++ b/java/com/android/incallui/res/values/styles.xml @@ -16,8 +16,6 @@ --> - #FF333333 -