From 842a9777de13bebb1c82f9d57222c52f9ddec558 Mon Sep 17 00:00:00 2001 From: Eric Erfanian Date: Thu, 22 Jun 2017 09:39:08 -0700 Subject: Update AOSP Dialer source from internal google3 repository at cl/159771812. Test: make, treehugger This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from cl/159428781 (6/19/2017) to cl/159771812 (6/22/2017). These changes track the dialer V11 release. This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Merged-In: I39aba7e972bac6e5864e70ed693849d90ecd7e08 Change-Id: Ia87877f7ae67c5b56078477b8b08082de1355315 --- .../contacts/common/res/values-uz/strings.xml | 4 +- java/com/android/dialer/app/DialtactsActivity.java | 19 ++ .../dialer/app/calllog/CallLogActivity.java | 35 +++- .../android/dialer/app/calllog/CallLogAdapter.java | 11 ++ .../dialer/app/calllog/CallLogAsyncTaskUtil.java | 3 +- .../dialer/app/calllog/CallLogFragment.java | 7 + .../app/calllog/CallLogListItemViewHolder.java | 11 +- .../dialer/app/calllog/ClearCallLogDialog.java | 12 +- .../android/dialer/app/res/values-af/strings.xml | 3 + .../android/dialer/app/res/values-am/strings.xml | 3 + .../android/dialer/app/res/values-ar/strings.xml | 3 + .../android/dialer/app/res/values-az/strings.xml | 3 + .../dialer/app/res/values-b+sr+Latn/strings.xml | 3 + .../android/dialer/app/res/values-be/strings.xml | 3 + .../android/dialer/app/res/values-bg/strings.xml | 3 + .../android/dialer/app/res/values-bn/strings.xml | 3 + .../android/dialer/app/res/values-bs/strings.xml | 3 + .../android/dialer/app/res/values-ca/strings.xml | 5 +- .../android/dialer/app/res/values-cs/strings.xml | 3 + .../android/dialer/app/res/values-da/strings.xml | 3 + .../android/dialer/app/res/values-de/strings.xml | 3 + .../android/dialer/app/res/values-el/strings.xml | 3 + .../dialer/app/res/values-en-rAU/strings.xml | 3 + .../dialer/app/res/values-en-rGB/strings.xml | 3 + .../dialer/app/res/values-en-rIN/strings.xml | 3 + .../dialer/app/res/values-es-rUS/strings.xml | 3 + .../android/dialer/app/res/values-es/strings.xml | 5 +- .../android/dialer/app/res/values-et/strings.xml | 3 + .../android/dialer/app/res/values-eu/strings.xml | 3 + .../android/dialer/app/res/values-fa/strings.xml | 3 + .../android/dialer/app/res/values-fi/strings.xml | 3 + .../dialer/app/res/values-fr-rCA/strings.xml | 3 + .../android/dialer/app/res/values-fr/strings.xml | 3 + .../android/dialer/app/res/values-gl/strings.xml | 3 + .../android/dialer/app/res/values-gu/strings.xml | 3 + .../android/dialer/app/res/values-hi/strings.xml | 3 + .../android/dialer/app/res/values-hr/strings.xml | 3 + .../android/dialer/app/res/values-hu/strings.xml | 3 + .../android/dialer/app/res/values-hy/strings.xml | 3 + .../android/dialer/app/res/values-in/strings.xml | 3 + .../android/dialer/app/res/values-is/strings.xml | 3 + .../android/dialer/app/res/values-it/strings.xml | 3 + .../android/dialer/app/res/values-iw/strings.xml | 3 + .../android/dialer/app/res/values-ja/strings.xml | 3 + .../android/dialer/app/res/values-ka/strings.xml | 3 + .../android/dialer/app/res/values-kk/strings.xml | 3 + .../android/dialer/app/res/values-km/strings.xml | 3 + .../android/dialer/app/res/values-kn/strings.xml | 3 + .../android/dialer/app/res/values-ko/strings.xml | 3 + .../android/dialer/app/res/values-ky/strings.xml | 3 + .../android/dialer/app/res/values-lo/strings.xml | 3 + .../android/dialer/app/res/values-lt/strings.xml | 3 + .../android/dialer/app/res/values-lv/strings.xml | 3 + .../android/dialer/app/res/values-mk/strings.xml | 3 + .../android/dialer/app/res/values-ml/strings.xml | 3 + .../android/dialer/app/res/values-mn/strings.xml | 3 + .../android/dialer/app/res/values-mr/strings.xml | 3 + .../android/dialer/app/res/values-ms/strings.xml | 3 + .../android/dialer/app/res/values-my/strings.xml | 3 + .../android/dialer/app/res/values-nb/strings.xml | 3 + .../android/dialer/app/res/values-ne/strings.xml | 3 + .../android/dialer/app/res/values-nl/strings.xml | 3 + .../android/dialer/app/res/values-no/strings.xml | 3 + .../android/dialer/app/res/values-pa/strings.xml | 3 + .../android/dialer/app/res/values-pl/strings.xml | 3 + .../dialer/app/res/values-pt-rBR/strings.xml | 3 + .../dialer/app/res/values-pt-rPT/strings.xml | 3 + .../android/dialer/app/res/values-pt/strings.xml | 3 + .../android/dialer/app/res/values-ro/strings.xml | 3 + .../android/dialer/app/res/values-ru/strings.xml | 3 + .../android/dialer/app/res/values-si/strings.xml | 3 + .../android/dialer/app/res/values-sk/strings.xml | 3 + .../android/dialer/app/res/values-sl/strings.xml | 3 + .../android/dialer/app/res/values-sq/strings.xml | 3 + .../android/dialer/app/res/values-sr/strings.xml | 3 + .../android/dialer/app/res/values-sv/strings.xml | 3 + .../android/dialer/app/res/values-sw/strings.xml | 3 + .../android/dialer/app/res/values-ta/strings.xml | 3 + .../android/dialer/app/res/values-te/strings.xml | 3 + .../android/dialer/app/res/values-th/strings.xml | 3 + .../android/dialer/app/res/values-tl/strings.xml | 3 + .../android/dialer/app/res/values-tr/strings.xml | 3 + .../android/dialer/app/res/values-uk/strings.xml | 3 + .../android/dialer/app/res/values-ur/strings.xml | 3 + .../android/dialer/app/res/values-uz/strings.xml | 9 +- .../android/dialer/app/res/values-vi/strings.xml | 3 + .../dialer/app/res/values-zh-rCN/strings.xml | 3 + .../dialer/app/res/values-zh-rHK/strings.xml | 3 + .../dialer/app/res/values-zh-rTW/strings.xml | 3 + .../android/dialer/app/res/values-zu/strings.xml | 3 + java/com/android/dialer/app/res/values/strings.xml | 10 + .../LegacyVoicemailNotificationReceiver.java | 7 +- .../app/voicemail/error/res/values-es/strings.xml | 2 +- .../app/voicemail/error/res/values-eu/strings.xml | 4 +- .../app/voicemail/error/res/values-hi/strings.xml | 2 +- .../app/voicemail/error/res/values-km/strings.xml | 6 +- .../app/voicemail/error/res/values-te/strings.xml | 2 +- .../dialer/backup/proto/voicemail_info.proto | 1 + .../dialer/callcomposer/CallComposerActivity.java | 23 ++- .../callcomposer/CopyAndResizeImageWorker.java | 29 ++- .../callcomposer/camera/ImagePersistTask.java | 9 +- .../dialer/callcomposer/res/values-af/strings.xml | 4 + .../dialer/callcomposer/res/values-am/strings.xml | 4 + .../dialer/callcomposer/res/values-ar/strings.xml | 4 + .../dialer/callcomposer/res/values-az/strings.xml | 4 + .../callcomposer/res/values-b+sr+Latn/strings.xml | 4 + .../dialer/callcomposer/res/values-be/strings.xml | 4 + .../dialer/callcomposer/res/values-bg/strings.xml | 4 + .../dialer/callcomposer/res/values-bn/strings.xml | 4 + .../dialer/callcomposer/res/values-bs/strings.xml | 4 + .../dialer/callcomposer/res/values-ca/strings.xml | 4 + .../dialer/callcomposer/res/values-cs/strings.xml | 4 + .../dialer/callcomposer/res/values-da/strings.xml | 4 + .../dialer/callcomposer/res/values-de/strings.xml | 4 + .../dialer/callcomposer/res/values-el/strings.xml | 4 + .../callcomposer/res/values-en-rAU/strings.xml | 4 + .../callcomposer/res/values-en-rGB/strings.xml | 4 + .../callcomposer/res/values-en-rIN/strings.xml | 4 + .../callcomposer/res/values-es-rUS/strings.xml | 4 + .../dialer/callcomposer/res/values-es/strings.xml | 4 + .../dialer/callcomposer/res/values-et/strings.xml | 4 + .../dialer/callcomposer/res/values-eu/strings.xml | 4 + .../dialer/callcomposer/res/values-fa/strings.xml | 4 + .../dialer/callcomposer/res/values-fi/strings.xml | 4 + .../callcomposer/res/values-fr-rCA/strings.xml | 4 + .../dialer/callcomposer/res/values-fr/strings.xml | 4 + .../dialer/callcomposer/res/values-gl/strings.xml | 4 + .../dialer/callcomposer/res/values-gu/strings.xml | 4 + .../dialer/callcomposer/res/values-hi/strings.xml | 4 + .../dialer/callcomposer/res/values-hr/strings.xml | 4 + .../dialer/callcomposer/res/values-hu/strings.xml | 4 + .../dialer/callcomposer/res/values-hy/strings.xml | 4 + .../dialer/callcomposer/res/values-in/strings.xml | 4 + .../dialer/callcomposer/res/values-is/strings.xml | 4 + .../dialer/callcomposer/res/values-it/strings.xml | 4 + .../dialer/callcomposer/res/values-iw/strings.xml | 4 + .../dialer/callcomposer/res/values-ja/strings.xml | 4 + .../dialer/callcomposer/res/values-ka/strings.xml | 4 + .../dialer/callcomposer/res/values-kk/strings.xml | 4 + .../dialer/callcomposer/res/values-km/strings.xml | 4 + .../dialer/callcomposer/res/values-kn/strings.xml | 4 + .../dialer/callcomposer/res/values-ko/strings.xml | 4 + .../dialer/callcomposer/res/values-ky/strings.xml | 4 + .../dialer/callcomposer/res/values-lo/strings.xml | 4 + .../dialer/callcomposer/res/values-lt/strings.xml | 4 + .../dialer/callcomposer/res/values-lv/strings.xml | 4 + .../dialer/callcomposer/res/values-mk/strings.xml | 4 + .../dialer/callcomposer/res/values-ml/strings.xml | 4 + .../dialer/callcomposer/res/values-mn/strings.xml | 4 + .../dialer/callcomposer/res/values-mr/strings.xml | 4 + .../dialer/callcomposer/res/values-ms/strings.xml | 4 + .../dialer/callcomposer/res/values-my/strings.xml | 4 + .../dialer/callcomposer/res/values-nb/strings.xml | 4 + .../dialer/callcomposer/res/values-ne/strings.xml | 4 + .../dialer/callcomposer/res/values-nl/strings.xml | 4 + .../dialer/callcomposer/res/values-no/strings.xml | 4 + .../dialer/callcomposer/res/values-pa/strings.xml | 4 + .../dialer/callcomposer/res/values-pl/strings.xml | 4 + .../callcomposer/res/values-pt-rBR/strings.xml | 4 + .../callcomposer/res/values-pt-rPT/strings.xml | 4 + .../dialer/callcomposer/res/values-pt/strings.xml | 4 + .../dialer/callcomposer/res/values-ro/strings.xml | 4 + .../dialer/callcomposer/res/values-ru/strings.xml | 4 + .../dialer/callcomposer/res/values-si/strings.xml | 4 + .../dialer/callcomposer/res/values-sk/strings.xml | 4 + .../dialer/callcomposer/res/values-sl/strings.xml | 4 + .../dialer/callcomposer/res/values-sq/strings.xml | 4 + .../dialer/callcomposer/res/values-sr/strings.xml | 4 + .../dialer/callcomposer/res/values-sv/strings.xml | 4 + .../dialer/callcomposer/res/values-sw/strings.xml | 4 + .../dialer/callcomposer/res/values-ta/strings.xml | 4 + .../dialer/callcomposer/res/values-te/strings.xml | 4 + .../dialer/callcomposer/res/values-th/strings.xml | 4 + .../dialer/callcomposer/res/values-tl/strings.xml | 4 + .../dialer/callcomposer/res/values-tr/strings.xml | 4 + .../dialer/callcomposer/res/values-uk/strings.xml | 4 + .../dialer/callcomposer/res/values-ur/strings.xml | 4 + .../dialer/callcomposer/res/values-uz/strings.xml | 4 + .../dialer/callcomposer/res/values-vi/strings.xml | 4 + .../callcomposer/res/values-zh-rCN/strings.xml | 4 + .../callcomposer/res/values-zh-rHK/strings.xml | 4 + .../callcomposer/res/values-zh-rTW/strings.xml | 4 + .../dialer/callcomposer/res/values-zu/strings.xml | 4 + .../dialer/callcomposer/res/values/dimens.xml | 2 + .../dialer/callcomposer/res/values/strings.xml | 6 + .../dialer/callcomposer/util/BitmapResizer.java | 35 ++-- .../dialer/calldetails/CallDetailsActivity.java | 20 +- .../dialer/calldetails/ReportDialogFragment.java | 4 + .../calldetails/proto/call_details_entries.proto | 1 + .../dialer/callintent/CallIntentBuilder.java | 1 + .../dialer/callintent/call_initiation_type.proto | 1 + .../dialer/callintent/call_specific_app_data.proto | 5 +- .../callintent/speed_dial_contact_type.proto | 2 +- .../calllog/testing/FakeCallLogApplication.java | 53 ------ .../dialer/calllogutils/res/values-am/strings.xml | 4 +- .../dialer/calllogutils/res/values-ar/strings.xml | 4 +- .../dialer/calllogutils/res/values-lv/strings.xml | 2 +- .../dialer/calllogutils/res/values-ml/strings.xml | 2 +- .../dialer/calllogutils/res/values-ur/strings.xml | 4 +- .../dialer/dialercontact/dialer_contact.proto | 1 + .../res/layout/dialpad_view_unthemed.xml | 201 +++++++++++---------- .../dialer/enrichedcall/EnrichedCallManager.java | 13 ++ .../historyquery/proto/history_result.proto | 1 + .../enrichedcall/simulator/AndroidManifest.xml | 26 +++ .../simulator/EnrichedCallSimulatorActivity.java | 110 +++++++++++ .../enrichedcall/simulator/SessionViewHolder.java | 37 ++++ .../enrichedcall/simulator/SessionsAdapter.java | 51 ++++++ .../layout/enriched_call_simulator_activity.xml | 38 ++++ .../simulator/res/layout/session_view_holder.xml | 23 +++ .../simulator/res/values-af/strings.xml | 20 ++ .../simulator/res/values-am/strings.xml | 20 ++ .../simulator/res/values-ar/strings.xml | 20 ++ .../simulator/res/values-az/strings.xml | 20 ++ .../simulator/res/values-b+sr+Latn/strings.xml | 20 ++ .../simulator/res/values-be/strings.xml | 20 ++ .../simulator/res/values-bg/strings.xml | 20 ++ .../simulator/res/values-bn/strings.xml | 20 ++ .../simulator/res/values-bs/strings.xml | 20 ++ .../simulator/res/values-ca/strings.xml | 20 ++ .../simulator/res/values-cs/strings.xml | 20 ++ .../simulator/res/values-da/strings.xml | 20 ++ .../simulator/res/values-de/strings.xml | 20 ++ .../simulator/res/values-el/strings.xml | 20 ++ .../simulator/res/values-en-rAU/strings.xml | 20 ++ .../simulator/res/values-en-rGB/strings.xml | 20 ++ .../simulator/res/values-en-rIN/strings.xml | 20 ++ .../simulator/res/values-es-rUS/strings.xml | 20 ++ .../simulator/res/values-es/strings.xml | 20 ++ .../simulator/res/values-et/strings.xml | 20 ++ .../simulator/res/values-eu/strings.xml | 20 ++ .../simulator/res/values-fa/strings.xml | 20 ++ .../simulator/res/values-fi/strings.xml | 20 ++ .../simulator/res/values-fr-rCA/strings.xml | 20 ++ .../simulator/res/values-fr/strings.xml | 20 ++ .../simulator/res/values-gl/strings.xml | 20 ++ .../simulator/res/values-gu/strings.xml | 20 ++ .../simulator/res/values-hi/strings.xml | 20 ++ .../simulator/res/values-hr/strings.xml | 20 ++ .../simulator/res/values-hu/strings.xml | 20 ++ .../simulator/res/values-hy/strings.xml | 20 ++ .../simulator/res/values-in/strings.xml | 20 ++ .../simulator/res/values-is/strings.xml | 20 ++ .../simulator/res/values-it/strings.xml | 20 ++ .../simulator/res/values-iw/strings.xml | 20 ++ .../simulator/res/values-ja/strings.xml | 20 ++ .../simulator/res/values-ka/strings.xml | 20 ++ .../simulator/res/values-kk/strings.xml | 20 ++ .../simulator/res/values-km/strings.xml | 20 ++ .../simulator/res/values-kn/strings.xml | 20 ++ .../simulator/res/values-ko/strings.xml | 20 ++ .../simulator/res/values-ky/strings.xml | 20 ++ .../simulator/res/values-lo/strings.xml | 20 ++ .../simulator/res/values-lt/strings.xml | 20 ++ .../simulator/res/values-lv/strings.xml | 20 ++ .../simulator/res/values-mk/strings.xml | 20 ++ .../simulator/res/values-ml/strings.xml | 20 ++ .../simulator/res/values-mn/strings.xml | 20 ++ .../simulator/res/values-mr/strings.xml | 20 ++ .../simulator/res/values-ms/strings.xml | 20 ++ .../simulator/res/values-my/strings.xml | 20 ++ .../simulator/res/values-nb/strings.xml | 20 ++ .../simulator/res/values-ne/strings.xml | 20 ++ .../simulator/res/values-nl/strings.xml | 20 ++ .../simulator/res/values-no/strings.xml | 20 ++ .../simulator/res/values-pa/strings.xml | 20 ++ .../simulator/res/values-pl/strings.xml | 20 ++ .../simulator/res/values-pt-rBR/strings.xml | 20 ++ .../simulator/res/values-pt-rPT/strings.xml | 20 ++ .../simulator/res/values-pt/strings.xml | 20 ++ .../simulator/res/values-ro/strings.xml | 20 ++ .../simulator/res/values-ru/strings.xml | 20 ++ .../simulator/res/values-si/strings.xml | 20 ++ .../simulator/res/values-sk/strings.xml | 20 ++ .../simulator/res/values-sl/strings.xml | 20 ++ .../simulator/res/values-sq/strings.xml | 20 ++ .../simulator/res/values-sr/strings.xml | 20 ++ .../simulator/res/values-sv/strings.xml | 20 ++ .../simulator/res/values-sw/strings.xml | 20 ++ .../simulator/res/values-ta/strings.xml | 20 ++ .../simulator/res/values-te/strings.xml | 20 ++ .../simulator/res/values-th/strings.xml | 20 ++ .../simulator/res/values-tl/strings.xml | 20 ++ .../simulator/res/values-tr/strings.xml | 20 ++ .../simulator/res/values-uk/strings.xml | 20 ++ .../simulator/res/values-ur/strings.xml | 20 ++ .../simulator/res/values-uz/strings.xml | 20 ++ .../simulator/res/values-vi/strings.xml | 20 ++ .../simulator/res/values-zh-rCN/strings.xml | 20 ++ .../simulator/res/values-zh-rHK/strings.xml | 20 ++ .../simulator/res/values-zh-rTW/strings.xml | 20 ++ .../simulator/res/values-zu/strings.xml | 20 ++ .../enrichedcall/simulator/res/values/strings.xml | 24 +++ .../enrichedcall/stub/EnrichedCallManagerStub.java | 15 ++ .../dialer/interactions/res/values-uz/strings.xml | 2 +- .../android/dialer/lightbringer/Lightbringer.java | 2 +- .../dialer/lightbringer/stub/LightbringerStub.java | 4 +- .../android/dialer/logging/dialer_impression.proto | 6 +- .../dialer/main/impl/res/values-am/strings.xml | 12 +- .../dialer/main/impl/res/values-az/strings.xml | 12 +- .../dialer/main/impl/res/values-be/strings.xml | 12 +- .../dialer/main/impl/res/values-ca/strings.xml | 12 +- .../dialer/main/impl/res/values-cs/strings.xml | 12 +- .../dialer/main/impl/res/values-da/strings.xml | 12 +- .../dialer/main/impl/res/values-el/strings.xml | 12 +- .../dialer/main/impl/res/values-es-rUS/strings.xml | 12 +- .../dialer/main/impl/res/values-et/strings.xml | 12 +- .../dialer/main/impl/res/values-eu/strings.xml | 12 +- .../dialer/main/impl/res/values-fa/strings.xml | 12 +- .../dialer/main/impl/res/values-fi/strings.xml | 12 +- .../dialer/main/impl/res/values-fr/strings.xml | 2 +- .../dialer/main/impl/res/values-hr/strings.xml | 12 +- .../dialer/main/impl/res/values-hu/strings.xml | 12 +- .../dialer/main/impl/res/values-in/strings.xml | 12 +- .../dialer/main/impl/res/values-is/strings.xml | 12 +- .../dialer/main/impl/res/values-it/strings.xml | 12 +- .../dialer/main/impl/res/values-ja/strings.xml | 12 +- .../dialer/main/impl/res/values-ka/strings.xml | 12 +- .../dialer/main/impl/res/values-kk/strings.xml | 12 +- .../dialer/main/impl/res/values-km/strings.xml | 12 +- .../dialer/main/impl/res/values-kn/strings.xml | 12 +- .../dialer/main/impl/res/values-ky/strings.xml | 12 +- .../dialer/main/impl/res/values-lv/strings.xml | 12 +- .../dialer/main/impl/res/values-mk/strings.xml | 12 +- .../dialer/main/impl/res/values-ml/strings.xml | 12 +- .../dialer/main/impl/res/values-nb/strings.xml | 12 +- .../dialer/main/impl/res/values-nl/strings.xml | 12 +- .../dialer/main/impl/res/values-no/strings.xml | 12 +- .../dialer/main/impl/res/values-pt-rBR/strings.xml | 12 +- .../dialer/main/impl/res/values-pt-rPT/strings.xml | 12 +- .../dialer/main/impl/res/values-pt/strings.xml | 12 +- .../dialer/main/impl/res/values-ro/strings.xml | 12 +- .../dialer/main/impl/res/values-ru/strings.xml | 12 +- .../dialer/main/impl/res/values-si/strings.xml | 12 +- .../dialer/main/impl/res/values-sk/strings.xml | 12 +- .../dialer/main/impl/res/values-sl/strings.xml | 12 +- .../dialer/main/impl/res/values-sq/strings.xml | 12 +- .../dialer/main/impl/res/values-sw/strings.xml | 12 +- .../dialer/main/impl/res/values-tl/strings.xml | 12 +- .../dialer/main/impl/res/values-tr/strings.xml | 12 +- .../dialer/main/impl/res/values-uz/strings.xml | 14 +- .../dialer/main/impl/res/values-vi/strings.xml | 12 +- .../dialer/main/impl/res/values-zh-rTW/strings.xml | 12 +- .../dialer/main/impl/res/values-zu/strings.xml | 12 +- .../performancereport/PerformanceReport.java | 11 +- .../phonenumberproto/dialer_phone_number.proto | 3 +- .../nearbyplaces/res/values-am/strings.xml | 3 +- .../nearbyplaces/res/values-az/strings.xml | 3 +- .../nearbyplaces/res/values-be/strings.xml | 3 +- .../nearbyplaces/res/values-ca/strings.xml | 3 +- .../nearbyplaces/res/values-cs/strings.xml | 3 +- .../nearbyplaces/res/values-da/strings.xml | 3 +- .../nearbyplaces/res/values-el/strings.xml | 3 +- .../nearbyplaces/res/values-es-rUS/strings.xml | 3 +- .../nearbyplaces/res/values-et/strings.xml | 3 +- .../nearbyplaces/res/values-eu/strings.xml | 3 +- .../nearbyplaces/res/values-fa/strings.xml | 3 +- .../nearbyplaces/res/values-fi/strings.xml | 3 +- .../nearbyplaces/res/values-hr/strings.xml | 3 +- .../nearbyplaces/res/values-hu/strings.xml | 3 +- .../nearbyplaces/res/values-in/strings.xml | 3 +- .../nearbyplaces/res/values-is/strings.xml | 3 +- .../nearbyplaces/res/values-it/strings.xml | 3 +- .../nearbyplaces/res/values-ja/strings.xml | 3 +- .../nearbyplaces/res/values-ka/strings.xml | 3 +- .../nearbyplaces/res/values-kk/strings.xml | 3 +- .../nearbyplaces/res/values-km/strings.xml | 3 +- .../nearbyplaces/res/values-kn/strings.xml | 3 +- .../nearbyplaces/res/values-ky/strings.xml | 3 +- .../nearbyplaces/res/values-lv/strings.xml | 3 +- .../nearbyplaces/res/values-mk/strings.xml | 3 +- .../nearbyplaces/res/values-ml/strings.xml | 3 +- .../nearbyplaces/res/values-nb/strings.xml | 3 +- .../nearbyplaces/res/values-nl/strings.xml | 3 +- .../nearbyplaces/res/values-no/strings.xml | 3 +- .../nearbyplaces/res/values-pt-rBR/strings.xml | 3 +- .../nearbyplaces/res/values-pt-rPT/strings.xml | 3 +- .../nearbyplaces/res/values-pt/strings.xml | 3 +- .../nearbyplaces/res/values-ro/strings.xml | 3 +- .../nearbyplaces/res/values-ru/strings.xml | 3 +- .../nearbyplaces/res/values-si/strings.xml | 3 +- .../nearbyplaces/res/values-sk/strings.xml | 3 +- .../nearbyplaces/res/values-sl/strings.xml | 3 +- .../nearbyplaces/res/values-sq/strings.xml | 3 +- .../nearbyplaces/res/values-sw/strings.xml | 3 +- .../nearbyplaces/res/values-tl/strings.xml | 3 +- .../nearbyplaces/res/values-tr/strings.xml | 3 +- .../nearbyplaces/res/values-uz/strings.xml | 3 +- .../nearbyplaces/res/values-vi/strings.xml | 3 +- .../nearbyplaces/res/values-zh-rTW/strings.xml | 3 +- .../nearbyplaces/res/values-zu/strings.xml | 3 +- .../simulator/impl/SimulatorActionProvider.java | 8 + .../dialer/widget/res/values-am/strings.xml | 3 +- .../dialer/widget/res/values-az/strings.xml | 3 +- .../dialer/widget/res/values-be/strings.xml | 3 +- .../dialer/widget/res/values-ca/strings.xml | 3 +- .../dialer/widget/res/values-cs/strings.xml | 3 +- .../dialer/widget/res/values-da/strings.xml | 3 +- .../dialer/widget/res/values-el/strings.xml | 3 +- .../dialer/widget/res/values-es-rUS/strings.xml | 3 +- .../dialer/widget/res/values-et/strings.xml | 3 +- .../dialer/widget/res/values-eu/strings.xml | 3 +- .../dialer/widget/res/values-fa/strings.xml | 3 +- .../dialer/widget/res/values-fi/strings.xml | 3 +- .../dialer/widget/res/values-hr/strings.xml | 3 +- .../dialer/widget/res/values-hu/strings.xml | 3 +- .../dialer/widget/res/values-in/strings.xml | 3 +- .../dialer/widget/res/values-is/strings.xml | 3 +- .../dialer/widget/res/values-it/strings.xml | 3 +- .../dialer/widget/res/values-ja/strings.xml | 3 +- .../dialer/widget/res/values-ka/strings.xml | 3 +- .../dialer/widget/res/values-kk/strings.xml | 3 +- .../dialer/widget/res/values-km/strings.xml | 3 +- .../dialer/widget/res/values-kn/strings.xml | 3 +- .../dialer/widget/res/values-ky/strings.xml | 3 +- .../dialer/widget/res/values-lv/strings.xml | 3 +- .../dialer/widget/res/values-mk/strings.xml | 3 +- .../dialer/widget/res/values-ml/strings.xml | 3 +- .../dialer/widget/res/values-nb/strings.xml | 3 +- .../dialer/widget/res/values-nl/strings.xml | 3 +- .../dialer/widget/res/values-no/strings.xml | 3 +- .../dialer/widget/res/values-pt-rBR/strings.xml | 3 +- .../dialer/widget/res/values-pt-rPT/strings.xml | 3 +- .../dialer/widget/res/values-pt/strings.xml | 3 +- .../dialer/widget/res/values-ro/strings.xml | 3 +- .../dialer/widget/res/values-ru/strings.xml | 3 +- .../dialer/widget/res/values-si/strings.xml | 3 +- .../dialer/widget/res/values-sk/strings.xml | 3 +- .../dialer/widget/res/values-sl/strings.xml | 3 +- .../dialer/widget/res/values-sq/strings.xml | 3 +- .../dialer/widget/res/values-sw/strings.xml | 3 +- .../dialer/widget/res/values-tl/strings.xml | 3 +- .../dialer/widget/res/values-tr/strings.xml | 3 +- .../dialer/widget/res/values-uz/strings.xml | 3 +- .../dialer/widget/res/values-vi/strings.xml | 3 +- .../dialer/widget/res/values-zh-rTW/strings.xml | 3 +- .../dialer/widget/res/values-zu/strings.xml | 3 +- java/com/android/dialershared/bubble/Bubble.java | 110 +++++++---- .../android/dialershared/bubble/MoveHandler.java | 36 ++-- .../android/dialershared/bubble/WindowRoot.java | 27 ++- .../android/incallui/ReturnToCallController.java | 4 +- .../android/incallui/contactgrid/BottomRow.java | 2 +- .../incall/impl/res/values-es-rUS/strings.xml | 2 +- .../incall/impl/res/values-pt-rPT/strings.xml | 2 +- .../com/android/incallui/res/values-eu/strings.xml | 2 +- .../com/android/incallui/res/values-hi/strings.xml | 4 +- .../com/android/incallui/res/values-km/strings.xml | 8 +- .../res/values-mcc262-mnc01-af/strings.xml | 24 +++ .../res/values-mcc262-mnc01-am/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ar/strings.xml | 24 +++ .../res/values-mcc262-mnc01-az/strings.xml | 24 +++ .../res/values-mcc262-mnc01-b+sr+Latn/strings.xml | 24 +++ .../res/values-mcc262-mnc01-be/strings.xml | 24 +++ .../res/values-mcc262-mnc01-bg/strings.xml | 24 +++ .../res/values-mcc262-mnc01-bn/strings.xml | 24 +++ .../res/values-mcc262-mnc01-bs/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ca/strings.xml | 24 +++ .../res/values-mcc262-mnc01-cs/strings.xml | 24 +++ .../res/values-mcc262-mnc01-da/strings.xml | 24 +++ .../res/values-mcc262-mnc01-de/strings.xml | 24 +++ .../res/values-mcc262-mnc01-el/strings.xml | 24 +++ .../res/values-mcc262-mnc01-en-rAU/strings.xml | 24 +++ .../res/values-mcc262-mnc01-en-rGB/strings.xml | 24 +++ .../res/values-mcc262-mnc01-en-rIN/strings.xml | 24 +++ .../res/values-mcc262-mnc01-es-rUS/strings.xml | 24 +++ .../res/values-mcc262-mnc01-es/strings.xml | 24 +++ .../res/values-mcc262-mnc01-et/strings.xml | 24 +++ .../res/values-mcc262-mnc01-eu/strings.xml | 24 +++ .../res/values-mcc262-mnc01-fa/strings.xml | 24 +++ .../res/values-mcc262-mnc01-fi/strings.xml | 24 +++ .../res/values-mcc262-mnc01-fr-rCA/strings.xml | 24 +++ .../res/values-mcc262-mnc01-fr/strings.xml | 24 +++ .../res/values-mcc262-mnc01-gl/strings.xml | 24 +++ .../res/values-mcc262-mnc01-gu/strings.xml | 24 +++ .../res/values-mcc262-mnc01-hi/strings.xml | 24 +++ .../res/values-mcc262-mnc01-hr/strings.xml | 24 +++ .../res/values-mcc262-mnc01-hu/strings.xml | 24 +++ .../res/values-mcc262-mnc01-hy/strings.xml | 24 +++ .../res/values-mcc262-mnc01-in/strings.xml | 24 +++ .../res/values-mcc262-mnc01-is/strings.xml | 24 +++ .../res/values-mcc262-mnc01-it/strings.xml | 24 +++ .../res/values-mcc262-mnc01-iw/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ja/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ka/strings.xml | 24 +++ .../res/values-mcc262-mnc01-kk/strings.xml | 24 +++ .../res/values-mcc262-mnc01-km/strings.xml | 24 +++ .../res/values-mcc262-mnc01-kn/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ko/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ky/strings.xml | 24 +++ .../res/values-mcc262-mnc01-lo/strings.xml | 24 +++ .../res/values-mcc262-mnc01-lt/strings.xml | 24 +++ .../res/values-mcc262-mnc01-lv/strings.xml | 24 +++ .../res/values-mcc262-mnc01-mk/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ml/strings.xml | 24 +++ .../res/values-mcc262-mnc01-mn/strings.xml | 24 +++ .../res/values-mcc262-mnc01-mr/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ms/strings.xml | 24 +++ .../res/values-mcc262-mnc01-my/strings.xml | 24 +++ .../res/values-mcc262-mnc01-nb/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ne/strings.xml | 24 +++ .../res/values-mcc262-mnc01-nl/strings.xml | 24 +++ .../res/values-mcc262-mnc01-no/strings.xml | 24 +++ .../res/values-mcc262-mnc01-pa/strings.xml | 24 +++ .../res/values-mcc262-mnc01-pl/strings.xml | 24 +++ .../res/values-mcc262-mnc01-pt-rBR/strings.xml | 24 +++ .../res/values-mcc262-mnc01-pt-rPT/strings.xml | 24 +++ .../res/values-mcc262-mnc01-pt/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ro/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ru/strings.xml | 24 +++ .../res/values-mcc262-mnc01-si/strings.xml | 24 +++ .../res/values-mcc262-mnc01-sk/strings.xml | 24 +++ .../res/values-mcc262-mnc01-sl/strings.xml | 24 +++ .../res/values-mcc262-mnc01-sq/strings.xml | 24 +++ .../res/values-mcc262-mnc01-sr/strings.xml | 24 +++ .../res/values-mcc262-mnc01-sv/strings.xml | 24 +++ .../res/values-mcc262-mnc01-sw/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ta/strings.xml | 24 +++ .../res/values-mcc262-mnc01-te/strings.xml | 24 +++ .../res/values-mcc262-mnc01-th/strings.xml | 24 +++ .../res/values-mcc262-mnc01-tl/strings.xml | 24 +++ .../res/values-mcc262-mnc01-tr/strings.xml | 24 +++ .../res/values-mcc262-mnc01-uk/strings.xml | 24 +++ .../res/values-mcc262-mnc01-ur/strings.xml | 24 +++ .../res/values-mcc262-mnc01-uz/strings.xml | 24 +++ .../res/values-mcc262-mnc01-vi/strings.xml | 24 +++ .../res/values-mcc262-mnc01-zh-rCN/strings.xml | 24 +++ .../res/values-mcc262-mnc01-zh-rHK/strings.xml | 24 +++ .../res/values-mcc262-mnc01-zh-rTW/strings.xml | 24 +++ .../res/values-mcc262-mnc01-zu/strings.xml | 24 +++ .../incallui/res/values-mcc262-mnc01/strings.xml | 32 ++++ .../com/android/incallui/res/values-uz/strings.xml | 4 +- .../incallui/video/impl/VideoCallFragment.java | 76 ++++---- .../videotech/ims/ImsVideoCallCallback.java | 9 + .../incallui/videotech/ims/ImsVideoTech.java | 22 ++- .../voicemail/impl/sms/OmtpMessageReceiver.java | 4 + .../voicemail/impl/sync/VvmAccountManager.java | 61 ++++++- 535 files changed, 5456 insertions(+), 874 deletions(-) delete mode 100644 java/com/android/dialer/calllog/testing/FakeCallLogApplication.java create mode 100644 java/com/android/dialer/enrichedcall/simulator/AndroidManifest.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/EnrichedCallSimulatorActivity.java create mode 100644 java/com/android/dialer/enrichedcall/simulator/SessionViewHolder.java create mode 100644 java/com/android/dialer/enrichedcall/simulator/SessionsAdapter.java create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/layout/enriched_call_simulator_activity.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/layout/session_view_holder.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-af/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-am/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ar/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-az/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-b+sr+Latn/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-be/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-bg/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-bn/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-bs/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ca/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-cs/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-da/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-de/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-el/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-en-rAU/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-en-rGB/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-en-rIN/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-es-rUS/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-es/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-et/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-eu/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-fa/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-fi/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-fr-rCA/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-fr/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-gl/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-gu/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-hi/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-hr/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-hu/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-hy/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-in/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-is/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-it/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-iw/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ja/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ka/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-kk/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-km/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-kn/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ko/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ky/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-lo/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-lt/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-lv/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-mk/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ml/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-mn/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-mr/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ms/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-my/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-nb/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ne/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-nl/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-no/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-pa/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-pl/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-pt-rBR/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-pt-rPT/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-pt/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ro/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ru/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-si/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-sk/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-sl/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-sq/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-sr/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-sv/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-sw/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ta/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-te/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-th/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-tl/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-tr/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-uk/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-ur/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-uz/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-vi/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-zh-rCN/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-zh-rHK/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-zh-rTW/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values-zu/strings.xml create mode 100644 java/com/android/dialer/enrichedcall/simulator/res/values/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-af/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-am/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ar/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-az/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-b+sr+Latn/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-be/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-bg/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-bn/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-bs/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ca/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-cs/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-da/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-de/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-el/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-en-rAU/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-en-rGB/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-en-rIN/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-es-rUS/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-es/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-et/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-eu/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-fa/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-fi/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-fr-rCA/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-fr/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-gl/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-gu/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-hi/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-hr/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-hu/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-hy/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-in/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-is/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-it/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-iw/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ja/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ka/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-kk/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-km/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-kn/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ko/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ky/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-lo/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-lt/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-lv/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-mk/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ml/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-mn/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-mr/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ms/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-my/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-nb/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ne/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-nl/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-no/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-pa/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-pl/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-pt-rBR/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-pt-rPT/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-pt/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ro/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ru/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-si/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-sk/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-sl/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-sq/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-sr/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-sv/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-sw/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ta/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-te/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-th/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-tl/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-tr/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-uk/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-ur/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-uz/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-vi/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-zh-rCN/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-zh-rHK/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-zh-rTW/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01-zu/strings.xml create mode 100644 java/com/android/incallui/res/values-mcc262-mnc01/strings.xml (limited to 'java') diff --git a/java/com/android/contacts/common/res/values-uz/strings.xml b/java/com/android/contacts/common/res/values-uz/strings.xml index 489846fcb..a0fc05f29 100644 --- a/java/com/android/contacts/common/res/values-uz/strings.xml +++ b/java/com/android/contacts/common/res/values-uz/strings.xml @@ -26,7 +26,7 @@ "Ish faks raqamiga qo‘ng‘iroq qilish" "Uy faks raqamiga qo‘ng‘iroq qilish" "Peyjerga qo‘ng‘iroq qilish" - "Qo‘ng‘iroq qilish" + "Chaqiruv" "Qayta qo‘ng‘iroq raqamiga qo‘ng‘iroq qilish" "Mashina telefon raqamiga qo‘ng‘iroq qilish" "Kompaniya asosiy raqamiga qo‘ng‘iroq qilish" @@ -40,7 +40,7 @@ "Ish peyjeriga qo‘ng‘iroq qilish" "Qo‘ng‘iroq: %s" "MMS raqamga qo‘ng‘iroq qilish" - "%s (Qo‘ng‘iroq qilish)" + "%s (Chaqiruv)" "%sga sms jo‘natish" "Uy telefoniga sms jo‘natish" "SMS: mobil" diff --git a/java/com/android/dialer/app/DialtactsActivity.java b/java/com/android/dialer/app/DialtactsActivity.java index 527dbff18..b6025d354 100644 --- a/java/com/android/dialer/app/DialtactsActivity.java +++ b/java/com/android/dialer/app/DialtactsActivity.java @@ -74,6 +74,7 @@ import com.android.dialer.app.calllog.CallLogActivity; import com.android.dialer.app.calllog.CallLogAdapter; import com.android.dialer.app.calllog.CallLogFragment; import com.android.dialer.app.calllog.CallLogNotificationsService; +import com.android.dialer.app.calllog.IntentProvider; import com.android.dialer.app.dialpad.DialpadFragment; import com.android.dialer.app.list.DialtactsPagerAdapter; import com.android.dialer.app.list.DialtactsPagerAdapter.TabIndex; @@ -90,6 +91,7 @@ import com.android.dialer.app.settings.DialerSettingsActivity; import com.android.dialer.app.widget.ActionBarController; import com.android.dialer.app.widget.SearchEditTextLayout; import com.android.dialer.callcomposer.CallComposerActivity; +import com.android.dialer.calldetails.CallDetailsActivity; import com.android.dialer.callintent.CallIntentBuilder; import com.android.dialer.callintent.CallSpecificAppData; import com.android.dialer.common.Assert; @@ -173,6 +175,7 @@ public class DialtactsActivity extends TransactionSafeActivity private static final int ACTIVITY_REQUEST_CODE_VOICE_SEARCH = 1; public static final int ACTIVITY_REQUEST_CODE_CALL_COMPOSE = 2; public static final int ACTIVITY_REQUEST_CODE_LIGHTBRINGER = 3; + public static final int ACTIVITY_REQUEST_CODE_CALL_DETAILS = 4; private static final int FAB_SCALE_IN_DELAY_MS = 300; @@ -789,6 +792,19 @@ public class DialtactsActivity extends TransactionSafeActivity } else { LogUtil.i("DialtactsActivity.onActivityResult", "returned from call composer, no error"); } + } else if (requestCode == ACTIVITY_REQUEST_CODE_CALL_DETAILS) { + if (resultCode == RESULT_OK + && data != null + && data.getBooleanExtra(CallDetailsActivity.EXTRA_HAS_ENRICHED_CALL_DATA, false)) { + String number = data.getStringExtra(CallDetailsActivity.EXTRA_PHONE_NUMBER); + int snackbarDurationMillis = 5_000; + Snackbar.make(mParentLayout, getString(R.string.ec_data_deleted), snackbarDurationMillis) + .setAction( + R.string.view_conversation, + v -> startActivity(IntentProvider.getSendSmsIntentProvider(number).getIntent(this))) + .setActionTextColor(getResources().getColor(R.color.dialer_snackbar_action_text_color)) + .show(); + } } super.onActivityResult(requestCode, resultCode, data); } @@ -1061,6 +1077,9 @@ public class DialtactsActivity extends TransactionSafeActivity // but it is quickly removed and shown the contacts tab. if (mListsFragment != null) { mListsFragment.showTab(tabIndex); + PerformanceReport.setStartingTabIndex(tabIndex); + } else { + PerformanceReport.setStartingTabIndex(DialtactsPagerAdapter.TAB_INDEX_SPEED_DIAL); } } } diff --git a/java/com/android/dialer/app/calllog/CallLogActivity.java b/java/com/android/dialer/app/calllog/CallLogActivity.java index 6433af9a6..35e05bc39 100644 --- a/java/com/android/dialer/app/calllog/CallLogActivity.java +++ b/java/com/android/dialer/app/calllog/CallLogActivity.java @@ -21,6 +21,7 @@ import android.content.Intent; import android.os.Bundle; import android.provider.CallLog; import android.provider.CallLog.Calls; +import android.support.design.widget.Snackbar; import android.support.v13.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.support.v7.app.ActionBar; @@ -31,7 +32,10 @@ import android.view.ViewGroup; import com.android.contacts.common.list.ViewPagerTabs; import com.android.dialer.app.DialtactsActivity; import com.android.dialer.app.R; +import com.android.dialer.app.calllog.ClearCallLogDialog.Listener; +import com.android.dialer.calldetails.CallDetailsActivity; import com.android.dialer.database.CallLogQueryHandler; +import com.android.dialer.enrichedcall.EnrichedCallComponent; import com.android.dialer.logging.Logger; import com.android.dialer.logging.ScreenEvent; import com.android.dialer.logging.UiAction; @@ -42,7 +46,7 @@ import com.android.dialer.util.ViewUtil; /** Activity for viewing call history. */ public class CallLogActivity extends TransactionSafeActivity - implements ViewPager.OnPageChangeListener { + implements ViewPager.OnPageChangeListener, Listener { private static final int TAB_INDEX_ALL = 0; private static final int TAB_INDEX_MISSED = 1; @@ -144,7 +148,7 @@ public class CallLogActivity extends TransactionSafeActivity startActivity(intent); return true; } else if (item.getItemId() == R.id.delete_all) { - ClearCallLogDialog.show(getFragmentManager()); + ClearCallLogDialog.show(getFragmentManager(), this); return true; } return super.onOptionsItemSelected(item); @@ -179,6 +183,15 @@ public class CallLogActivity extends TransactionSafeActivity return position; } + @Override + public void callHistoryDeleted() { + if (EnrichedCallComponent.get(this).getEnrichedCallManager().hasStoredData()) { + Snackbar.make( + findViewById(R.id.calllog_frame), getString(R.string.multiple_ec_data_deleted), 5_000) + .show(); + } + } + @Override public void onBackPressed() { PerformanceReport.recordClick(UiAction.Type.PRESS_ANDROID_BACK_BUTTON); @@ -229,4 +242,22 @@ public class CallLogActivity extends TransactionSafeActivity return TAB_INDEX_COUNT; } } + + @Override + protected void onActivityResult(int requestCode, int resultCode, Intent data) { + if (requestCode == DialtactsActivity.ACTIVITY_REQUEST_CODE_CALL_DETAILS) { + if (resultCode == RESULT_OK + && data != null + && data.getBooleanExtra(CallDetailsActivity.EXTRA_HAS_ENRICHED_CALL_DATA, false)) { + String number = data.getStringExtra(CallDetailsActivity.EXTRA_PHONE_NUMBER); + Snackbar.make(findViewById(R.id.calllog_frame), getString(R.string.ec_data_deleted), 5_000) + .setAction( + R.string.view_conversation, + v -> startActivity(IntentProvider.getSendSmsIntentProvider(number).getIntent(this))) + .setActionTextColor(getResources().getColor(R.color.dialer_snackbar_action_text_color)) + .show(); + } + } + super.onActivityResult(requestCode, resultCode, data); + } } diff --git a/java/com/android/dialer/app/calllog/CallLogAdapter.java b/java/com/android/dialer/app/calllog/CallLogAdapter.java index f1d051a8c..5241d9c80 100644 --- a/java/com/android/dialer/app/calllog/CallLogAdapter.java +++ b/java/com/android/dialer/app/calllog/CallLogAdapter.java @@ -317,6 +317,15 @@ public class CallLogAdapter extends GroupingListAdapter Logger.get(mActivity) .logImpression(DialerImpression.Type.MULTISELECT_SINGLE_PRESS_SELECT_ENTRY); checkMarkCallLogEntry(viewHolder); + // select all check box logic + if (getItemCount() == selectedItems.size()) { + LogUtil.i( + "mExpandCollapseListener.onClick", + "getitem count %d is equal to items select count %d, check select all box", + getItemCount(), + selectedItems.size()); + mMultiSelectRemoveView.tapSelectAll(); + } } return; } @@ -1394,5 +1403,7 @@ public class CallLogAdapter extends GroupingListAdapter void showMultiSelectRemoveView(boolean show); void setSelectAllModeToFalse(); + + void tapSelectAll(); } } diff --git a/java/com/android/dialer/app/calllog/CallLogAsyncTaskUtil.java b/java/com/android/dialer/app/calllog/CallLogAsyncTaskUtil.java index 10866aae2..b1ad0d9a2 100644 --- a/java/com/android/dialer/app/calllog/CallLogAsyncTaskUtil.java +++ b/java/com/android/dialer/app/calllog/CallLogAsyncTaskUtil.java @@ -110,7 +110,8 @@ public class CallLogAsyncTaskUtil { } public static void markCallAsRead(@NonNull final Context context, @NonNull final long[] callIds) { - if (!PermissionsUtil.hasPhonePermissions(context)) { + if (!PermissionsUtil.hasPhonePermissions(context) + || !PermissionsUtil.hasCallLogWritePermissions(context)) { return; } if (sAsyncTaskExecutor == null) { diff --git a/java/com/android/dialer/app/calllog/CallLogFragment.java b/java/com/android/dialer/app/calllog/CallLogFragment.java index b03a4ad64..aa765d90e 100644 --- a/java/com/android/dialer/app/calllog/CallLogFragment.java +++ b/java/com/android/dialer/app/calllog/CallLogFragment.java @@ -663,6 +663,13 @@ public class CallLogFragment extends Fragment getContext().getDrawable(R.drawable.ic_empty_check_mark_white_24dp)); } + @Override + public void tapSelectAll() { + LogUtil.i("CallLogFragment.tapSelectAll", "imitating select all"); + selectAllMode = true; + updateSelectAllIcon(); + } + @Override public void onClick(View v) { selectAllMode = !selectAllMode; diff --git a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java index c59f0dd61..b8b029f7b 100644 --- a/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java +++ b/java/com/android/dialer/app/calllog/CallLogListItemViewHolder.java @@ -877,14 +877,13 @@ public final class CallLogListItemViewHolder extends RecyclerView.ViewHolder // We check to see if we are starting a Lightbringer intent. The reason is Lightbringer // intents need to be started using startActivityForResult instead of the usual startActivity String packageName = intent.getPackage(); - if (getLightbringer().getPackageName().equals(packageName)) { + if (packageName != null && packageName.equals(getLightbringer().getPackageName())) { startLightbringerActivity(intent); + } else if (CallDetailsActivity.isLaunchIntent(intent)) { + PerformanceReport.recordClick(UiAction.Type.OPEN_CALL_DETAIL); + ((Activity) mContext) + .startActivityForResult(intent, DialtactsActivity.ACTIVITY_REQUEST_CODE_CALL_DETAILS); } else { - if (intent.getComponent() != null - && CallDetailsActivity.class.getName().equals(intent.getComponent().getClassName())) { - // We are going to open call detail - PerformanceReport.recordClick(UiAction.Type.OPEN_CALL_DETAIL); - } DialerUtils.startActivityWithErrorToast(mContext, intent); } } diff --git a/java/com/android/dialer/app/calllog/ClearCallLogDialog.java b/java/com/android/dialer/app/calllog/ClearCallLogDialog.java index 155a91618..5c3d4d9fa 100644 --- a/java/com/android/dialer/app/calllog/ClearCallLogDialog.java +++ b/java/com/android/dialer/app/calllog/ClearCallLogDialog.java @@ -29,16 +29,21 @@ import android.content.DialogInterface.OnClickListener; import android.os.AsyncTask; import android.os.Bundle; import android.provider.CallLog.Calls; +import android.support.annotation.NonNull; import com.android.dialer.app.R; +import com.android.dialer.common.Assert; import com.android.dialer.phonenumbercache.CachedNumberLookupService; import com.android.dialer.phonenumbercache.PhoneNumberCache; /** Dialog that clears the call log after confirming with the user */ public class ClearCallLogDialog extends DialogFragment { + private Listener listener; + /** Preferred way to show this dialog */ - public static void show(FragmentManager fragmentManager) { + public static void show(FragmentManager fragmentManager, @NonNull Listener listener) { ClearCallLogDialog dialog = new ClearCallLogDialog(); + dialog.listener = Assert.isNotNull(listener); dialog.show(fragmentManager, "deleteCallLog"); } @@ -76,6 +81,7 @@ public class ClearCallLogDialog extends DialogFragment { return; } + listener.callHistoryDeleted(); if (progressDialog != null && progressDialog.isShowing()) { progressDialog.dismiss(); } @@ -96,4 +102,8 @@ public class ClearCallLogDialog extends DialogFragment { .setCancelable(true) .create(); } + + interface Listener { + void callHistoryDeleted(); + } } diff --git a/java/com/android/dialer/app/res/values-af/strings.xml b/java/com/android/dialer/app/res/values-af/strings.xml index 40e297386..c04e4e5ca 100644 --- a/java/com/android/dialer/app/res/values-af/strings.xml +++ b/java/com/android/dialer/app/res/values-af/strings.xml @@ -235,4 +235,7 @@ "Strooipos" "%1$s is vanlyn en kan nie bereik word nie" "Meer oor" + "Bekyk" + "Oproep geskrap. Bekyk en vee aanhegsels uit wat gedurende hierdie oproep in Boodskappe gedeel is." + "Oproepe geskrap. Bekyk en vee aanhegsels uit wat gedurende oproepe in Boodskappe gedeel is." diff --git a/java/com/android/dialer/app/res/values-am/strings.xml b/java/com/android/dialer/app/res/values-am/strings.xml index 08b52a6ee..2e4e111ca 100644 --- a/java/com/android/dialer/app/res/values-am/strings.xml +++ b/java/com/android/dialer/app/res/values-am/strings.xml @@ -235,4 +235,7 @@ "አይፈለጌ መልዕክት" "%1$s ከመስመር ውጭ ነው እና ሊደረስበት አይችልም" "ስለ" + "አሳይ" + "ጥሪ ተሰርዟል። በዚህ ጥሪ ወቅት በመልዕክቶች ውስጥ የተጋሩ አባሪዎችን ይመልከቱ እንዲሁም ይሰርዙ።" + "ጥሪ ተሰርዟል። በዚህ ጥሪ ወቅት በመልዕክቶች ውስጥ የተጋሩ አባሪዎችን ይመልከቱ እንዲሁም ይሰርዙ።" diff --git a/java/com/android/dialer/app/res/values-ar/strings.xml b/java/com/android/dialer/app/res/values-ar/strings.xml index fe84a66ab..22f141e68 100644 --- a/java/com/android/dialer/app/res/values-ar/strings.xml +++ b/java/com/android/dialer/app/res/values-ar/strings.xml @@ -247,4 +247,7 @@ "تعليق غير مرغوب فيه" "%1$s غير متصل ولا يمكن الوصول إليه" "حول" + "عرض" + "‏تم حذف المكالمة. يمكنك عرض وحذف المرفقات التي تمت مشاركتها أثناء هذه المكالمة في Messages." + "‏تم حذف المكالمة. يمكنك عرض وحذف المرفقات التي تمت مشاركتها أثناء إجراء المكالمات في Messages." diff --git a/java/com/android/dialer/app/res/values-az/strings.xml b/java/com/android/dialer/app/res/values-az/strings.xml index f2b0cf35d..1441883f3 100644 --- a/java/com/android/dialer/app/res/values-az/strings.xml +++ b/java/com/android/dialer/app/res/values-az/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s oflayn olduğu üçün əlaqə saxlamaq mümkün deyil" "Haqqında" + "Baxın" + "Zəng silindi. Bu zəng zamanı paylaşılan qoşmalara Mesajlaşma tətbiqində baxın və silin." + "Zənglər silindi. Bu zənglər zamanı paylaşılan qoşmalara Mesajlaşma tətbiqində baxın və silin." diff --git a/java/com/android/dialer/app/res/values-b+sr+Latn/strings.xml b/java/com/android/dialer/app/res/values-b+sr+Latn/strings.xml index b011f7866..3ed8c6bf3 100644 --- a/java/com/android/dialer/app/res/values-b+sr+Latn/strings.xml +++ b/java/com/android/dialer/app/res/values-b+sr+Latn/strings.xml @@ -238,4 +238,7 @@ "Nepoželjan" "%1$s je oflajn i ne možete da ga/je kontaktirate" "Osnovni podaci" + "Prikaži" + "Poziv je izbrisan. Pregledajte i izbrišite priloge deljene tokom ovog poziva u Messages-u." + "Pozivi su izbrisani. Pregledajte i izbrišite priloge deljene tokom poziva u Messages-u." diff --git a/java/com/android/dialer/app/res/values-be/strings.xml b/java/com/android/dialer/app/res/values-be/strings.xml index f9b083747..18d26eff4 100644 --- a/java/com/android/dialer/app/res/values-be/strings.xml +++ b/java/com/android/dialer/app/res/values-be/strings.xml @@ -241,4 +241,7 @@ "Спам" "Карыстальнік %1$s па-за сеткай і не даступны" "Інфармацыя" + "Праглядзець" + "Выклік выдалены. У \"Паведамленнях\" праглядзіце і выдаліце далучэнні, якія былі абагулены падчас гэтага выкліку." + "Выклікі выдалены. У \"Паведамленнях\" праглядзіце і выдаліце далучэнні, якія былі абагулены падчас гэтых выклікаў." diff --git a/java/com/android/dialer/app/res/values-bg/strings.xml b/java/com/android/dialer/app/res/values-bg/strings.xml index 8b1105cb3..8385eda1a 100644 --- a/java/com/android/dialer/app/res/values-bg/strings.xml +++ b/java/com/android/dialer/app/res/values-bg/strings.xml @@ -235,4 +235,7 @@ "Спам" %1$s не може да се установи връзка, тъй като е офлайн" "Информация" + "Преглед" + "Обаждането е изтрито. Прегледайте и изтрийте прикачените файлове, споделени по време на това обаждане в Messages." + "Обажданията са изтрити. Прегледайте и изтрийте прикачените файлове, споделени по време на обажданията в Messages." diff --git a/java/com/android/dialer/app/res/values-bn/strings.xml b/java/com/android/dialer/app/res/values-bn/strings.xml index 2ec362685..2e46e736c 100644 --- a/java/com/android/dialer/app/res/values-bn/strings.xml +++ b/java/com/android/dialer/app/res/values-bn/strings.xml @@ -235,4 +235,7 @@ "স্প্যাম" "%1$s এখন অফলাইনে থাকায় যোগাযোগ করা যাবে না" "সম্পর্কে" + "দেখুন" + "কল মোছা হয়েছে। বার্তার মধ্যে কলের সময় শেয়ার করা সংযুক্তি দেখুন ও মুছুন।" + "কলগুলি মোছা হয়েছে। বার্তার মধ্যে কলের সময় শেয়ার করা সংযুক্তিগুলি দেখুন ও মুছুন।" diff --git a/java/com/android/dialer/app/res/values-bs/strings.xml b/java/com/android/dialer/app/res/values-bs/strings.xml index 087db1274..9d8914c4f 100644 --- a/java/com/android/dialer/app/res/values-bs/strings.xml +++ b/java/com/android/dialer/app/res/values-bs/strings.xml @@ -238,4 +238,7 @@ "Neželjena pošta" "Osoba %1$s je van mreže i ne možete je kontaktirati" "O aplikaciji" + "Prikaži" + "Poziv je izbrisan. Pogledajte i izbrišite priloge podijeljene tokom ovog poziva u aplikaciji Messages." + "Pozivi su izbrisani. Pogledajte i izbrišite priloge podijeljene tokom poziva u aplikaciji Messages." diff --git a/java/com/android/dialer/app/res/values-ca/strings.xml b/java/com/android/dialer/app/res/values-ca/strings.xml index 71385805a..396d98a3a 100644 --- a/java/com/android/dialer/app/res/values-ca/strings.xml +++ b/java/com/android/dialer/app/res/values-ca/strings.xml @@ -126,7 +126,7 @@ "S\'està carregant des de la targeta SIM..." "Contactes de la targeta SIM" "La cerca per veu no està disponible." - "No es pot fer una trucada telefònica perquè s\'ha desactivat l\'aplicació de telèfon." + "No es pot fer una trucada perquè s\'ha desactivat l\'aplicació de telèfon." "Cerca als contactes" "Afegeix núm. o cerca contactes" "El teu historial de trucades és buit" @@ -235,4 +235,7 @@ "Trucada brossa" "%1$s no té connexió i no s\'hi pot contactar" "Informació" + "Mostra" + "S\'ha suprimit la trucada. Consulta i suprimeix els fitxers adjunts compartits durant aquesta trucada a Missatges." + "S\'han suprimit les trucades. Consulta i suprimeix els fitxers adjunts compartits durant les trucades a Missatges." diff --git a/java/com/android/dialer/app/res/values-cs/strings.xml b/java/com/android/dialer/app/res/values-cs/strings.xml index dbff467c0..42219e520 100644 --- a/java/com/android/dialer/app/res/values-cs/strings.xml +++ b/java/com/android/dialer/app/res/values-cs/strings.xml @@ -241,4 +241,7 @@ "Spam" "Uživatel %1$s je offline a není možné se s ním spojit" "O aplikaci" + "Zobrazit" + "Hovor byl smazán. Přílohy sdílené během něj můžete zobrazit a smazat v aplikaci Zprávy." + "Hovory byly smazány. Přílohy sdílené během nich můžete zobrazit a smazat v aplikaci Zprávy." diff --git a/java/com/android/dialer/app/res/values-da/strings.xml b/java/com/android/dialer/app/res/values-da/strings.xml index 72f5a2835..81fd5ddb5 100644 --- a/java/com/android/dialer/app/res/values-da/strings.xml +++ b/java/com/android/dialer/app/res/values-da/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s er offline og kan ikke nås" "Om" + "Vis" + "Opkaldet er slettet. Du kan se og slette vedhæftede filer, der er delt i forbindelse med dette opkald, i Beskeder." + "Opkaldene er slettet. Du kan se og slette vedhæftede filer, der er delt i forbindelse med opkald, i Beskeder." diff --git a/java/com/android/dialer/app/res/values-de/strings.xml b/java/com/android/dialer/app/res/values-de/strings.xml index a7efd53a3..07fe3131d 100644 --- a/java/com/android/dialer/app/res/values-de/strings.xml +++ b/java/com/android/dialer/app/res/values-de/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s ist offline und nicht erreichbar" "Info" + "Ansehen" + "Anruf gelöscht. Du kannst in diesem Anruf geteilte Anhänge unter \"Nachrichten\" ansehen und löschen." + "Anrufe gelöscht. Du kannst in diesen Anrufen geteilte Anhänge unter \"Nachrichten\" ansehen und löschen." diff --git a/java/com/android/dialer/app/res/values-el/strings.xml b/java/com/android/dialer/app/res/values-el/strings.xml index 7080e5e50..933a2c891 100644 --- a/java/com/android/dialer/app/res/values-el/strings.xml +++ b/java/com/android/dialer/app/res/values-el/strings.xml @@ -235,4 +235,7 @@ "Ανεπιθύμητα" "Ο χρήστης %1$s είναι εκτός σύνδεσης και δεν μπορείτε να έρθετε σε επικοινωνία μαζί του" "Πληροφορίες" + "Προβολή" + "Η κλήση διαγράφηκε. Προβάλετε και διαγράψτε τα συνημμένα που κοινοποιήθηκαν κατά τη διάρκεια αυτής της κλήσης στο Messages." + "Οι κλήσεις διαγράφηκαν. Προβάλετε και διαγράψτε τα συνημμένα που κοινοποιήθηκαν κατά τη διάρκεια αυτών των κλήσεων στο Messages." diff --git a/java/com/android/dialer/app/res/values-en-rAU/strings.xml b/java/com/android/dialer/app/res/values-en-rAU/strings.xml index 999f7dab0..dab915805 100644 --- a/java/com/android/dialer/app/res/values-en-rAU/strings.xml +++ b/java/com/android/dialer/app/res/values-en-rAU/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s is offline and can\'t be reached" "About" + "View" + "Call deleted. View and delete attachments shared during this call in Messages." + "Calls deleted. View and delete attachments shared during calls in Messages." diff --git a/java/com/android/dialer/app/res/values-en-rGB/strings.xml b/java/com/android/dialer/app/res/values-en-rGB/strings.xml index 999f7dab0..dab915805 100644 --- a/java/com/android/dialer/app/res/values-en-rGB/strings.xml +++ b/java/com/android/dialer/app/res/values-en-rGB/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s is offline and can\'t be reached" "About" + "View" + "Call deleted. View and delete attachments shared during this call in Messages." + "Calls deleted. View and delete attachments shared during calls in Messages." diff --git a/java/com/android/dialer/app/res/values-en-rIN/strings.xml b/java/com/android/dialer/app/res/values-en-rIN/strings.xml index 999f7dab0..dab915805 100644 --- a/java/com/android/dialer/app/res/values-en-rIN/strings.xml +++ b/java/com/android/dialer/app/res/values-en-rIN/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s is offline and can\'t be reached" "About" + "View" + "Call deleted. View and delete attachments shared during this call in Messages." + "Calls deleted. View and delete attachments shared during calls in Messages." diff --git a/java/com/android/dialer/app/res/values-es-rUS/strings.xml b/java/com/android/dialer/app/res/values-es-rUS/strings.xml index 701d74ebc..a045a4772 100644 --- a/java/com/android/dialer/app/res/values-es-rUS/strings.xml +++ b/java/com/android/dialer/app/res/values-es-rUS/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s está sin conexión y no se lo puede contactar" "Acerca de" + "Ver" + "Llamada eliminada. En Mensajes, puedes ver y eliminar archivos adjuntos compartidos durante esta llamada." + "Llamadas eliminadas. En Mensajes, puedes ver y eliminar archivos adjuntos durante las llamadas." diff --git a/java/com/android/dialer/app/res/values-es/strings.xml b/java/com/android/dialer/app/res/values-es/strings.xml index 8cf47f554..2c1f61ee8 100644 --- a/java/com/android/dialer/app/res/values-es/strings.xml +++ b/java/com/android/dialer/app/res/values-es/strings.xml @@ -228,11 +228,14 @@ "Para hacer una llamada, activa el permiso de la aplicación Teléfono." "La aplicación Teléfono no tiene permiso para editar los ajustes del sistema." "Bloqueado" - "Bloquear / Marcar como spam" + "Bloquear/Marcar como spam" "Bloquear número" "No es spam" "Desbloquear número" "Spam" "%1$s no tiene conexión y no se puede contactar" "Información" + "Ver" + "Se ha eliminado la llamada. Si quieres ver y eliminar los archivos adjuntos compartidos durante esta llamada, ve a Mensajes." + "Se han eliminado las llamadas. Si quieres ver y eliminar los archivos adjuntos compartidos durante las llamadas, ve a Mensajes." diff --git a/java/com/android/dialer/app/res/values-et/strings.xml b/java/com/android/dialer/app/res/values-et/strings.xml index da043bf3c..6f9273ab0 100644 --- a/java/com/android/dialer/app/res/values-et/strings.xml +++ b/java/com/android/dialer/app/res/values-et/strings.xml @@ -235,4 +235,7 @@ "Rämpspost" "%1$s ei ole võrgus ja temaga ei saa ühendust" "Teave" + "Kuva" + "Kõne kustutati. Selle kõne ajal jagatud manuseid saate vaadata ja kustutada rakenduses Messages." + "Kõned kustutati. Nende kõnede ajal jagatud manuseid saate vaadata ja kustutada rakenduses Messages." diff --git a/java/com/android/dialer/app/res/values-eu/strings.xml b/java/com/android/dialer/app/res/values-eu/strings.xml index 071c6f3f0..6615b590d 100644 --- a/java/com/android/dialer/app/res/values-eu/strings.xml +++ b/java/com/android/dialer/app/res/values-eu/strings.xml @@ -235,4 +235,7 @@ "Spama" "%1$s ez dago konektatuta, eta ezin zara jarri harremanetan berarekin" "Honi buruz" + "Ikusi" + "Ezabatu da deia. Ikusi eta ezabatu dei honetan partekatutako eranskinak Mezuak aplikazioan." + "Ezabatu dira deiak. Ikusi eta ezabatu dei hauetan partekatutako eranskinak Mezuak aplikazioan." diff --git a/java/com/android/dialer/app/res/values-fa/strings.xml b/java/com/android/dialer/app/res/values-fa/strings.xml index 6c588747e..c9ba98ceb 100644 --- a/java/com/android/dialer/app/res/values-fa/strings.xml +++ b/java/com/android/dialer/app/res/values-fa/strings.xml @@ -235,4 +235,7 @@ "هرزنامه" "%1$s آفلاین است و در دسترس نمی‌باشد" "درباره" + "مشاهده" + "تماس حذف شد. پیوست‌های به اشتراک‌گذاشته‌شده درطول این تماس را در «پیام‌ها» مشاهده و حذف کنید." + "تماس‌ها حذف شدند. پیوست‌های به اشتراک‌گذاشته‌شده درطول تماس‌ها را در «پیام‌ها» مشاهده و حذف کنید." diff --git a/java/com/android/dialer/app/res/values-fi/strings.xml b/java/com/android/dialer/app/res/values-fi/strings.xml index 55865d44a..f145bc59a 100644 --- a/java/com/android/dialer/app/res/values-fi/strings.xml +++ b/java/com/android/dialer/app/res/values-fi/strings.xml @@ -235,4 +235,7 @@ "Roskaposti" "%1$s on offline-tilassa, eikä siihen saada yhteyttä." "Tietoja" + "Näytä" + "Puhelu poistettu. Voit tarkastella ja poistaa puhelun aikana jaettuja liitteitä Viesteissä." + "Puhelut poistettu. Voit tarkastella ja poistaa puhelujen aikana jaettuja liitteitä Viesteissä." diff --git a/java/com/android/dialer/app/res/values-fr-rCA/strings.xml b/java/com/android/dialer/app/res/values-fr-rCA/strings.xml index f10b121d5..5a28ff413 100644 --- a/java/com/android/dialer/app/res/values-fr-rCA/strings.xml +++ b/java/com/android/dialer/app/res/values-fr-rCA/strings.xml @@ -235,4 +235,7 @@ "Pourriel" "%1$s est hors connexion et injoignable" "À propos" + "Afficher" + "Appel supprimé. Affichez et supprimez les pièces jointes partagées pendant cet appel dans les messages." + "Appels supprimés. Affichez et supprimez les pièces jointes partagées pendant ces appels dans les messages." diff --git a/java/com/android/dialer/app/res/values-fr/strings.xml b/java/com/android/dialer/app/res/values-fr/strings.xml index 2ce930af5..b2f6ca556 100644 --- a/java/com/android/dialer/app/res/values-fr/strings.xml +++ b/java/com/android/dialer/app/res/values-fr/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s est injoignable, car non connecté" "À propos" + "Afficher" + "Appel supprimé. Affichez et supprimez les pièces jointes échangées au cours de cet appel dans Messages." + "Appels supprimés. Affichez et supprimez les pièces jointes échangées au cours de ces appels dans Messages." diff --git a/java/com/android/dialer/app/res/values-gl/strings.xml b/java/com/android/dialer/app/res/values-gl/strings.xml index b9e540750..926c42dd2 100644 --- a/java/com/android/dialer/app/res/values-gl/strings.xml +++ b/java/com/android/dialer/app/res/values-gl/strings.xml @@ -235,4 +235,7 @@ "Spam" "Non se pode contactar con %1$s porque está sen conexión" "Acerca de" + "Ver" + "Eliminouse a chamada. Podes ver e eliminar os anexos compartidos durante esta chamada en Mensaxes." + "Elimináronse as chamadas. Podes ver e eliminar os anexos compartidos durante as chamadas en Mensaxes." diff --git a/java/com/android/dialer/app/res/values-gu/strings.xml b/java/com/android/dialer/app/res/values-gu/strings.xml index ca8749ad3..19515f435 100644 --- a/java/com/android/dialer/app/res/values-gu/strings.xml +++ b/java/com/android/dialer/app/res/values-gu/strings.xml @@ -235,4 +235,7 @@ "સ્પામ" "%1$s ઑફલાઇન છે અને તેના સુધી પહોંચી શકતાં નથી" "વિશે" + "જુઓ" + "કૉલ કાઢી નાખ્યો. આ કૉલ દરમિયાન સંદેશામાં શેર કરેલ જોડાણ જુઓ અને કાઢી નાખો." + "કૉલ કાઢી નાખ્યા. કૉલ દરમિયાન સંદેશામાં શેર કરેલ જોડાણ જુઓ અને કાઢી નાખો." diff --git a/java/com/android/dialer/app/res/values-hi/strings.xml b/java/com/android/dialer/app/res/values-hi/strings.xml index 3bc931921..0ff972dc8 100644 --- a/java/com/android/dialer/app/res/values-hi/strings.xml +++ b/java/com/android/dialer/app/res/values-hi/strings.xml @@ -235,4 +235,7 @@ "स्पैम" "%1$s ऑफ़लाइन हैं और उन तक नहीं पहुंचा जा सकता" "संक्षिप्त विवरण" + "देखें" + "कॉल हटाया गया. संदेश में जा कर इस कॉल के दौरान साझा किए गए अटैचमेंट देखें और हटाएं." + "कॉल हटाए गए. संदेश में जा कर इस कॉल के दौरान साझा किए गए अटैचमेंट देखें और हटाएं." diff --git a/java/com/android/dialer/app/res/values-hr/strings.xml b/java/com/android/dialer/app/res/values-hr/strings.xml index 0d2147008..17bf750c5 100644 --- a/java/com/android/dialer/app/res/values-hr/strings.xml +++ b/java/com/android/dialer/app/res/values-hr/strings.xml @@ -238,4 +238,7 @@ "Neželjena pošta" "%1$s nije online i nije dostupan" "O aplikaciji" + "Prikaži" + "Poziv je izbrisan. U Porukama pregledajte i izbrišite privitke podijeljene tijekom ovog poziva." + "Pozivi su izbrisani. U Porukama pregledajte i izbrišite privitke podijeljene tijekom poziva." diff --git a/java/com/android/dialer/app/res/values-hu/strings.xml b/java/com/android/dialer/app/res/values-hu/strings.xml index 9a373e6e8..6e88c5662 100644 --- a/java/com/android/dialer/app/res/values-hu/strings.xml +++ b/java/com/android/dialer/app/res/values-hu/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s offline, és nem érhető el." "Névjegy" + "Megtekintés" + "Hívás törölve. A hívás során megosztott mellékleteket az Üzenetek alkalmazásban tekintheti meg és törölheti." + "Hívások törölve. A hívások során megosztott mellékleteket az Üzenetek alkalmazásban tekintheti meg és törölheti." diff --git a/java/com/android/dialer/app/res/values-hy/strings.xml b/java/com/android/dialer/app/res/values-hy/strings.xml index 2b2fbf61b..f3c5a8b2d 100644 --- a/java/com/android/dialer/app/res/values-hy/strings.xml +++ b/java/com/android/dialer/app/res/values-hy/strings.xml @@ -235,4 +235,7 @@ "Լցոն" "%1$s օգտատերը միացած չէ ցանցին և անհասանելի է" "Հավելվածի մասին" + "Դիտել" + "Զանգը ջնջվեց: Դիտեք և ջնջեք զանգի ընթացքում ստացված կցորդները Messages հավելվածում:" + "Զանգերը ջնջվեցին: Դիտեք և ջնջեք զանգերի ընթացքում ստացված կցորդները Messages հավելվածում:" diff --git a/java/com/android/dialer/app/res/values-in/strings.xml b/java/com/android/dialer/app/res/values-in/strings.xml index e72fd6337..21aa53641 100644 --- a/java/com/android/dialer/app/res/values-in/strings.xml +++ b/java/com/android/dialer/app/res/values-in/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s sedang offline dan tidak dapat dijangkau" "Tentang" + "Tampilkan" + "Panggilan dihapus. Lihat dan hapus lampiran yang dibagikan selama panggilan ini di Message." + "Panggilan dihapus. Lihat dan hapus lampiran yang dibagikan selama panggilan ini di Message." diff --git a/java/com/android/dialer/app/res/values-is/strings.xml b/java/com/android/dialer/app/res/values-is/strings.xml index bd329be9d..86a6b1b01 100644 --- a/java/com/android/dialer/app/res/values-is/strings.xml +++ b/java/com/android/dialer/app/res/values-is/strings.xml @@ -235,4 +235,7 @@ "Ruslnúmer" "%1$s er án nettengingar og ekki er hægt að ná í viðkomandi" "Um forritið" + "Skoða" + "Símtali eytt. Skoðaðu og eyddu viðhengjum sem var deilt í þessu símtali í Messages." + "Símtölum eytt. Skoðaðu og eyddu viðhengjum sem var deilt í þessum símtölum í Messages." diff --git a/java/com/android/dialer/app/res/values-it/strings.xml b/java/com/android/dialer/app/res/values-it/strings.xml index 356f5a603..fde553107 100644 --- a/java/com/android/dialer/app/res/values-it/strings.xml +++ b/java/com/android/dialer/app/res/values-it/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s è offline e non può essere raggiunto" "Informazioni" + "Visualizza" + "Chiamata eliminata. Visualizza ed elimina gli allegati condivisi durante questa chiamata in Messaggi." + "Chiamate eliminate. Visualizza ed elimina gli allegati condivisi durante queste chiamate in Messaggi." diff --git a/java/com/android/dialer/app/res/values-iw/strings.xml b/java/com/android/dialer/app/res/values-iw/strings.xml index 230555a14..bad9f2152 100644 --- a/java/com/android/dialer/app/res/values-iw/strings.xml +++ b/java/com/android/dialer/app/res/values-iw/strings.xml @@ -241,4 +241,7 @@ "ספאם" "לא ניתן להתקשר כי המכשיר של %1$s לא מחובר כרגע" "מידע כללי" + "הצג" + "השיחה נמחקה. כדי להציג ולמחוק קבצים מצורפים ששותפו בזמן השיחה, עבור ל\'הודעות\'." + "השיחות נמחקו. כדי להציג ולמחוק קבצים מצורפים ששותפו בזמן השיחות, עבור ל\'הודעות\'." diff --git a/java/com/android/dialer/app/res/values-ja/strings.xml b/java/com/android/dialer/app/res/values-ja/strings.xml index 71fca83d5..8de666409 100644 --- a/java/com/android/dialer/app/res/values-ja/strings.xml +++ b/java/com/android/dialer/app/res/values-ja/strings.xml @@ -235,4 +235,7 @@ "スパム" "%1$s さんはオフラインのため、通話を受信できません" "電話アプリについて" + "表示" + "通話を削除しました。通話中に共有した添付ファイルを、メッセージで確認して削除してください。" + "通話を削除しました。通話中に共有した添付ファイルを、メッセージで確認して削除してください。" diff --git a/java/com/android/dialer/app/res/values-ka/strings.xml b/java/com/android/dialer/app/res/values-ka/strings.xml index fd9351f54..b4f7f64ee 100644 --- a/java/com/android/dialer/app/res/values-ka/strings.xml +++ b/java/com/android/dialer/app/res/values-ka/strings.xml @@ -235,4 +235,7 @@ "სპამი" "%1$s ხაზგარეშეა და ვერ დაუკავშირდებით" "აპის შესახებ" + "ნახვა" + "ზარი წაიშალა. ამ ზარის დროს გაზიარებული დანართები იხილეთ და წაშალეთ Messages-ში." + "ზარები წაიშალა. ამ ზარის დროს გაზიარებული დანართები იხილეთ და წაშალეთ Messages-ში." diff --git a/java/com/android/dialer/app/res/values-kk/strings.xml b/java/com/android/dialer/app/res/values-kk/strings.xml index f1763a21a..5d911cbcb 100644 --- a/java/com/android/dialer/app/res/values-kk/strings.xml +++ b/java/com/android/dialer/app/res/values-kk/strings.xml @@ -235,4 +235,7 @@ "Спам" "%1$s желіден тыс және байланысу мүмкін емес" "Мәліметтер" + "Көру" + "Қоңырау жойылды. Осы қоңырау кезінде жіберілген тіркемелерді \"Хабарлар\" бөлімінен тауып жойыңыз." + "Қоңыраулар жойылды. Осы қоңыраулар кезінде жіберілген тіркемелерді \"Хабарлар\" бөлімінен тауып жойыңыз." diff --git a/java/com/android/dialer/app/res/values-km/strings.xml b/java/com/android/dialer/app/res/values-km/strings.xml index 54f1a126a..aa619ad2b 100644 --- a/java/com/android/dialer/app/res/values-km/strings.xml +++ b/java/com/android/dialer/app/res/values-km/strings.xml @@ -235,4 +235,7 @@ "សារ​ឥតបានការ" "%1$s មិន​នៅ​លើ​អ៊ីនធឺណិត និង​មិន​អាច​ទាក់ទង​បាន​ទេ" "អំពី" + "មើល" + "បាន​លុប​ការហៅទូរសព្ទ។ មើល និង​លុប​ឯកសារ​ភ្ជាប់​ដែល​បាន​ចែករំលែក​នៅ​អំឡុង​ពេល​ហៅ​ទូរសព្ទ​នេះ​នៅ​ក្នុង Messages ។" + "បាន​លុប​ការហៅទូរសព្ទ។ មើល និង​លុប​ឯកសារ​ភ្ជាប់​ដែល​បាន​ចែករំលែក​នៅ​អំឡុង​ពេល​ហៅ​ទូរសព្ទ​នៅ​ក្នុង Messages ។" diff --git a/java/com/android/dialer/app/res/values-kn/strings.xml b/java/com/android/dialer/app/res/values-kn/strings.xml index d7f3aabbc..3e578f21b 100644 --- a/java/com/android/dialer/app/res/values-kn/strings.xml +++ b/java/com/android/dialer/app/res/values-kn/strings.xml @@ -235,4 +235,7 @@ "ಸ್ಪ್ಯಾಮ್" "%1$s ಆಫ್‌ಲೈನ್ ಆಗಿದ್ದಾರೆ ಮತ್ತು ಅವರನ್ನು ತಲುಪಲು ಸಾಧ್ಯವಾಗುವುದಿಲ್ಲ" "ಕುರಿತು" + "ವೀಕ್ಷಿಸಿ" + "ಕರೆ ಅಳಿಸಲಾಗಿದೆ. ಈ ಕರೆಯ ಸಮಯದಲ್ಲಿ ಸಂದೇಶಗಳಲ್ಲಿ ಹಂಚಿಕೊಳ್ಳಲಾದ ಲಗತ್ತುಗಳನ್ನು ವೀಕ್ಷಿಸಿ ಮತ್ತು ಅಳಿಸಿ." + "ಕರೆಗಳನ್ನು ಅಳಿಸಲಾಗಿದೆ. ಈ ಕರೆಗಳನ್ನು ಮಾಡುವ ಸಮಯದಲ್ಲಿ ಸಂದೇಶಗಳಲ್ಲಿ ಹಂಚಿಕೊಳ್ಳಲಾದ ಲಗತ್ತುಗಳನ್ನು ವೀಕ್ಷಿಸಿ ಮತ್ತು ಅಳಿಸಿ." diff --git a/java/com/android/dialer/app/res/values-ko/strings.xml b/java/com/android/dialer/app/res/values-ko/strings.xml index cb2e83c79..8a45c2b28 100644 --- a/java/com/android/dialer/app/res/values-ko/strings.xml +++ b/java/com/android/dialer/app/res/values-ko/strings.xml @@ -235,4 +235,7 @@ "스팸" "%1$s님은 오프라인 상태이며 연락할 수 없습니다." "정보" + "보기" + "통화가 삭제되었습니다. 메시지에서 이 통화 중에 공유된 첨부파일을 확인하고 삭제하세요." + "통화가 삭제되었습니다. 메시지에서 통화 중에 공유된 첨부파일을 확인하고 삭제하세요." diff --git a/java/com/android/dialer/app/res/values-ky/strings.xml b/java/com/android/dialer/app/res/values-ky/strings.xml index 0a0b3e661..906210122 100644 --- a/java/com/android/dialer/app/res/values-ky/strings.xml +++ b/java/com/android/dialer/app/res/values-ky/strings.xml @@ -235,4 +235,7 @@ "Спам" "%1$s оффлайн режиминде болгондуктан, байланышууга болбойт" "Колдонмо жөнүндө" + "Карап көрүү" + "Чалуу жок кылынды. Билдирүүлөр колдонмосунда чалуу убагында жөнөтүлгөн файлдарды текшерип, жок кылыңыз." + "Чалуулар жок кылынды. Билдирүүлөр колдонмосунда чалуулар убагында жөнөтүлгөн файлдарды текшерип, жок кылыңыз." diff --git a/java/com/android/dialer/app/res/values-lo/strings.xml b/java/com/android/dialer/app/res/values-lo/strings.xml index 267d1c6be..91912c933 100644 --- a/java/com/android/dialer/app/res/values-lo/strings.xml +++ b/java/com/android/dialer/app/res/values-lo/strings.xml @@ -235,4 +235,7 @@ "ສະແປມ" "%1$s ອອບລາຍຢູ່ ແລະ ບໍ່ສາມາດຕິດຕໍ່ຫາໄດ້" "ກ່ຽວກັບ" + "ເບິ່ງ" + "ລຶບການໂທແລ້ວ. ເບິ່ງ ແລະ ລຶບໄຟລ໌ແນບທີ່ແບ່ງປັນໃນລະຫວ່າງການໂທນີ້ຢູ່ Messages ໄດ້." + "ລຶບການໂທແລ້ວ. ເບິ່ງ ແລະ ລຶບໄຟລ໌ແນບທີ່ແບ່ງປັນໃນລະຫວ່າງການໂທຕ່າງໆຢູ່ Messages ໄດ້." diff --git a/java/com/android/dialer/app/res/values-lt/strings.xml b/java/com/android/dialer/app/res/values-lt/strings.xml index e26a90927..ae771dfeb 100644 --- a/java/com/android/dialer/app/res/values-lt/strings.xml +++ b/java/com/android/dialer/app/res/values-lt/strings.xml @@ -241,4 +241,7 @@ "Šlamštas" "%1$s yra neprisijungęs (-usi) ir su juo (ja) negalima susisiekti" "Apie" + "Peržiūrėti" + "Skambutis ištrintas. Peržiūrėkite ir ištrinkite priedus, kurie buvo bendrinti per šį skambutį programoje „Messages“." + "Skambučiai ištrinti. Peržiūrėkite ir ištrinkite priedus, kurie buvo bendrinti per skambučius programoje „Messages“." diff --git a/java/com/android/dialer/app/res/values-lv/strings.xml b/java/com/android/dialer/app/res/values-lv/strings.xml index 8df2813c4..bb093730d 100644 --- a/java/com/android/dialer/app/res/values-lv/strings.xml +++ b/java/com/android/dialer/app/res/values-lv/strings.xml @@ -238,4 +238,7 @@ "Nevēlami zvani" "Lietotājs %1$s ir bezsaistē un nav sasniedzams" "Par" + "Skatīt" + "Zvans izdzēsts. Skatiet un dzēsiet pielikumus, kas kopīgoti šī zvana laikā, izmantojot lietotni Ziņojumi." + "Zvani izdzēsti. Skatiet un dzēsiet pielikumus, kas kopīgoti šo zvanu laikā, izmantojot lietotni Ziņojumi." diff --git a/java/com/android/dialer/app/res/values-mk/strings.xml b/java/com/android/dialer/app/res/values-mk/strings.xml index 953a05569..ed0c03dbd 100644 --- a/java/com/android/dialer/app/res/values-mk/strings.xml +++ b/java/com/android/dialer/app/res/values-mk/strings.xml @@ -235,4 +235,7 @@ "Спам" "Контактот %1$s е офлајн и недостапен" "За" + "Прикажи" + "Повикот е избришан. За преглед и бришење на прилозите споделени во текот на разговоров, одете во „Пораки“." + "Повиците се избришани. За преглед и бришење на прилозите споделени во текот на разговорите, одете во „Пораки“." diff --git a/java/com/android/dialer/app/res/values-ml/strings.xml b/java/com/android/dialer/app/res/values-ml/strings.xml index 0eef40748..5cb1bc086 100644 --- a/java/com/android/dialer/app/res/values-ml/strings.xml +++ b/java/com/android/dialer/app/res/values-ml/strings.xml @@ -235,4 +235,7 @@ "സ്‌പാം" "%1$s ഓഫ്‌ലൈനായതിനാൽ കോൾ ചെയ്യാനാവില്ല" "ആമുഖം" + "കാണുക" + "കോൾ ഇല്ലാതാക്കി. ഈ കോൾ ചെയ്യുമ്പോൾ പങ്കിട്ട അറ്റാച്ച്‌മെന്റുകൾ മെസേജിൽ കാണുകയും ഇല്ലാതാക്കുകയും ചെയ്യുക." + "കോളുകൾ ഇല്ലാതാക്കി. ഈ കോളുകൾ ചെയ്യുമ്പോൾ പങ്കിട്ട അറ്റാച്ച്‌മെന്റുകൾ മെസേജിൽ കാണുകയും ഇല്ലാതാക്കുകയും ചെയ്യുക." diff --git a/java/com/android/dialer/app/res/values-mn/strings.xml b/java/com/android/dialer/app/res/values-mn/strings.xml index e0cd98710..e48c9b73c 100644 --- a/java/com/android/dialer/app/res/values-mn/strings.xml +++ b/java/com/android/dialer/app/res/values-mn/strings.xml @@ -235,4 +235,7 @@ "Спам" "%1$s офлайн, холбогдох боломжгүй байна" "Тухай" + "Үзэх" + "Дуудлагыг устгасан. Энэ дуудлагын явцад Зурвас дотор хуваалцсан хавсралтуудыг үзэх болон устгах." + "Дуудлагуудыг устгасан. Энэ дуудлагын явцад Зурвас дотор хуваалцсан хавсралтуудыг үзэх болон устгах." diff --git a/java/com/android/dialer/app/res/values-mr/strings.xml b/java/com/android/dialer/app/res/values-mr/strings.xml index 70e6d410c..f17f41831 100644 --- a/java/com/android/dialer/app/res/values-mr/strings.xml +++ b/java/com/android/dialer/app/res/values-mr/strings.xml @@ -235,4 +235,7 @@ "स्पॅम" "%1$s ऑफलाइन आहे आणि त्यांच्याशी संपर्क साधू शकत नाही" "बद्दल" + "पहा" + "कॉल हटविला. या कॉल दरम्यान Messages मध्ये सामायिक केलेली संलग्नके पहा आणि हटवा." + "कॉल हटविला. कॉल दरम्यान Messages मध्ये सामायिक केलेली संलग्नके पहा आणि हटवा." diff --git a/java/com/android/dialer/app/res/values-ms/strings.xml b/java/com/android/dialer/app/res/values-ms/strings.xml index f58f08f02..eba72ea77 100644 --- a/java/com/android/dialer/app/res/values-ms/strings.xml +++ b/java/com/android/dialer/app/res/values-ms/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s di luar talian dan tidak dapat dihubungi" "Perihal" + "Lihat" + "Panggilan dipadam. Lihat dan padam lampiran yang dikongsi semasa panggilan ini dalam Mesej." + "Panggilan dipadam. Lihat dan padam lampiran yang dikongsi semasa panggilan dalam Mesej." diff --git a/java/com/android/dialer/app/res/values-my/strings.xml b/java/com/android/dialer/app/res/values-my/strings.xml index 60c3271a0..857da2e6e 100644 --- a/java/com/android/dialer/app/res/values-my/strings.xml +++ b/java/com/android/dialer/app/res/values-my/strings.xml @@ -235,4 +235,7 @@ "စပမ်း" "%1$s သည် အော့ဖ်လိုင်းဖြစ်နေသောကြောင့် ဆက်သွယ်၍ မရနိုင်ပါ" "အကြောင်း" + "ကြည့်ရန်" + "ခေါ်ဆိုမှုကို ဖျက်လိုက်ပါပြီ။ မက်ဆေ့ဂျ်များရှိ ဤခေါ်ဆိုမှုအတောအတွင်း မျှဝေထားသော ပူးတွဲပါဖိုင်များကို ကြည့်ရှုပြီး ဖျက်ပါ။" + "ခေါ်ဆိုမှုကို ဖျက်လိုက်ပါပြီ။ မက်ဆေ့ဂျ်များရှိ ဤခေါ်ဆိုမှုများအတွင်း မျှဝေထားသော ပူးတွဲပါဖိုင်များကို ကြည့်ရှုပြီး ဖျက်ပါ။" diff --git a/java/com/android/dialer/app/res/values-nb/strings.xml b/java/com/android/dialer/app/res/values-nb/strings.xml index 344a26a51..4d2db167b 100644 --- a/java/com/android/dialer/app/res/values-nb/strings.xml +++ b/java/com/android/dialer/app/res/values-nb/strings.xml @@ -235,4 +235,7 @@ "Nettsøppel" "%1$s er frakoblet og kan ikke nås" "Om" + "Se" + "Anropet er slettet. Se og slett vedleggene som ble delt i denne samtalen, i Meldinger." + "Anropene er slettet. Se og slett vedleggene som ble delt i samtalene, i Meldinger." diff --git a/java/com/android/dialer/app/res/values-ne/strings.xml b/java/com/android/dialer/app/res/values-ne/strings.xml index 5e70c40b6..11be00ab4 100644 --- a/java/com/android/dialer/app/res/values-ne/strings.xml +++ b/java/com/android/dialer/app/res/values-ne/strings.xml @@ -235,4 +235,7 @@ "स्प्याम" "%1$s अफलाइन हुनुहुन्छ र वहाँलाई भेट्न सकिँदैन" "बारेमा" + "हेर्नुहोस्" + "कल मेटाइयो। Messages मा गरिएको यो कलका क्रममा समावेश गरी आदान-प्रदान गरिएका कागजातलाई हेर्नुहोस् र मेटाउनुहोस्।" + "कलहरू मेटाइए। Messages मा गरिएका कलहरूमा समावेश गरी आदान-प्रदान गरिएका कागजातलाई हेर्नुहोस् र मेटाउनुहोस्।" diff --git a/java/com/android/dialer/app/res/values-nl/strings.xml b/java/com/android/dialer/app/res/values-nl/strings.xml index dbd29bc78..73cf75f1f 100644 --- a/java/com/android/dialer/app/res/values-nl/strings.xml +++ b/java/com/android/dialer/app/res/values-nl/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s is offline en kan niet worden bereikt" "Over" + "Weergeven" + "Gesprek verwijderd. Bijlagen die in dit gesprek zijn gedeeld, kun je bekijken en verwijderen via Berichten." + "Gesprekken verwijderd. Bijlagen die in deze gesprekken zijn gedeeld, kun je bekijken en verwijderen via Berichten." diff --git a/java/com/android/dialer/app/res/values-no/strings.xml b/java/com/android/dialer/app/res/values-no/strings.xml index 344a26a51..4d2db167b 100644 --- a/java/com/android/dialer/app/res/values-no/strings.xml +++ b/java/com/android/dialer/app/res/values-no/strings.xml @@ -235,4 +235,7 @@ "Nettsøppel" "%1$s er frakoblet og kan ikke nås" "Om" + "Se" + "Anropet er slettet. Se og slett vedleggene som ble delt i denne samtalen, i Meldinger." + "Anropene er slettet. Se og slett vedleggene som ble delt i samtalene, i Meldinger." diff --git a/java/com/android/dialer/app/res/values-pa/strings.xml b/java/com/android/dialer/app/res/values-pa/strings.xml index 33afd5824..74f25e64a 100644 --- a/java/com/android/dialer/app/res/values-pa/strings.xml +++ b/java/com/android/dialer/app/res/values-pa/strings.xml @@ -235,4 +235,7 @@ "ਸਪੈਮ" "%1$s ਔਫਲਾਈਨ ਹੈ ਅਤੇ ਉਸ \'ਤੇ ਪਹੁੰਚ ਨਹੀਂ ਕੀਤੀ ਜਾ ਸਕਦੀ" "ਇਸ ਬਾਰੇ" + "ਦੇਖੋ" + "ਕਾਲ ਮਿਟਾਈ ਗਈ। ਇਸ ਕਾਲ ਦੌਰਾਨ &quot;ਸੁਨੇਹੇ&quot; ਐਪ ਵਿੱਚ ਸਾਂਝੀਆਂ ਕੀਤੀਆਂ ਅਟੈਚਮੈਂਟਾਂ ਨੂੰ ਦੇਖੋ ਅਤੇ ਮਿਟਾਓ।" + "ਕਾਲ ਮਿਟਾਈ ਗਈ। ਕਾਲਾਂ ਦੌਰਾਨ &quot;ਸੁਨੇਹੇ&quot; ਐਪ ਵਿੱਚ ਸਾਂਝੀਆਂ ਕੀਤੀਆਂ ਅਟੈਚਮੈਂਟਾਂ ਨੂੰ ਦੇਖੋ ਅਤੇ ਮਿਟਾਓ।" diff --git a/java/com/android/dialer/app/res/values-pl/strings.xml b/java/com/android/dialer/app/res/values-pl/strings.xml index 7f6027c51..17cc09e28 100644 --- a/java/com/android/dialer/app/res/values-pl/strings.xml +++ b/java/com/android/dialer/app/res/values-pl/strings.xml @@ -241,4 +241,7 @@ "Spam" "Użytkownik %1$s jest offline i nie można się z nim skontaktować" "Informacje" + "Wyświetl" + "Połączenie zostało usunięte. Załączniki udostępnione podczas tego połączenia możesz wyświetlić i usunąć w Wiadomościach." + "Połączenia zostały usunięte. Załączniki udostępnione podczas połączeń możesz wyświetlić i usunąć w Wiadomościach." diff --git a/java/com/android/dialer/app/res/values-pt-rBR/strings.xml b/java/com/android/dialer/app/res/values-pt-rBR/strings.xml index 768ce57d4..0e2ed7bca 100644 --- a/java/com/android/dialer/app/res/values-pt-rBR/strings.xml +++ b/java/com/android/dialer/app/res/values-pt-rBR/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s está off-line e não é possível entrar em contato" "Sobre" + "Ver" + "A chamada foi excluída. Veja e exclua os anexos compartilhados durante a chamada no Mensagens." + "As chamadas foram excluídas. Veja e exclua os anexos compartilhados durante as chamadas no Mensagens." diff --git a/java/com/android/dialer/app/res/values-pt-rPT/strings.xml b/java/com/android/dialer/app/res/values-pt-rPT/strings.xml index 3c636e1d6..0d2c46479 100644 --- a/java/com/android/dialer/app/res/values-pt-rPT/strings.xml +++ b/java/com/android/dialer/app/res/values-pt-rPT/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s está offline e não pode ser contactado" "Acerca de" + "Ver" + "A chamada foi eliminada. Veja e elimine os anexos partilhados durante esta chamada na aplicação Mensagens." + "As chamadas foram eliminadas. Veja e elimine os anexos partilhados durante as chamadas na aplicação Mensagens." diff --git a/java/com/android/dialer/app/res/values-pt/strings.xml b/java/com/android/dialer/app/res/values-pt/strings.xml index 768ce57d4..0e2ed7bca 100644 --- a/java/com/android/dialer/app/res/values-pt/strings.xml +++ b/java/com/android/dialer/app/res/values-pt/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s está off-line e não é possível entrar em contato" "Sobre" + "Ver" + "A chamada foi excluída. Veja e exclua os anexos compartilhados durante a chamada no Mensagens." + "As chamadas foram excluídas. Veja e exclua os anexos compartilhados durante as chamadas no Mensagens." diff --git a/java/com/android/dialer/app/res/values-ro/strings.xml b/java/com/android/dialer/app/res/values-ro/strings.xml index b85f84987..b9a4cd2e3 100644 --- a/java/com/android/dialer/app/res/values-ro/strings.xml +++ b/java/com/android/dialer/app/res/values-ro/strings.xml @@ -238,4 +238,7 @@ "Spam" "%1$s este offline și nu poate fi contactat(ă)" "Despre" + "Afișați" + "Apelul a fost șters. Afișați și ștergeți atașamentele trimise în timpul acestui apel în Messages." + "Apelurile au fost șterse. Afișați și ștergeți atașamentele trimise în timpul apelurilor în Messages." diff --git a/java/com/android/dialer/app/res/values-ru/strings.xml b/java/com/android/dialer/app/res/values-ru/strings.xml index 91441cc56..eaeea67b9 100644 --- a/java/com/android/dialer/app/res/values-ru/strings.xml +++ b/java/com/android/dialer/app/res/values-ru/strings.xml @@ -241,4 +241,7 @@ "Спам" "%1$s сейчас офлайн и не ответит на вызов" "О приложении" + "Посмотреть" + "Вызов удален. Посмотреть и удалить прикрепленные к нему файлы можно в приложении \"Сообщения\"." + "Вызовы удалены. Посмотреть и удалить прикрепленные к ним файлы можно в приложении \"Сообщения\"." diff --git a/java/com/android/dialer/app/res/values-si/strings.xml b/java/com/android/dialer/app/res/values-si/strings.xml index 8a748d53c..b03b15d18 100644 --- a/java/com/android/dialer/app/res/values-si/strings.xml +++ b/java/com/android/dialer/app/res/values-si/strings.xml @@ -235,4 +235,7 @@ "අයාචිත තැපෑල" "%1$s නොබැඳි අතර ළඟා වීමට නොහැකිය" "ගැන" + "බලන්න" + "ඇමතුම මකන ලදී. Messages වල මෙම ඇමතුම අතරතුර බෙදා ගත් ඇමුණුම් බලා මකන්න." + "ඇමතුම මකන ලදී. Messages වල මෙම ඇමතුම් අතරතුර බෙදා ගත් ඇමුණුම් බලා මකන්න." diff --git a/java/com/android/dialer/app/res/values-sk/strings.xml b/java/com/android/dialer/app/res/values-sk/strings.xml index e84febb17..a2c6c4710 100644 --- a/java/com/android/dialer/app/res/values-sk/strings.xml +++ b/java/com/android/dialer/app/res/values-sk/strings.xml @@ -241,4 +241,7 @@ "Spam" "%1$s je offline a nedá sa zastihnúť" "Informácie" + "Zobraziť" + "Hovor bol odstránený. Prílohy zdieľané počas neho si môžete pozrieť a odstrániť v aplikácii Správy." + "Hovory boli odstránené. Prílohy zdieľané počas nich si môžete pozrieť a odstrániť v aplikácii Správy." diff --git a/java/com/android/dialer/app/res/values-sl/strings.xml b/java/com/android/dialer/app/res/values-sl/strings.xml index 495b6e802..64e9bdaea 100644 --- a/java/com/android/dialer/app/res/values-sl/strings.xml +++ b/java/com/android/dialer/app/res/values-sl/strings.xml @@ -241,4 +241,7 @@ "Vsiljena pošta" "Oseba %1$s nima vzpostavljene povezave in ni dosegljiva" "Vizitka" + "Prikaži" + "Klic je izbrisan. Priloge, ki so bile dane v skupno rabo v tem klicu, si lahko ogledate in izbrišete v aplikaciji Messages." + "Klici so izbrisani. Priloge, ki so bile dane v skupno rabo v teh klicih, si lahko ogledate in izbrišete v aplikaciji Messages." diff --git a/java/com/android/dialer/app/res/values-sq/strings.xml b/java/com/android/dialer/app/res/values-sq/strings.xml index 809fd8a22..ca3d52236 100644 --- a/java/com/android/dialer/app/res/values-sq/strings.xml +++ b/java/com/android/dialer/app/res/values-sq/strings.xml @@ -235,4 +235,7 @@ "E bezdisshme" "%1$s është jashtë linje dhe nuk mund të kontaktohet" "Rreth" + "Shiko" + "Telefonata u fshi. Shiko dhe fshi bashkëngjitjet e ndara gjatë kësaj telefonate te \"Mesazhet\"." + "Telefonatat u fshinë. Shiko dhe fshi bashkëngjitjet e ndara gjatë telefonatave te \"Mesazhet\"." diff --git a/java/com/android/dialer/app/res/values-sr/strings.xml b/java/com/android/dialer/app/res/values-sr/strings.xml index 6f85c0ba8..d5fec5d59 100644 --- a/java/com/android/dialer/app/res/values-sr/strings.xml +++ b/java/com/android/dialer/app/res/values-sr/strings.xml @@ -238,4 +238,7 @@ "Непожељан" "%1$s је офлајн и не можете да га/је контактирате" "Основни подаци" + "Прикажи" + "Позив је избрисан. Прегледајте и избришите прилоге дељене током овог позива у Messages-у." + "Позиви су избрисани. Прегледајте и избришите прилоге дељене током позива у Messages-у." diff --git a/java/com/android/dialer/app/res/values-sv/strings.xml b/java/com/android/dialer/app/res/values-sv/strings.xml index e8446cab1..02b700225 100644 --- a/java/com/android/dialer/app/res/values-sv/strings.xml +++ b/java/com/android/dialer/app/res/values-sv/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s är offline och går inte att nå" "Om" + "Visa" + "Samtalet har raderats. Visa och radera bilagor som delats under samtalet i Messages." + "Samtalen har raderats. Visa och radera bilagor som delats under samtal i Messages." diff --git a/java/com/android/dialer/app/res/values-sw/strings.xml b/java/com/android/dialer/app/res/values-sw/strings.xml index 142aaf0de..1255af488 100644 --- a/java/com/android/dialer/app/res/values-sw/strings.xml +++ b/java/com/android/dialer/app/res/values-sw/strings.xml @@ -235,4 +235,7 @@ "Taka" "%1$s hayuko mtandaoni na hapatikani" "Kuhusu" + "Angalia" + "Mazungumzo ya simu yamefutwa. Angalia na ufute viambatisho vilivyoshirikiwa kwenye mazungumzo haya ya simu katika Programu ya Messages." + "Mazungumzo ya simu yamefutwa. Angalia na ufute viambatisho vilivyoshirikiwa kwenye mazungumzo ya simu katika Programu ya Messages." diff --git a/java/com/android/dialer/app/res/values-ta/strings.xml b/java/com/android/dialer/app/res/values-ta/strings.xml index e270a3cee..61e76443c 100644 --- a/java/com/android/dialer/app/res/values-ta/strings.xml +++ b/java/com/android/dialer/app/res/values-ta/strings.xml @@ -235,4 +235,7 @@ "ஸ்பேம்" "%1$s ஆஃப்லைனில் உள்ளதால், தொடர்புகொள்ள முடியாது" "அறிமுகம்" + "காட்டு" + "அழைப்பு நீக்கப்பட்டது. இந்த அழைப்பின் போது பகிர்ந்த இணைப்புகளை மெசேஜஸ் பயன்பாட்டில் பார்க்கலாம், நீக்கலாம்." + "அழைப்புகள் நீக்கப்பட்டன. அழைப்புகளின் போது பகிர்ந்த இணைப்புகளை மெசேஜஸ் பயன்பாட்டில் பார்க்கலாம், நீக்கலாம்." diff --git a/java/com/android/dialer/app/res/values-te/strings.xml b/java/com/android/dialer/app/res/values-te/strings.xml index 8d2c66784..3fb0c62dc 100644 --- a/java/com/android/dialer/app/res/values-te/strings.xml +++ b/java/com/android/dialer/app/res/values-te/strings.xml @@ -235,4 +235,7 @@ "స్పామ్" "%1$s ఆఫ్‌లైన్‌లో ఉన్నందున వారిని చేరుకోవడం సాధ్యపడదు" "పరిచయం" + "వీక్షించండి" + "కాల్ తొలగించబడింది. ఈ కాల్‌లో భాగస్వామ్యం చేయబడిన జోడింపులను సందేశాల అనువర్తనంలో వీక్షించండి మరియు తొలగించండి." + "కాల్ తొలగించబడింది. కాల్‌ల్లో భాగస్వామ్యం చేయబడిన జోడింపులను సందేశాల అనువర్తనంలో వీక్షించండి మరియు తొలగించండి." diff --git a/java/com/android/dialer/app/res/values-th/strings.xml b/java/com/android/dialer/app/res/values-th/strings.xml index 76a66e20e..43eef6756 100644 --- a/java/com/android/dialer/app/res/values-th/strings.xml +++ b/java/com/android/dialer/app/res/values-th/strings.xml @@ -235,4 +235,7 @@ "สแปม" "%1$s ออฟไลน์อยู่และไม่สามารถติดต่อได้" "เกี่ยวกับ" + "ดู" + "ลบการโทรแล้ว ดูและลบไฟล์แนบที่แชร์ระหว่างการโทรนี้ใน Messages" + "ลบการโทรแล้ว ดูและลบไฟล์แนบที่แชร์ระหว่างการโทรใน Messages" diff --git a/java/com/android/dialer/app/res/values-tl/strings.xml b/java/com/android/dialer/app/res/values-tl/strings.xml index 51e7a6659..f6f1a6704 100644 --- a/java/com/android/dialer/app/res/values-tl/strings.xml +++ b/java/com/android/dialer/app/res/values-tl/strings.xml @@ -235,4 +235,7 @@ "Spam" "Offline si %1$s at hindi makontak" "Tungkol dito" + "Tingnan" + "Dinelete ang tawag. Tingnan at i-delete ang mga attachment na ibinahagi sa tawag na ito sa Messages." + "Dinelete ang mga tawag. Tingnan at i-delete ang mga attachment na ibinahagi sa mga tawag sa Messages." diff --git a/java/com/android/dialer/app/res/values-tr/strings.xml b/java/com/android/dialer/app/res/values-tr/strings.xml index 1ff0128d4..cd46bf08d 100644 --- a/java/com/android/dialer/app/res/values-tr/strings.xml +++ b/java/com/android/dialer/app/res/values-tr/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s çevrimdışı olduğundan ulaşılamıyor" "Hakkında" + "Göster" + "Çağrı silindi. Bu çağrı sırasında paylaşılan ekleri Mesajlar\'da görebilir ve silebilirsiniz." + "Çağrılar silindi. Çağrılar sırasında paylaşılan ekleri Mesajlar\'da görebilir ve silebilirsiniz." diff --git a/java/com/android/dialer/app/res/values-uk/strings.xml b/java/com/android/dialer/app/res/values-uk/strings.xml index b92970daa..e2ae399b6 100644 --- a/java/com/android/dialer/app/res/values-uk/strings.xml +++ b/java/com/android/dialer/app/res/values-uk/strings.xml @@ -241,4 +241,7 @@ "Спам" "%1$s не в мережі, неможливо встановити зв’язок" "Про додаток" + "Переглянути" + "Виклик видалено. Переглянути й видалити файли, надіслані під час цього виклику, можна в Повідомленнях." + "Виклики видалено. Переглянути й видалити файли, надіслані під час цих викликів, можна в Повідомленнях." diff --git a/java/com/android/dialer/app/res/values-ur/strings.xml b/java/com/android/dialer/app/res/values-ur/strings.xml index cb2eb9e33..2b6a3eb07 100644 --- a/java/com/android/dialer/app/res/values-ur/strings.xml +++ b/java/com/android/dialer/app/res/values-ur/strings.xml @@ -235,4 +235,7 @@ "سپام" "%1$s آف لائن ہے اور اس تک پہنچا نہیں جا سکتا" "تفصیل" + "دیکھیں" + "کال حذف ہو گئی۔ اس کال کے دوران پیغامات کے اندر اشتراک کردہ منسلکہ جات ملاحظہ کریں اور حذف کریں۔" + "کالیں حذف ہو گئیں۔ کالوں کے دوران پیغامات کے اندر اشتراک کردہ منسلکہ جات ملاحظہ کریں اور حذف کریں۔" diff --git a/java/com/android/dialer/app/res/values-uz/strings.xml b/java/com/android/dialer/app/res/values-uz/strings.xml index c7d08f3bf..282539184 100644 --- a/java/com/android/dialer/app/res/values-uz/strings.xml +++ b/java/com/android/dialer/app/res/values-uz/strings.xml @@ -160,7 +160,7 @@ "Xabar yuborish" "Chaqiruv tafsilotlari" "Yuborish:" - "Qo‘ng‘iroq qilish: ^1" + "Chaqiruv: ^1" "Javobsiz chaqiruv: ^1, ^2, ^3, ^4." "Qo‘ng‘iroqqa javob berildi: ^1, ^2, ^3, ^4." "O‘qilmagan ovozli xabar (^1, ^2, ^3, ^4)." @@ -168,7 +168,7 @@ "Chaqiruv: ^1. ^2, ^3, ^4." "%1$s raqami orqali" "%1$s, %2$s raqami orqali" - "Qo‘ng‘iroq qilish: ^1" + "Chaqiruv: ^1" "Video qo‘ng‘iroq qilish: ^1." "^1 kontaktidan kelgan ovozli xabarni tinglash" "^1 tomonidan yuborilgan ovozli xabarni eshitish" @@ -225,7 +225,7 @@ "Qo‘ng‘iroqlaringiz ro‘yxatini ko‘rish uchun “Telefon” ruxsatnomasini yoqing." "Ovozli pochtaga kirish uchun “Telefon” ruxsatnomasini yoqing." "Kontaktlarni qidirish uchun “Kontaktlar” ruxsatnomasini yoqing." - "Qo‘ng‘iroq qilish uchun “Telefon” ruxsatnomasini yoqing." + "Chaqiruv uchun “Telefon” ruxsatnomasini yoqing." "Telefon ilovasida tizim sozlamalarini o‘zgartirish uchun ruxsat yo‘q." "Bloklandi" "Bloklash/spam deb belgilash" @@ -235,4 +235,7 @@ "Spam" "%1$s hozir oflayn va u bilan bog‘lanishning imkoni yo‘q" "Ilova haqida" + "Ko‘rish" + "Chaqiruv o‘chirildi. Android Xabarlar ilovasi orqali bu qo‘ng‘iroq davomida ulashilgan biriktirmalarni ko‘rish va o‘chirsh mumkin." + "Chaqiruvlar o‘chirildi. Android Xabarlar ilovasi orqali bu qo‘ng‘iroqlar davomida ulashilgan biriktirmalarni ko‘rish va o‘chirsh mumkin." diff --git a/java/com/android/dialer/app/res/values-vi/strings.xml b/java/com/android/dialer/app/res/values-vi/strings.xml index c79e1ed20..94f421fa0 100644 --- a/java/com/android/dialer/app/res/values-vi/strings.xml +++ b/java/com/android/dialer/app/res/values-vi/strings.xml @@ -235,4 +235,7 @@ "Spam" "%1$s ngoại tuyến và không liên hệ được" "Giới thiệu" + "Xem" + "Đã xóa cuộc gọi. Hãy xem và xóa tệp đính kèm được chia sẻ trong cuộc gọi này trong Messages." + "Đã xóa cuộc gọi. Hãy xem và xóa tệp đính kèm được chia sẻ trong các cuộc gọi này trong Messages." diff --git a/java/com/android/dialer/app/res/values-zh-rCN/strings.xml b/java/com/android/dialer/app/res/values-zh-rCN/strings.xml index 3262c1a02..4a5dd6e01 100644 --- a/java/com/android/dialer/app/res/values-zh-rCN/strings.xml +++ b/java/com/android/dialer/app/res/values-zh-rCN/strings.xml @@ -235,4 +235,7 @@ "骚扰电话号码" "%1$s不在线,无法接通" "应用信息" + "查看" + "通话已删除。请前往“信息”应用查看和删除通过此通话分享的附件。" + "通话已删除。请前往“信息”应用查看和删除通过通话分享的附件。" diff --git a/java/com/android/dialer/app/res/values-zh-rHK/strings.xml b/java/com/android/dialer/app/res/values-zh-rHK/strings.xml index 71e62eddc..3228d437a 100644 --- a/java/com/android/dialer/app/res/values-zh-rHK/strings.xml +++ b/java/com/android/dialer/app/res/values-zh-rHK/strings.xml @@ -235,4 +235,7 @@ "垃圾號碼" "%1$s已離線,無法取得聯繫" "關於" + "查看" + "已刪除通話。在「訊息」中查看及刪除此通話期間所分享的附件。" + "已刪除通話。在「訊息」中查看及刪除通話期間所分享的附件。" diff --git a/java/com/android/dialer/app/res/values-zh-rTW/strings.xml b/java/com/android/dialer/app/res/values-zh-rTW/strings.xml index 9178dcf67..160ea1f1d 100644 --- a/java/com/android/dialer/app/res/values-zh-rTW/strings.xml +++ b/java/com/android/dialer/app/res/values-zh-rTW/strings.xml @@ -235,4 +235,7 @@ "騷擾/廣告電話" "%1$s已離線,無法接聽來電" "關於" + "查看" + "已刪除這筆通話紀錄。你可以在「訊息」應用程式中查看及刪除通話期間分享的附件。" + "已刪除這些通話紀錄。你可以在「訊息」應用程式中查看及刪除通話期間分享的附件。" diff --git a/java/com/android/dialer/app/res/values-zu/strings.xml b/java/com/android/dialer/app/res/values-zu/strings.xml index f52f597c8..3110bd490 100644 --- a/java/com/android/dialer/app/res/values-zu/strings.xml +++ b/java/com/android/dialer/app/res/values-zu/strings.xml @@ -235,4 +235,7 @@ "Ugaxekile" "U-%1$s akaxhunyiwe kwi-inthanethi futhi akakwazi ukufinyelelwa" "Mayelana" + "Buka" + "Ikholi isusiwe. Buka uphinde ususe okunamathiselwe ku-imeyili okwabiwe ngesikhathi sale kholi kumilayezo." + "Amakholi asusiwe. Buka uphinde ususe okunamathiselwe kwi-imeyili okwabiwe ngesikhathi samakholi kumilayezo." diff --git a/java/com/android/dialer/app/res/values/strings.xml b/java/com/android/dialer/app/res/values/strings.xml index e02c6fb30..5549881c3 100644 --- a/java/com/android/dialer/app/res/values/strings.xml +++ b/java/com/android/dialer/app/res/values/strings.xml @@ -930,4 +930,14 @@ About + + View + + + Call deleted. View and delete attachments shared during this call in Messages. + + + Calls deleted. View and delete attachments shared during calls in Messages. diff --git a/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java b/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java index a7cfc0c00..b86ce8229 100644 --- a/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java +++ b/java/com/android/dialer/app/voicemail/LegacyVoicemailNotificationReceiver.java @@ -82,10 +82,9 @@ public class LegacyVoicemailNotificationReceiver extends BroadcastReceiver { return; } - if (UserManagerCompat.isUserUnlocked(context) - && VoicemailComponent.get(context) - .getVoicemailClient() - .isActivated(context, phoneAccountHandle)) { + if (VoicemailComponent.get(context) + .getVoicemailClient() + .isActivated(context, phoneAccountHandle)) { LogUtil.i( "LegacyVoicemailNotificationReceiver.onReceive", "visual voicemail is activated, ignoring notification"); diff --git a/java/com/android/dialer/app/voicemail/error/res/values-es/strings.xml b/java/com/android/dialer/app/voicemail/error/res/values-es/strings.xml index af0d583c9..b8689afbb 100644 --- a/java/com/android/dialer/app/voicemail/error/res/values-es/strings.xml +++ b/java/com/android/dialer/app/voicemail/error/res/values-es/strings.xml @@ -24,7 +24,7 @@ "Asegúrate de que tu teléfono tenga conexión a una red móvil y vuelve a intentarlo." "Desactiva el modo avión e inténtalo otra vez." "Sin conexión" - "No recibirás notificaciones de los mensajes de voz nuevos. Si estás usando una Wi-Fi, puedes sincronizar ahora el teléfono para comprobar si hay mensajes de voz." + "No recibirás notificaciones de los mensajes de voz nuevos. Si estás usando una conexión Wi-Fi, puedes sincronizar ahora el teléfono para comprobar si hay mensajes de voz." "No recibirás notificaciones de los mensajes de voz nuevos. Si quieres sincronizar tu buzón de voz, desactiva el modo avión." "Para comprobar el buzón de voz, necesitas una conexión de datos móviles en el teléfono." "No se puede activar el correo de voz visual" diff --git a/java/com/android/dialer/app/voicemail/error/res/values-eu/strings.xml b/java/com/android/dialer/app/voicemail/error/res/values-eu/strings.xml index 86be1e84a..bd9fa1c71 100644 --- a/java/com/android/dialer/app/voicemail/error/res/values-eu/strings.xml +++ b/java/com/android/dialer/app/voicemail/error/res/values-eu/strings.xml @@ -30,8 +30,8 @@ "Ezin da aktibatu ikusizko erantzungailua" "Deitu egin dezakezu erantzungailua egiaztatzeko." "Ezin da eguneratu ikusizko erantzungailua." - "Saiatu berriro Wi-Fi edo datu-konexioa hobeak direnean. Deitu egin dezakezu erantzungailua egiaztatzeko." - "Saiatu berriro datu-konexioa hobea denean. Deitu egin dezakezu erantzungailua egiaztatzeko." + "Saiatu berriro Wi-Fi edo datu-konexioa hobeak direnean. Bestela ere, deitu egin dezakezu erantzungailua egiaztatzeko." + "Saiatu berriro datu-konexioa hobea denean. Bestela ere, deitu egin dezakezu erantzungailua egiaztatzeko." "Ezin da eguneratu ikusizko erantzungailua." "Deitu egin dezakezu erantzungailua egiaztatzeko." "Ezin da eguneratu ikusizko erantzungailua." diff --git a/java/com/android/dialer/app/voicemail/error/res/values-hi/strings.xml b/java/com/android/dialer/app/voicemail/error/res/values-hi/strings.xml index 5cf42e378..0ff53f67c 100644 --- a/java/com/android/dialer/app/voicemail/error/res/values-hi/strings.xml +++ b/java/com/android/dialer/app/voicemail/error/res/values-hi/strings.xml @@ -24,7 +24,7 @@ "सुनिश्चित करें कि आपके फ़ोन में मोबाइल नेटवर्क कनेक्शन है और दोबारा कोशिश करें." "हवाई जहाज़ मोड बंद करें और फिर से प्रयास करें." "कोई कनेक्शन नहीं" - "आपको नए वॉइसमेल की सूचना नहीं दी जाएगी. अगर आप Wi‑Fi का उपयोग कर रहे हैं, तो अभी सिंक करके वॉइसमेल देख सकते हैं." + "आपको नए वॉइसमेल की सूचना नहीं दी जाएगी. अगर आप Wi‑Fi का उपयोग कर रहे हैं, तो आप अभी सिंक करके वॉइसमेल देख सकते हैं." "आपको नए वॉइसमेल के लिए सूचित नहीं किया जाएगा. अपना वॉइसमेल समन्वयित करने के लिए हवाई जहाज़ मोड बंद करें." "वॉइसमेल देखने के लिए आपके फ़ोन में मोबाइल डेटा कनेक्शन होना चाहिए." "विज़ुअल वॉइसमेल सक्रिय नहीं किया जा सकता" diff --git a/java/com/android/dialer/app/voicemail/error/res/values-km/strings.xml b/java/com/android/dialer/app/voicemail/error/res/values-km/strings.xml index 4b37c8b3c..92731cd07 100644 --- a/java/com/android/dialer/app/voicemail/error/res/values-km/strings.xml +++ b/java/com/android/dialer/app/voicemail/error/res/values-km/strings.xml @@ -21,7 +21,7 @@ "ធ្វើ​ឲ្យ​សកម្ម​សារ​ជា​សំឡេង​ដែល​មើល​ឃើញ" "អ្នក​ប្រហែលជា​​មិន​ទទួល​បាន​ការ​ជូនដំណឹង​ជា​សារ​សំឡេង​រហូត​​ទាល់តែ​ធ្វើ​ឲ្យ​សកម្ម​សារ​ជា​សំឡេង​ដែល​មើល​ឃើញ​ពេញលេញ​​។ ហៅ​ជា​សារ​សំឡេង​ដើម្បី​​ទទួល​បាន​សារ​ថ្មី​រហូត​សារ​ជា​សំឡេង​ត្រូវ​បាន​ធ្វើ​ឲ្យ​សកម្ម​ពេញលេញ។" "មិន​អាច​ធ្វើ​ឲ្យ​សកម្ម​សារ​ជា​សំឡេង​ដែល​មើល​ឃើញ​បាន​ទេ" - "ប្រាកដ​ថា ទូរសព្ទ​របស់​អ្នក​មាន​ភ្ជាប់​បណ្ដាញ​ទូរសព្ទ​ចល័ត រួច​ព្យាយាម​ម្ដង​ទៀត។" + "សូមប្រាកដ​ថា ទូរសព្ទ​របស់​អ្នក​មាន​ភ្ជាប់​បណ្ដាញ​ទូរសព្ទ​ចល័ត រួច​ព្យាយាម​ម្ដង​ទៀត។" "បិទ​របៀប​លើ​យន្តហោះ និង​ព្យាយាម​ម្ដង​ទៀត។" "គ្មាន​បណ្ដាញ​អ៊ីនធឺណិត" "អ្នក​នឹង​មិន​ទទួល​បាន​ការជូនដំណឹង នៅពេល​មាន​សារ​ជា​សំឡេង​ថ្មី​ទេ។ បើ​អ្នក​​ភ្ជាប់​ទៅ Wi-Fi អ្នក​អាច​ពិនិត្យមើល​​សារ​ជា​សំឡេង​ដោយ​ធ្វើ​សមកាលកម្ម​ឥឡូវ​នេះ។" @@ -30,8 +30,8 @@ "មិន​អាច​ធ្វើ​ឲ្យ​សកម្ម​សារ​ជា​សំឡេង​ដែល​មើល​ឃើញ​បាន​ទេ" "អ្នក​នៅ​តែ​អាច​ហៅ​​ទូរសព្ទ​ដើម្បី​ស្ដាប់​សារ​ជា​សំឡេង។" "មិន​អាច​ធ្វើ​បច្ចុប្បន្នភាព​សារ​​ជា​សំឡេង​ដែល​មើល​ឃើញ​បាន​​​ទេ។" - "ព្យាយាម​ម្ដង​ទៀត នៅពេល​មាន Wi-Fi ឬ​អ៊ីនធឺណិត​​តាម​​ទិន្នន័យ​​ទូរសព្ទ​ចល័ត​ប្រសើរ។ អ្នក​នៅ​តែ​អាច​ហៅ​ទូរសព្ទ​ ដើម្បី​​ពិនិត្យមើល​សារ​ជា​សំឡេង​​បាន។" - "ព្យាយាម​ម្ដង​ទៀត នៅពេល​​​​មាន​អ៊ីនធឺណិត​តាម​ទិន្នន័យ​​ទូរសព្ទ​ចល័ត​ប្រសើរ។ អ្នក​នៅ​តែ​អាច​ហៅ​ទូរសព្ទ​ ដើម្បី​​ស្ដាប់​សារ​ជា​សំឡេង​។" + "សូមព្យាយាម​ម្ដង​ទៀត នៅពេលការតភ្ជាប់ Wi-Fi ឬ​​​ទិន្នន័យ​​ទូរសព្ទ​ចល័តរបស់អ្នក​បានប្រសើរឡើង។ អ្នក​នៅ​តែ​អាច​ហៅ​ទូរសព្ទ​ ដើម្បី​​ពិនិត្យមើល​សារ​ជា​សំឡេង​​បាន។" + "សូមព្យាយាម​ម្ដង​ទៀត នៅពេល​​​​ការតភ្ជាប់​ទិន្នន័យ​​ទូរសព្ទ​ចល័តរបស់អ្នកបាន​ប្រសើរឡើង។ អ្នក​នៅ​តែ​អាច​ហៅ​ទូរសព្ទ​ ដើម្បី​​ពិនិត្យមើលសារ​ជា​សំឡេង​បាន។" "មិន​អាច​ធ្វើ​បច្ចុប្បន្នភាព​សារ​​ជា​សំឡេង​ដែល​មើល​ឃើញ​​បាន​ទេ។" "អ្នក​នៅ​តែ​អាច​ហៅ​​ទូរសព្ទ​ដើម្បី​ស្ដាប់​សារ​ជា​សំឡេង។" "មិន​អាច​ធ្វើ​បច្ចុប្បន្នភាព​សារ​​ជា​សំឡេង​ដែល​មើល​ឃើញ​បាន​​​ទេ។" diff --git a/java/com/android/dialer/app/voicemail/error/res/values-te/strings.xml b/java/com/android/dialer/app/voicemail/error/res/values-te/strings.xml index f2086c4d3..f17ad7931 100644 --- a/java/com/android/dialer/app/voicemail/error/res/values-te/strings.xml +++ b/java/com/android/dialer/app/voicemail/error/res/values-te/strings.xml @@ -30,7 +30,7 @@ "దృశ్య వాయిస్ మెయిల్‌ను సక్రియం చేయడం సాధ్యపడదు" "మీరు ఇప్పటికీ వాయిస్ మెయిల్‌ను తనిఖీ చేయడానికి కాల్ చేయవచ్చు." "దృశ్య వాయిస్ మెయిల్‌ను నవీకరించడం సాధ్యపడదు" - "మీ Wi-Fi లేదా మొబైల్ డేటా కనెక్షన్ మెరుగైనప్పుడు మళ్లీ ప్రయత్నించండి. మీరు వాయిస్ మెయిల్‌ను తనిఖీ చేయడానికి ఇప్పటికీ కాల్ చేయవచ్చు." + "మీ Wi-Fi లేదా మొబైల్ డేటా కనెక్షన్ మెరుగైనప్పుడు మళ్లీ ప్రయత్నించండి. మీరు ఇప్పటికీ వాయిస్ మెయిల్‌ను తనిఖీ చేయడానికి కాల్ చేయవచ్చు." "మీ మొబైల్ డేటా కనెక్షన్ మెరుగైనప్పుడు మళ్లీ ప్రయత్నించండి. మీరు ఇప్పటికీ వాయిస్ మెయిల్‌ను తనిఖీ చేయడానికి కాల్ చేయవచ్చు." "దృశ్య వాయిస్ మెయిల్‌ను నవీకరించడం సాధ్యపడదు" "మీరు ఇప్పటికీ వాయిస్ మెయిల్‌ను తనిఖీ చేయడానికి కాల్ చేయవచ్చు." diff --git a/java/com/android/dialer/backup/proto/voicemail_info.proto b/java/com/android/dialer/backup/proto/voicemail_info.proto index b74cce954..749768359 100644 --- a/java/com/android/dialer/backup/proto/voicemail_info.proto +++ b/java/com/android/dialer/backup/proto/voicemail_info.proto @@ -4,6 +4,7 @@ option java_package = "com.android.dialer.backup"; option java_multiple_files = true; option optimize_for = LITE_RUNTIME; + package com.android.dialer.backup; // Next id: 20 diff --git a/java/com/android/dialer/callcomposer/CallComposerActivity.java b/java/com/android/dialer/callcomposer/CallComposerActivity.java index 63d29b514..314752f93 100644 --- a/java/com/android/dialer/callcomposer/CallComposerActivity.java +++ b/java/com/android/dialer/callcomposer/CallComposerActivity.java @@ -23,6 +23,7 @@ import android.animation.ArgbEvaluator; import android.animation.ValueAnimator; import android.content.Context; import android.content.Intent; +import android.content.SharedPreferences; import android.content.res.Configuration; import android.net.Uri; import android.os.Bundle; @@ -36,6 +37,7 @@ import android.support.v4.view.animation.FastOutSlowInInterpolator; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.util.Base64; +import android.view.Gravity; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewAnimationUtils; @@ -47,6 +49,7 @@ import android.widget.ProgressBar; import android.widget.QuickContactBadge; import android.widget.RelativeLayout; import android.widget.TextView; +import android.widget.Toast; import com.android.contacts.common.ContactPhotoManager; import com.android.dialer.callcomposer.CallComposerFragment.CallComposerListener; import com.android.dialer.callintent.CallInitiationType; @@ -69,6 +72,7 @@ import com.android.dialer.logging.Logger; import com.android.dialer.multimedia.MultimediaData; import com.android.dialer.protos.ProtoParsers; import com.android.dialer.telecom.TelecomUtil; +import com.android.dialer.util.DialerUtils; import com.android.dialer.util.ViewUtil; import com.android.dialer.widget.DialerToolbar; import com.android.dialer.widget.LockableViewPager; @@ -93,6 +97,7 @@ public class CallComposerActivity extends AppCompatActivity EnrichedCallManager.StateChangedListener { public static final String KEY_CONTACT_NAME = "contact_name"; + private static final String KEY_IS_FIRST_CALL_COMPOSE = "is_first_call_compose"; private static final int ENTRANCE_ANIMATION_DURATION_MILLIS = 500; private static final int EXIT_ANIMATION_DURATION_MILLIS = 500; @@ -384,13 +389,27 @@ public class CallComposerActivity extends AppCompatActivity } private void placeRCSCall(MultimediaData.Builder builder) { - LogUtil.i("CallComposerActivity.placeRCSCall", "placing enriched call"); + MultimediaData data = builder.build(); + LogUtil.i("CallComposerActivity.placeRCSCall", "placing enriched call, data: " + data); Logger.get(this).logImpression(DialerImpression.Type.CALL_COMPOSER_ACTIVITY_PLACE_RCS_CALL); - getEnrichedCallManager().sendCallComposerData(sessionId, builder.build()); + getEnrichedCallManager().sendCallComposerData(sessionId, data); TelecomUtil.placeCall( this, new CallIntentBuilder(contact.getNumber(), CallInitiationType.Type.CALL_COMPOSER).build()); setResult(RESULT_OK); + SharedPreferences preferences = + DialerUtils.getDefaultSharedPreferenceForDeviceProtectedStorageContext(this); + + // Show a toast for privacy purposes if this is the first time a user uses call composer. + if (preferences.getBoolean(KEY_IS_FIRST_CALL_COMPOSE, true)) { + int privacyMessage = + data.hasImageData() ? R.string.image_sent_messages : R.string.message_sent_messages; + Toast toast = Toast.makeText(this, privacyMessage, Toast.LENGTH_LONG); + int yOffset = getResources().getDimensionPixelOffset(R.dimen.privacy_toast_y_offset); + toast.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM, 0, yOffset); + toast.show(); + preferences.edit().putBoolean(KEY_IS_FIRST_CALL_COMPOSE, false).apply(); + } finish(); } diff --git a/java/com/android/dialer/callcomposer/CopyAndResizeImageWorker.java b/java/com/android/dialer/callcomposer/CopyAndResizeImageWorker.java index aeb8e0388..725cea723 100644 --- a/java/com/android/dialer/callcomposer/CopyAndResizeImageWorker.java +++ b/java/com/android/dialer/callcomposer/CopyAndResizeImageWorker.java @@ -21,6 +21,7 @@ import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.graphics.BitmapFactory; +import android.media.ExifInterface; import android.net.Uri; import android.os.Build.VERSION_CODES; import android.support.annotation.NonNull; @@ -47,17 +48,26 @@ class CopyAndResizeImageWorker implements Worker> { } /** - * @param input The input Uri is expected to be a image openable by {@link - * android.content.ContentResolver#openInputStream(Uri)}. + * @param input The filepath where the image is located. * @return a Pair where the File contains the resized image, and the String is the result File's * MIME type. */ @Nullable @Override public Pair doInBackground(@Nullable Uri input) throws Throwable { + // BitmapFactory.decodeStream strips exif data, so we need to save it here and apply it later. + int rotation = 0; + try { + rotation = + new ExifInterface(input.getPath()) + .getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_NORMAL); + } catch (Exception ignored) { + // Couldn't get exif tags, not the end of the world + } + try (InputStream inputStream = context.getContentResolver().openInputStream(input)) { Bitmap bitmap = BitmapFactory.decodeStream(inputStream); - bitmap = BitmapResizer.resizeForEnrichedCalling(bitmap); + bitmap = BitmapResizer.resizeForEnrichedCalling(bitmap, exifToDegrees(rotation)); File outputFile = DialerUtils.createShareableFile(context); try (OutputStream outputStream = new FileOutputStream(outputFile)) { @@ -67,4 +77,17 @@ class CopyAndResizeImageWorker implements Worker> { } } } + + private static int exifToDegrees(int exifOrientation) { + switch (exifOrientation) { + case ExifInterface.ORIENTATION_ROTATE_90: + return 90; + case ExifInterface.ORIENTATION_ROTATE_180: + return 180; + case ExifInterface.ORIENTATION_ROTATE_270: + return 270; + default: + return 0; + } + } } diff --git a/java/com/android/dialer/callcomposer/camera/ImagePersistTask.java b/java/com/android/dialer/callcomposer/camera/ImagePersistTask.java index 7cb6921e9..8620701fe 100644 --- a/java/com/android/dialer/callcomposer/camera/ImagePersistTask.java +++ b/java/com/android/dialer/callcomposer/camera/ImagePersistTask.java @@ -20,7 +20,6 @@ import android.annotation.TargetApi; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; -import android.graphics.Matrix; import android.net.Uri; import android.os.Build.VERSION_CODES; import android.support.v4.content.FileProvider; @@ -119,13 +118,9 @@ public class ImagePersistTask extends FallibleAsyncTask { mWidth = clippedWidth; mHeight = clippedHeight; - Matrix matrix = new Matrix(); - matrix.postRotate(params.rotation); - Bitmap clippedBitmap = - Bitmap.createBitmap( - bitmap, offsetLeft, offsetTop, clippedWidth, clippedHeight, matrix, true); - clippedBitmap = BitmapResizer.resizeForEnrichedCalling(clippedBitmap); + Bitmap.createBitmap(bitmap, offsetLeft, offsetTop, clippedWidth, clippedHeight); + clippedBitmap = BitmapResizer.resizeForEnrichedCalling(clippedBitmap, params.rotation); // EXIF data can take a big chunk of the file size and we've already manually rotated our image, // so remove all of the exif data. exifInterface.clearExif(); diff --git a/java/com/android/dialer/callcomposer/res/values-af/strings.xml b/java/com/android/dialer/callcomposer/res/values-af/strings.xml index 44277c82e..ef358651b 100644 --- a/java/com/android/dialer/callcomposer/res/values-af/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-af/strings.xml @@ -33,4 +33,8 @@ "Neem \'n foto" "Kies \'n foto" "Stuur \'n boodskap" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-am/strings.xml b/java/com/android/dialer/callcomposer/res/values-am/strings.xml index d848a0489..8224b1e3d 100644 --- a/java/com/android/dialer/callcomposer/res/values-am/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-am/strings.xml @@ -33,4 +33,8 @@ "ፎቶ ያንሱ" "ፎቶ ይምረጡ" "መልዕክት ይላኩ" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ar/strings.xml b/java/com/android/dialer/callcomposer/res/values-ar/strings.xml index 44ea0eba4..4e27f21ba 100644 --- a/java/com/android/dialer/callcomposer/res/values-ar/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ar/strings.xml @@ -33,4 +33,8 @@ "التقاط صورة" "اختيار صورة" "إرسال رسالة" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-az/strings.xml b/java/com/android/dialer/callcomposer/res/values-az/strings.xml index 47a8257dd..d861e660e 100644 --- a/java/com/android/dialer/callcomposer/res/values-az/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-az/strings.xml @@ -33,4 +33,8 @@ "Şəkil çəkin" "Foto seçin" "Mesaj göndərin" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-b+sr+Latn/strings.xml b/java/com/android/dialer/callcomposer/res/values-b+sr+Latn/strings.xml index ef3ff06da..0a93b224c 100644 --- a/java/com/android/dialer/callcomposer/res/values-b+sr+Latn/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-b+sr+Latn/strings.xml @@ -33,4 +33,8 @@ "Slikajte" "Izaberite sliku" "Pošaljite poruku" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-be/strings.xml b/java/com/android/dialer/callcomposer/res/values-be/strings.xml index b667cdbce..ba55fc7b2 100644 --- a/java/com/android/dialer/callcomposer/res/values-be/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-be/strings.xml @@ -33,4 +33,8 @@ "Зрабіць фота" "Выбраць фота" "Адправіць паведамленне" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-bg/strings.xml b/java/com/android/dialer/callcomposer/res/values-bg/strings.xml index 6a458c4a7..7dad394c3 100644 --- a/java/com/android/dialer/callcomposer/res/values-bg/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-bg/strings.xml @@ -33,4 +33,8 @@ "Правене на снимка" "Избиране на снимка" "Изпращане на съобщение" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-bn/strings.xml b/java/com/android/dialer/callcomposer/res/values-bn/strings.xml index c23edb63a..607f195a1 100644 --- a/java/com/android/dialer/callcomposer/res/values-bn/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-bn/strings.xml @@ -33,4 +33,8 @@ "একটি ছবি তুলুন" "একটি ফটো বেছে নিন" "একটি বার্তা পাঠান" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-bs/strings.xml b/java/com/android/dialer/callcomposer/res/values-bs/strings.xml index 2955aeaee..99ca5db88 100644 --- a/java/com/android/dialer/callcomposer/res/values-bs/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-bs/strings.xml @@ -33,4 +33,8 @@ "Uslikaj" "Izaberi fotografiju" "Pošalji poruku" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ca/strings.xml b/java/com/android/dialer/callcomposer/res/values-ca/strings.xml index 5b457e2db..7b553467e 100644 --- a/java/com/android/dialer/callcomposer/res/values-ca/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ca/strings.xml @@ -33,4 +33,8 @@ "Fes una foto" "Tria una foto" "Envia un missatge" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-cs/strings.xml b/java/com/android/dialer/callcomposer/res/values-cs/strings.xml index 2f4a06bea..f30bb3c78 100644 --- a/java/com/android/dialer/callcomposer/res/values-cs/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-cs/strings.xml @@ -33,4 +33,8 @@ "Vyfotit" "Vybrat fotku" "Poslat zprávu" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-da/strings.xml b/java/com/android/dialer/callcomposer/res/values-da/strings.xml index 3f7fb03b7..bae4495e9 100644 --- a/java/com/android/dialer/callcomposer/res/values-da/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-da/strings.xml @@ -33,4 +33,8 @@ "Tag et billede" "Vælg et billede" "Send en sms" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-de/strings.xml b/java/com/android/dialer/callcomposer/res/values-de/strings.xml index a57359eb4..ac7ce4e10 100644 --- a/java/com/android/dialer/callcomposer/res/values-de/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-de/strings.xml @@ -33,4 +33,8 @@ "Bild aufnehmen" "Foto auswählen" "Nachricht senden" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-el/strings.xml b/java/com/android/dialer/callcomposer/res/values-el/strings.xml index 17001352b..1e7659bfd 100644 --- a/java/com/android/dialer/callcomposer/res/values-el/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-el/strings.xml @@ -33,4 +33,8 @@ "Λήψη φωτογραφίας" "Επιλογή φωτογραφίας" "Αποστολή μηνύματος" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-en-rAU/strings.xml b/java/com/android/dialer/callcomposer/res/values-en-rAU/strings.xml index 3398551f0..2b3f7a37d 100644 --- a/java/com/android/dialer/callcomposer/res/values-en-rAU/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-en-rAU/strings.xml @@ -33,4 +33,8 @@ "Take a picture" "Choose a photo" "Sending a message" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-en-rGB/strings.xml b/java/com/android/dialer/callcomposer/res/values-en-rGB/strings.xml index 3398551f0..2b3f7a37d 100644 --- a/java/com/android/dialer/callcomposer/res/values-en-rGB/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-en-rGB/strings.xml @@ -33,4 +33,8 @@ "Take a picture" "Choose a photo" "Sending a message" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-en-rIN/strings.xml b/java/com/android/dialer/callcomposer/res/values-en-rIN/strings.xml index 3398551f0..2b3f7a37d 100644 --- a/java/com/android/dialer/callcomposer/res/values-en-rIN/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-en-rIN/strings.xml @@ -33,4 +33,8 @@ "Take a picture" "Choose a photo" "Sending a message" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-es-rUS/strings.xml b/java/com/android/dialer/callcomposer/res/values-es-rUS/strings.xml index fc0927ff0..67bac9783 100644 --- a/java/com/android/dialer/callcomposer/res/values-es-rUS/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-es-rUS/strings.xml @@ -33,4 +33,8 @@ "Tomar una foto" "Elegir una foto" "Enviar un mensaje" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-es/strings.xml b/java/com/android/dialer/callcomposer/res/values-es/strings.xml index c6f0dcd5b..4b87268d2 100644 --- a/java/com/android/dialer/callcomposer/res/values-es/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-es/strings.xml @@ -33,4 +33,8 @@ "Hacer una foto" "Elegir una foto" "Enviar un mensaje" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-et/strings.xml b/java/com/android/dialer/callcomposer/res/values-et/strings.xml index ecb2deebd..896525db3 100644 --- a/java/com/android/dialer/callcomposer/res/values-et/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-et/strings.xml @@ -33,4 +33,8 @@ "Pildistamine" "Foto valimine" "Sõnumi saatmine" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-eu/strings.xml b/java/com/android/dialer/callcomposer/res/values-eu/strings.xml index b55dfd2cf..ce7e29617 100644 --- a/java/com/android/dialer/callcomposer/res/values-eu/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-eu/strings.xml @@ -33,4 +33,8 @@ "Atera argazki bat" "Aukeratu argazki bat" "Bidali mezu bat" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-fa/strings.xml b/java/com/android/dialer/callcomposer/res/values-fa/strings.xml index 034ab262c..6f0c2e55b 100644 --- a/java/com/android/dialer/callcomposer/res/values-fa/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-fa/strings.xml @@ -33,4 +33,8 @@ "عکس گرفتن" "انتخاب عکس" "ارسال پیام" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-fi/strings.xml b/java/com/android/dialer/callcomposer/res/values-fi/strings.xml index c19cd7b89..ce0786c9b 100644 --- a/java/com/android/dialer/callcomposer/res/values-fi/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-fi/strings.xml @@ -33,4 +33,8 @@ "Ota kuva" "Valitse kuva" "Lähetä viesti" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-fr-rCA/strings.xml b/java/com/android/dialer/callcomposer/res/values-fr-rCA/strings.xml index 37b1f198f..0451dcfc1 100644 --- a/java/com/android/dialer/callcomposer/res/values-fr-rCA/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-fr-rCA/strings.xml @@ -33,4 +33,8 @@ "Prendre une photo" "Choisir une photo" "Envoyer un message" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-fr/strings.xml b/java/com/android/dialer/callcomposer/res/values-fr/strings.xml index 00078a4d5..50e61946c 100644 --- a/java/com/android/dialer/callcomposer/res/values-fr/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-fr/strings.xml @@ -33,4 +33,8 @@ "Prendre une photo" "Choisir une photo" "Envoyer un message" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-gl/strings.xml b/java/com/android/dialer/callcomposer/res/values-gl/strings.xml index 44b1790dc..2ad2c9a60 100644 --- a/java/com/android/dialer/callcomposer/res/values-gl/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-gl/strings.xml @@ -33,4 +33,8 @@ "Tira unha foto" "Escolle unha foto" "Envía unha mensaxe" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-gu/strings.xml b/java/com/android/dialer/callcomposer/res/values-gu/strings.xml index 64ffc1fb0..8c9a521eb 100644 --- a/java/com/android/dialer/callcomposer/res/values-gu/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-gu/strings.xml @@ -33,4 +33,8 @@ "એક ચિત્ર લો" "ફોટો પસંદ કરો" "એક સંદેશ મોકલો" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-hi/strings.xml b/java/com/android/dialer/callcomposer/res/values-hi/strings.xml index 6b0bc040a..8d4f91e40 100644 --- a/java/com/android/dialer/callcomposer/res/values-hi/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-hi/strings.xml @@ -33,4 +33,8 @@ "चित्र लें" "एक फ़ोटो चुनें" "संदेश भेजें" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-hr/strings.xml b/java/com/android/dialer/callcomposer/res/values-hr/strings.xml index a51318a37..cc3219d9f 100644 --- a/java/com/android/dialer/callcomposer/res/values-hr/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-hr/strings.xml @@ -33,4 +33,8 @@ "Snimi fotografiju" "Odaberi fotografiju" "Pošalji poruku" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-hu/strings.xml b/java/com/android/dialer/callcomposer/res/values-hu/strings.xml index a5faaa2bb..b222c53a9 100644 --- a/java/com/android/dialer/callcomposer/res/values-hu/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-hu/strings.xml @@ -33,4 +33,8 @@ "Kép készítése" "Fotó kiválasztása" "Üzenet küldése" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-hy/strings.xml b/java/com/android/dialer/callcomposer/res/values-hy/strings.xml index ea92e6ad4..01635f65a 100644 --- a/java/com/android/dialer/callcomposer/res/values-hy/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-hy/strings.xml @@ -33,4 +33,8 @@ "Լուսանկարել" "Ընտրել լուսանկար" "Ուղարկել հաղորդագրություն" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-in/strings.xml b/java/com/android/dialer/callcomposer/res/values-in/strings.xml index 302395b88..4c6d84495 100644 --- a/java/com/android/dialer/callcomposer/res/values-in/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-in/strings.xml @@ -33,4 +33,8 @@ "Jepret" "Pilih foto" "Mengirim pesan" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-is/strings.xml b/java/com/android/dialer/callcomposer/res/values-is/strings.xml index cf525e18a..d951edd48 100644 --- a/java/com/android/dialer/callcomposer/res/values-is/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-is/strings.xml @@ -33,4 +33,8 @@ "Taka mynd" "Velja mynd" "Senda skilaboð" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-it/strings.xml b/java/com/android/dialer/callcomposer/res/values-it/strings.xml index 4a10984c6..9d26b2ced 100644 --- a/java/com/android/dialer/callcomposer/res/values-it/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-it/strings.xml @@ -33,4 +33,8 @@ "Scatta una foto" "Scegli una foto" "Invia un messaggio" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-iw/strings.xml b/java/com/android/dialer/callcomposer/res/values-iw/strings.xml index 7fed44782..26e7daf81 100644 --- a/java/com/android/dialer/callcomposer/res/values-iw/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-iw/strings.xml @@ -33,4 +33,8 @@ "צילום תמונה" "בחירת תמונה" "שליחת הודעה" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ja/strings.xml b/java/com/android/dialer/callcomposer/res/values-ja/strings.xml index d13f40e9a..96eaea5ae 100644 --- a/java/com/android/dialer/callcomposer/res/values-ja/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ja/strings.xml @@ -33,4 +33,8 @@ "画像を撮影します" "写真を選択します" "メッセージを送信します" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ka/strings.xml b/java/com/android/dialer/callcomposer/res/values-ka/strings.xml index 8c2823fe6..0cef94df9 100644 --- a/java/com/android/dialer/callcomposer/res/values-ka/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ka/strings.xml @@ -33,4 +33,8 @@ "სურათის გადაღება" "ფოტოს არჩევა" "შეტყობინების გაგზავნა" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-kk/strings.xml b/java/com/android/dialer/callcomposer/res/values-kk/strings.xml index 2a0f6416d..c95fb7b26 100644 --- a/java/com/android/dialer/callcomposer/res/values-kk/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-kk/strings.xml @@ -33,4 +33,8 @@ "Суретке түсіру" "Суретті таңдау" "Хабар жіберу" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-km/strings.xml b/java/com/android/dialer/callcomposer/res/values-km/strings.xml index 0e63923d7..66f82c581 100644 --- a/java/com/android/dialer/callcomposer/res/values-km/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-km/strings.xml @@ -33,4 +33,8 @@ "ថតរូប" "ជ្រើសរើស​រូបថត" "ផ្ញើសារ" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-kn/strings.xml b/java/com/android/dialer/callcomposer/res/values-kn/strings.xml index 96f7d5b46..7bb1e48ec 100644 --- a/java/com/android/dialer/callcomposer/res/values-kn/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-kn/strings.xml @@ -33,4 +33,8 @@ "ಚಿತ್ರ ತೆಗೆದುಕೊಳ್ಳಿ" "ಒಂದು ಫೋಟೋ ಆಯ್ಕೆಮಾಡಿ" "ಸಂದೇಶ ಕಳುಹಿಸಿ" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ko/strings.xml b/java/com/android/dialer/callcomposer/res/values-ko/strings.xml index 1dd63beb4..1052d551d 100644 --- a/java/com/android/dialer/callcomposer/res/values-ko/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ko/strings.xml @@ -33,4 +33,8 @@ "사진 촬영" "사진 선택" "메시지 보내기" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ky/strings.xml b/java/com/android/dialer/callcomposer/res/values-ky/strings.xml index 4a1f50400..6e5889d69 100644 --- a/java/com/android/dialer/callcomposer/res/values-ky/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ky/strings.xml @@ -33,4 +33,8 @@ "Сүрөткө тартуу" "Сүрөттү тандоо" "Билдирүү жөнөтүү" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-lo/strings.xml b/java/com/android/dialer/callcomposer/res/values-lo/strings.xml index 5d58509d4..87d72dbc6 100644 --- a/java/com/android/dialer/callcomposer/res/values-lo/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-lo/strings.xml @@ -33,4 +33,8 @@ "ຖ່າຍຮູບ" "ເລືອກຮູບພາບ..." "ສົ່ງຂໍ້ຄວາມ" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-lt/strings.xml b/java/com/android/dialer/callcomposer/res/values-lt/strings.xml index 75f12360c..07fe444b0 100644 --- a/java/com/android/dialer/callcomposer/res/values-lt/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-lt/strings.xml @@ -33,4 +33,8 @@ "Fotografuoti" "Pasirinkti nuotrauką" "Siųsti pranešimą" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-lv/strings.xml b/java/com/android/dialer/callcomposer/res/values-lv/strings.xml index 895e0f374..9a3efc7c4 100644 --- a/java/com/android/dialer/callcomposer/res/values-lv/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-lv/strings.xml @@ -33,4 +33,8 @@ "Uzņemt attēlu" "Izvēlēties fotoattēlu" "Sūtīt ziņojumu" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-mk/strings.xml b/java/com/android/dialer/callcomposer/res/values-mk/strings.xml index 623972e24..218c23d90 100644 --- a/java/com/android/dialer/callcomposer/res/values-mk/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-mk/strings.xml @@ -33,4 +33,8 @@ "Фотографирајте" "Изберете фотографија" "Испратете порака" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ml/strings.xml b/java/com/android/dialer/callcomposer/res/values-ml/strings.xml index ad2ce5d85..0e58cbbf0 100644 --- a/java/com/android/dialer/callcomposer/res/values-ml/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ml/strings.xml @@ -33,4 +33,8 @@ "ഒരു ചിത്രമെടുക്കുക" "ഒരു ഫോട്ടോ തിരഞ്ഞെടുക്കുക" "ഒരു സന്ദേശം അയയ്‌ക്കുക" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-mn/strings.xml b/java/com/android/dialer/callcomposer/res/values-mn/strings.xml index 8895da727..872874071 100644 --- a/java/com/android/dialer/callcomposer/res/values-mn/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-mn/strings.xml @@ -33,4 +33,8 @@ "Зураг авах" "Зураг сонгоно уу" "Зурвас илгээх" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-mr/strings.xml b/java/com/android/dialer/callcomposer/res/values-mr/strings.xml index fcfdebe55..3ca51a2b2 100644 --- a/java/com/android/dialer/callcomposer/res/values-mr/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-mr/strings.xml @@ -33,4 +33,8 @@ "एक फोटो घ्या" "फोटो निवडा" "एक संदेश पाठवा" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ms/strings.xml b/java/com/android/dialer/callcomposer/res/values-ms/strings.xml index 7101489a1..e722b88b2 100644 --- a/java/com/android/dialer/callcomposer/res/values-ms/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ms/strings.xml @@ -33,4 +33,8 @@ "Ambil gambar" "Pilih foto" "Hantar mesej" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-my/strings.xml b/java/com/android/dialer/callcomposer/res/values-my/strings.xml index 02fc375bc..b49b1eaad 100644 --- a/java/com/android/dialer/callcomposer/res/values-my/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-my/strings.xml @@ -33,4 +33,8 @@ "ဓာတ်ပုံတစ်ပုံ ရိုက်ရန်" "ဓာတ်ပုံတစ်ပုံ ရွေးရန်" "မက်ဆေ့ဂျ်ပို့ရန်" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-nb/strings.xml b/java/com/android/dialer/callcomposer/res/values-nb/strings.xml index d66a165b2..07caf6ee0 100644 --- a/java/com/android/dialer/callcomposer/res/values-nb/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-nb/strings.xml @@ -33,4 +33,8 @@ "Ta et bilde" "Velg et bilde" "Send en melding" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ne/strings.xml b/java/com/android/dialer/callcomposer/res/values-ne/strings.xml index a73f6f8c5..03eac6cba 100644 --- a/java/com/android/dialer/callcomposer/res/values-ne/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ne/strings.xml @@ -33,4 +33,8 @@ "तस्बिर खिच्नुहोस्" "तस्बिर छनौट गर्नुहोस्" "सन्देश पठाउनुहोस्" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-nl/strings.xml b/java/com/android/dialer/callcomposer/res/values-nl/strings.xml index 2125f5cd1..7a73d93c1 100644 --- a/java/com/android/dialer/callcomposer/res/values-nl/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-nl/strings.xml @@ -33,4 +33,8 @@ "Een foto nemen" "Een foto kiezen" "Een bericht verzenden" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-no/strings.xml b/java/com/android/dialer/callcomposer/res/values-no/strings.xml index d66a165b2..07caf6ee0 100644 --- a/java/com/android/dialer/callcomposer/res/values-no/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-no/strings.xml @@ -33,4 +33,8 @@ "Ta et bilde" "Velg et bilde" "Send en melding" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-pa/strings.xml b/java/com/android/dialer/callcomposer/res/values-pa/strings.xml index 8241984a4..25de393e0 100644 --- a/java/com/android/dialer/callcomposer/res/values-pa/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-pa/strings.xml @@ -33,4 +33,8 @@ "ਇੱਕ ਤਸਵੀਰ ਖਿੱਚੋ" "ਇੱਕ ਫ਼ੋਟੋ ਚੁਣੋ" "ਇੱਕ ਸੁਨੇਹਾ ਭੇਜੋ" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-pl/strings.xml b/java/com/android/dialer/callcomposer/res/values-pl/strings.xml index 473007d9b..b65ba236d 100644 --- a/java/com/android/dialer/callcomposer/res/values-pl/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-pl/strings.xml @@ -33,4 +33,8 @@ "Zrób zdjęcie" "Wybierz zdjęcie" "Wyślij wiadomość" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-pt-rBR/strings.xml b/java/com/android/dialer/callcomposer/res/values-pt-rBR/strings.xml index 7996e06a0..669e8505a 100644 --- a/java/com/android/dialer/callcomposer/res/values-pt-rBR/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-pt-rBR/strings.xml @@ -33,4 +33,8 @@ "Tirar uma foto" "Escolher uma foto" "Enviar uma mensagem" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-pt-rPT/strings.xml b/java/com/android/dialer/callcomposer/res/values-pt-rPT/strings.xml index e071969ec..45411d389 100644 --- a/java/com/android/dialer/callcomposer/res/values-pt-rPT/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-pt-rPT/strings.xml @@ -33,4 +33,8 @@ "Tirar uma foto" "Selecionar foto" "Enviar uma mensagem" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-pt/strings.xml b/java/com/android/dialer/callcomposer/res/values-pt/strings.xml index 7996e06a0..669e8505a 100644 --- a/java/com/android/dialer/callcomposer/res/values-pt/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-pt/strings.xml @@ -33,4 +33,8 @@ "Tirar uma foto" "Escolher uma foto" "Enviar uma mensagem" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ro/strings.xml b/java/com/android/dialer/callcomposer/res/values-ro/strings.xml index 48f6ec09b..cd8359f53 100644 --- a/java/com/android/dialer/callcomposer/res/values-ro/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ro/strings.xml @@ -33,4 +33,8 @@ "Fotografiați" "Alegeți o fotografie" "Trimiteți un mesaj" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ru/strings.xml b/java/com/android/dialer/callcomposer/res/values-ru/strings.xml index f991b0955..1119a0eb8 100644 --- a/java/com/android/dialer/callcomposer/res/values-ru/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ru/strings.xml @@ -33,4 +33,8 @@ "Сделать фото" "Выбрать фото" "Отправить сообщение" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-si/strings.xml b/java/com/android/dialer/callcomposer/res/values-si/strings.xml index ac27473a8..dfae242f9 100644 --- a/java/com/android/dialer/callcomposer/res/values-si/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-si/strings.xml @@ -33,4 +33,8 @@ "පින්තුරයක් ගැනීම" "ඡායාරූපයක් තේරීම" "පණිවිඩයක් යැවීම" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-sk/strings.xml b/java/com/android/dialer/callcomposer/res/values-sk/strings.xml index 6945d7606..f54c73e25 100644 --- a/java/com/android/dialer/callcomposer/res/values-sk/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-sk/strings.xml @@ -33,4 +33,8 @@ "Odfotiť" "Vybrať fotku" "Odoslať správu" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-sl/strings.xml b/java/com/android/dialer/callcomposer/res/values-sl/strings.xml index 2384edd74..010ad07b5 100644 --- a/java/com/android/dialer/callcomposer/res/values-sl/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-sl/strings.xml @@ -33,4 +33,8 @@ "Posnemi fotografijo" "Izberi fotografijo" "Pošlji sporočilo" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-sq/strings.xml b/java/com/android/dialer/callcomposer/res/values-sq/strings.xml index 924383ea4..b106d5a1e 100644 --- a/java/com/android/dialer/callcomposer/res/values-sq/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-sq/strings.xml @@ -33,4 +33,8 @@ "Bëj një fotografi" "Zgjidh një fotografi" "Dërgo një mesazh" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-sr/strings.xml b/java/com/android/dialer/callcomposer/res/values-sr/strings.xml index c4c337f9f..2b85628d9 100644 --- a/java/com/android/dialer/callcomposer/res/values-sr/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-sr/strings.xml @@ -33,4 +33,8 @@ "Сликајте" "Изаберите слику" "Пошаљите поруку" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-sv/strings.xml b/java/com/android/dialer/callcomposer/res/values-sv/strings.xml index e19a5b550..e60bbe946 100644 --- a/java/com/android/dialer/callcomposer/res/values-sv/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-sv/strings.xml @@ -33,4 +33,8 @@ "Ta en bild" "Välj ett foto" "Skicka ett meddelande" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-sw/strings.xml b/java/com/android/dialer/callcomposer/res/values-sw/strings.xml index 280c48869..f67c8994e 100644 --- a/java/com/android/dialer/callcomposer/res/values-sw/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-sw/strings.xml @@ -33,4 +33,8 @@ "Piga picha" "Chagua picha" "Tuma ujumbe" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ta/strings.xml b/java/com/android/dialer/callcomposer/res/values-ta/strings.xml index df2a41242..ae59b3d30 100644 --- a/java/com/android/dialer/callcomposer/res/values-ta/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ta/strings.xml @@ -33,4 +33,8 @@ "படமெடுக்கவும்" "புகைப்படத்தைத் தேர்வு செய்யும்" "செய்தியை அனுப்பும்" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-te/strings.xml b/java/com/android/dialer/callcomposer/res/values-te/strings.xml index 9b8834de9..01d0910ea 100644 --- a/java/com/android/dialer/callcomposer/res/values-te/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-te/strings.xml @@ -33,4 +33,8 @@ "చిత్రాన్ని తీస్తుంది" "ఫోటోను ఎంచుకోండి" "సందేశాన్ని పంపుతుంది" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-th/strings.xml b/java/com/android/dialer/callcomposer/res/values-th/strings.xml index d643d5340..53dbaea63 100644 --- a/java/com/android/dialer/callcomposer/res/values-th/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-th/strings.xml @@ -33,4 +33,8 @@ "ถ่ายภาพ" "เลือกรูปภาพ" "ส่งข้อความ" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-tl/strings.xml b/java/com/android/dialer/callcomposer/res/values-tl/strings.xml index e325ef5d5..910d907a9 100644 --- a/java/com/android/dialer/callcomposer/res/values-tl/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-tl/strings.xml @@ -33,4 +33,8 @@ "Kumuha ng larawan" "Pumili ng larawan" "Magpadala ng mensahe" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-tr/strings.xml b/java/com/android/dialer/callcomposer/res/values-tr/strings.xml index 66557fd67..51069ead3 100644 --- a/java/com/android/dialer/callcomposer/res/values-tr/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-tr/strings.xml @@ -33,4 +33,8 @@ "Resim çeker" "Fotoğraf seçilmesini sağlar" "Mesaj gönderir" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-uk/strings.xml b/java/com/android/dialer/callcomposer/res/values-uk/strings.xml index 45f5de5b3..57ee7224c 100644 --- a/java/com/android/dialer/callcomposer/res/values-uk/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-uk/strings.xml @@ -33,4 +33,8 @@ "Зробити знімок" "Вибрати фотографію" "Надіслати повідомлення" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-ur/strings.xml b/java/com/android/dialer/callcomposer/res/values-ur/strings.xml index ff96b0a23..28d79b82b 100644 --- a/java/com/android/dialer/callcomposer/res/values-ur/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-ur/strings.xml @@ -33,4 +33,8 @@ "تصویر لیں" "ایک تصویر چنیں" "پیغام بھیجیں" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-uz/strings.xml b/java/com/android/dialer/callcomposer/res/values-uz/strings.xml index 28e237867..a3c7346ba 100644 --- a/java/com/android/dialer/callcomposer/res/values-uz/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-uz/strings.xml @@ -33,4 +33,8 @@ "Rasmga olish" "Rasm tanlash" "Xabar yuborish" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-vi/strings.xml b/java/com/android/dialer/callcomposer/res/values-vi/strings.xml index b4a4b9e69..7be47a00c 100644 --- a/java/com/android/dialer/callcomposer/res/values-vi/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-vi/strings.xml @@ -33,4 +33,8 @@ "Chụp ảnh" "Chọn ảnh" "Gửi tin nhắn" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-zh-rCN/strings.xml b/java/com/android/dialer/callcomposer/res/values-zh-rCN/strings.xml index 6e2324d76..39ace9d71 100644 --- a/java/com/android/dialer/callcomposer/res/values-zh-rCN/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-zh-rCN/strings.xml @@ -33,4 +33,8 @@ "拍照" "选择一张照片" "发送信息" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-zh-rHK/strings.xml b/java/com/android/dialer/callcomposer/res/values-zh-rHK/strings.xml index a05100ec4..87052ffb9 100644 --- a/java/com/android/dialer/callcomposer/res/values-zh-rHK/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-zh-rHK/strings.xml @@ -33,4 +33,8 @@ "拍照" "選擇相片" "傳送訊息" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-zh-rTW/strings.xml b/java/com/android/dialer/callcomposer/res/values-zh-rTW/strings.xml index 206a02b40..51cc8f669 100644 --- a/java/com/android/dialer/callcomposer/res/values-zh-rTW/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-zh-rTW/strings.xml @@ -33,4 +33,8 @@ "拍攝相片" "選擇相片" "傳送訊息" + + + + diff --git a/java/com/android/dialer/callcomposer/res/values-zu/strings.xml b/java/com/android/dialer/callcomposer/res/values-zu/strings.xml index 61cfac05e..3e2db44d1 100644 --- a/java/com/android/dialer/callcomposer/res/values-zu/strings.xml +++ b/java/com/android/dialer/callcomposer/res/values-zu/strings.xml @@ -33,4 +33,8 @@ "Thatha isithombe" "Khetha isithombe" "Thumela umlayezo" + + + + 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 @@ 8dp 16dp 48dp + + 108dp \ 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 @@ Choose a photo Send a message + + Photo sent via Messages + + Message sent via Messages \ No newline at end of file diff --git a/java/com/android/dialer/callcomposer/util/BitmapResizer.java b/java/com/android/dialer/callcomposer/util/BitmapResizer.java index 658462def..84ada51d8 100644 --- a/java/com/android/dialer/callcomposer/util/BitmapResizer.java +++ b/java/com/android/dialer/callcomposer/util/BitmapResizer.java @@ -17,6 +17,7 @@ package com.android.dialer.callcomposer.util; import android.graphics.Bitmap; +import android.graphics.Matrix; import android.support.annotation.VisibleForTesting; import com.android.dialer.common.Assert; import com.android.dialer.common.LogUtil; @@ -28,40 +29,44 @@ public final class BitmapResizer { /** * Returns a bitmap that is a resized version of the parameter image. The image will only be * resized down and sized to be appropriate for an enriched call. + * + * @param image to be resized + * @param rotation degrees to rotate the image clockwise + * @return resized image */ - public static Bitmap resizeForEnrichedCalling(Bitmap image) { + public static Bitmap resizeForEnrichedCalling(Bitmap image, int rotation) { Assert.isWorkerThread(); int width = image.getWidth(); int height = image.getHeight(); + Matrix matrix = new Matrix(); + matrix.postRotate(rotation); + LogUtil.i( "BitmapResizer.resizeForEnrichedCalling", "starting height: %d, width: %d", height, width); if (width <= MAX_OUTPUT_RESOLUTION && height <= MAX_OUTPUT_RESOLUTION) { LogUtil.i("BitmapResizer.resizeForEnrichedCalling", "no resizing needed"); - return image; + return Bitmap.createBitmap(image, 0, 0, width, height, matrix, true); } + float ratio = 1; if (width > height) { // landscape - float ratio = width / (float) MAX_OUTPUT_RESOLUTION; - width = MAX_OUTPUT_RESOLUTION; - height = (int) (height / ratio); - } else if (height > width) { - // portrait - float ratio = height / (float) MAX_OUTPUT_RESOLUTION; - height = MAX_OUTPUT_RESOLUTION; - width = (int) (width / ratio); + ratio = MAX_OUTPUT_RESOLUTION / (float) width; } else { - // square - height = MAX_OUTPUT_RESOLUTION; - width = MAX_OUTPUT_RESOLUTION; + // portrait & square + ratio = MAX_OUTPUT_RESOLUTION / (float) height; } LogUtil.i( - "BitmapResizer.resizeForEnrichedCalling", "ending height: %d, width: %d", height, width); + "BitmapResizer.resizeForEnrichedCalling", + "ending height: %f, width: %f", + height * ratio, + width * ratio); - return Bitmap.createScaledBitmap(image, width, height, true); + matrix.postScale(ratio, ratio); + return Bitmap.createBitmap(image, 0, 0, width, height, matrix, true); } } diff --git a/java/com/android/dialer/calldetails/CallDetailsActivity.java b/java/com/android/dialer/calldetails/CallDetailsActivity.java index 70cb61adc..411006c46 100644 --- a/java/com/android/dialer/calldetails/CallDetailsActivity.java +++ b/java/com/android/dialer/calldetails/CallDetailsActivity.java @@ -45,12 +45,20 @@ import java.util.List; public class CallDetailsActivity extends AppCompatActivity implements OnMenuItemClickListener, CallDetailsFooterViewHolder.ReportCallIdListener { + public static final String EXTRA_PHONE_NUMBER = "phone_number"; + public static final String EXTRA_HAS_ENRICHED_CALL_DATA = "has_enriched_call_data"; private static final String EXTRA_CALL_DETAILS_ENTRIES = "call_details_entries"; private static final String EXTRA_CONTACT = "contact"; private static final String EXTRA_CAN_REPORT_CALLER_ID = "can_report_caller_id"; private static final String TASK_DELETE = "task_delete"; private List entries; + private DialerContact contact; + + public static boolean isLaunchIntent(Intent intent) { + return intent.getComponent() != null + && CallDetailsActivity.class.getName().equals(intent.getComponent().getClassName()); + } public static Intent newInstance( Context context, @@ -104,8 +112,7 @@ public class CallDetailsActivity extends AppCompatActivity } private void onHandleIntent(Intent intent) { - DialerContact contact = - ProtoParsers.getTrusted(intent, EXTRA_CONTACT, DialerContact.getDefaultInstance()); + contact = ProtoParsers.getTrusted(intent, EXTRA_CONTACT, DialerContact.getDefaultInstance()); entries = ProtoParsers.getTrusted( intent, EXTRA_CALL_DETAILS_ENTRIES, CallDetailsEntries.getDefaultInstance()) @@ -169,6 +176,15 @@ public class CallDetailsActivity extends AppCompatActivity @Override public void onPostExecute(Void result) { + Intent data = new Intent(); + data.putExtra(EXTRA_PHONE_NUMBER, contact.getNumber()); + for (CallDetailsEntry entry : entries) { + if (entry.getHistoryResultsCount() > 0) { + data.putExtra(EXTRA_HAS_ENRICHED_CALL_DATA, true); + break; + } + } + setResult(RESULT_OK, data); finish(); } } diff --git a/java/com/android/dialer/calldetails/ReportDialogFragment.java b/java/com/android/dialer/calldetails/ReportDialogFragment.java index c27bd611b..0861c9dbb 100644 --- a/java/com/android/dialer/calldetails/ReportDialogFragment.java +++ b/java/com/android/dialer/calldetails/ReportDialogFragment.java @@ -32,6 +32,8 @@ import com.android.dialer.common.LogUtil; import com.android.dialer.common.concurrent.DialerExecutor.SuccessListener; import com.android.dialer.common.concurrent.DialerExecutor.Worker; import com.android.dialer.common.concurrent.DialerExecutorComponent; +import com.android.dialer.logging.DialerImpression; +import com.android.dialer.logging.Logger; import com.android.dialer.phonenumbercache.CachedNumberLookupService; import com.android.dialer.phonenumbercache.CachedNumberLookupService.CachedContactInfo; import com.android.dialer.phonenumbercache.PhoneNumberCache; @@ -144,8 +146,10 @@ public class ReportDialogFragment extends DialogFragment { Context context = output.first; boolean wasReport = output.second; if (wasReport) { + Logger.get(context).logImpression(DialerImpression.Type.CALLER_ID_REPORTED); Toast.makeText(context, R.string.report_caller_id_toast, Toast.LENGTH_SHORT).show(); } else { + Logger.get(context).logImpression(DialerImpression.Type.CALLER_ID_REPORT_FAILED); Toast.makeText(context, R.string.report_caller_id_failed, Toast.LENGTH_SHORT).show(); } } diff --git a/java/com/android/dialer/calldetails/proto/call_details_entries.proto b/java/com/android/dialer/calldetails/proto/call_details_entries.proto index e254b7713..18bc931cb 100644 --- a/java/com/android/dialer/calldetails/proto/call_details_entries.proto +++ b/java/com/android/dialer/calldetails/proto/call_details_entries.proto @@ -4,6 +4,7 @@ option java_package = "com.android.dialer.calldetails"; option java_multiple_files = true; option optimize_for = LITE_RUNTIME; + import "java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto"; package com.android.dialer.calldetails; diff --git a/java/com/android/dialer/callintent/CallIntentBuilder.java b/java/com/android/dialer/callintent/CallIntentBuilder.java index c9468baa6..e5a0be848 100644 --- a/java/com/android/dialer/callintent/CallIntentBuilder.java +++ b/java/com/android/dialer/callintent/CallIntentBuilder.java @@ -51,6 +51,7 @@ public class CallIntentBuilder { .setTimeSinceFirstClick(PerformanceReport.getTimeSinceFirstClick()) .addAllUiActionsSinceAppLaunch(PerformanceReport.getActions()) .addAllUiActionTimestampsSinceAppLaunch(PerformanceReport.getActionTimestamps()) + .setStartingTabIndex(PerformanceReport.getStartingTabIndex()) .build(); PerformanceReport.stopRecording(); } else { diff --git a/java/com/android/dialer/callintent/call_initiation_type.proto b/java/com/android/dialer/callintent/call_initiation_type.proto index 994399fd9..e1385b7ef 100644 --- a/java/com/android/dialer/callintent/call_initiation_type.proto +++ b/java/com/android/dialer/callintent/call_initiation_type.proto @@ -4,6 +4,7 @@ option java_package = "com.android.dialer.callintent"; option java_multiple_files = true; option optimize_for = LITE_RUNTIME; + package com.android.dialer.callintent; diff --git a/java/com/android/dialer/callintent/call_specific_app_data.proto b/java/com/android/dialer/callintent/call_specific_app_data.proto index 766449f71..5d23794d5 100644 --- a/java/com/android/dialer/callintent/call_specific_app_data.proto +++ b/java/com/android/dialer/callintent/call_specific_app_data.proto @@ -4,6 +4,7 @@ option java_package = "com.android.dialer.callintent"; option java_multiple_files = true; option optimize_for = LITE_RUNTIME; + package com.android.dialer.callintent; import "java/com/android/dialer/callintent/call_initiation_type.proto"; @@ -13,7 +14,7 @@ import "java/com/android/dialer/logging/ui_action.proto"; // Miscellaneous data that's included in a new outgoing call initiated by // Dialer. The system will pass this data to the InCallUi which can use it // for logging or for something else. -// Next tag: 10 +// Next tag: 11 message CallSpecificAppData { optional CallInitiationType.Type call_initiation_type = 1; @@ -31,4 +32,6 @@ message CallSpecificAppData { repeated com.android.dialer.logging.UiAction.Type ui_actions_since_app_launch = 8; repeated int64 ui_action_timestamps_since_app_launch = 9; + + optional int32 starting_tab_index = 10; } diff --git a/java/com/android/dialer/callintent/speed_dial_contact_type.proto b/java/com/android/dialer/callintent/speed_dial_contact_type.proto index bf34d095a..588eadf5a 100644 --- a/java/com/android/dialer/callintent/speed_dial_contact_type.proto +++ b/java/com/android/dialer/callintent/speed_dial_contact_type.proto @@ -4,6 +4,7 @@ option java_package = "com.android.dialer.callintent"; option java_multiple_files = true; option optimize_for = LITE_RUNTIME; + package com.android.dialer.callintent; @@ -17,4 +18,3 @@ message SpeedDialContactType { FREQUENT_CONTACT = 3; } } - diff --git a/java/com/android/dialer/calllog/testing/FakeCallLogApplication.java b/java/com/android/dialer/calllog/testing/FakeCallLogApplication.java deleted file mode 100644 index 8aee7dd56..000000000 --- a/java/com/android/dialer/calllog/testing/FakeCallLogApplication.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * 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 - */ -package com.android.dialer.calllog.testing; - -import android.app.Application; -import com.android.dialer.calllog.CallLogComponent; -import com.android.dialer.calllog.CallLogModule; -import com.android.dialer.calllog.database.CallLogDatabaseComponent; -import com.android.dialer.common.concurrent.DialerExecutorComponent; -import com.android.dialer.common.concurrent.testing.TestDialerExecutorModule; -import com.android.dialer.inject.ContextModule; -import com.android.dialer.inject.HasRootComponent; -import dagger.Component; -import javax.inject.Singleton; - -/** - * Fake application for call log robolectric tests which uses all real bindings but doesn't require - * tests to depend on and use all of DialerApplication. - */ -public final class FakeCallLogApplication extends Application implements HasRootComponent { - private Object rootComponent; - - @Override - public final synchronized Object component() { - if (rootComponent == null) { - rootComponent = - DaggerFakeCallLogApplication_FakeComponent.builder() - .contextModule(new ContextModule(this)) - .build(); - } - return rootComponent; - } - - @Singleton - @Component(modules = {CallLogModule.class, ContextModule.class, TestDialerExecutorModule.class}) - interface FakeComponent - extends CallLogDatabaseComponent.HasComponent, - CallLogComponent.HasComponent, - DialerExecutorComponent.HasComponent {} -} diff --git a/java/com/android/dialer/calllogutils/res/values-am/strings.xml b/java/com/android/dialer/calllogutils/res/values-am/strings.xml index c5da1c6c0..0d9b8a9b8 100644 --- a/java/com/android/dialer/calllogutils/res/values-am/strings.xml +++ b/java/com/android/dialer/calllogutils/res/values-am/strings.xml @@ -34,8 +34,8 @@ "ሰ" "%d %s %d %s" "%d %s" - "%s\'%s\' %s\'%s\'" - "%s\'%s\'" + "%s \'%s\' %s \'%s\'" + "%s \'%s\'" ሰከንዶች ሰከንዶች diff --git a/java/com/android/dialer/calllogutils/res/values-ar/strings.xml b/java/com/android/dialer/calllogutils/res/values-ar/strings.xml index 39afb6d1d..617d6d893 100644 --- a/java/com/android/dialer/calllogutils/res/values-ar/strings.xml +++ b/java/com/android/dialer/calllogutils/res/values-ar/strings.xml @@ -34,8 +34,8 @@ "ث" "%d %s %d %s" "%d %s" - "%s\'%s\' %s\'%s\'" - "%s\'%s\'" + "%s\'%s\' %s\'%s" + "%s\'%s" ثوان ثانيتان diff --git a/java/com/android/dialer/calllogutils/res/values-lv/strings.xml b/java/com/android/dialer/calllogutils/res/values-lv/strings.xml index c87dbb622..cc176f8c0 100644 --- a/java/com/android/dialer/calllogutils/res/values-lv/strings.xml +++ b/java/com/android/dialer/calllogutils/res/values-lv/strings.xml @@ -35,7 +35,7 @@ "%d %s %d %s" "%d %s" "%s \'%s\' %s \'%s\'" - "%s \'%s\'" + "%s\'%s\'" sekunžu sekunde diff --git a/java/com/android/dialer/calllogutils/res/values-ml/strings.xml b/java/com/android/dialer/calllogutils/res/values-ml/strings.xml index 0064401f1..1fcb564db 100644 --- a/java/com/android/dialer/calllogutils/res/values-ml/strings.xml +++ b/java/com/android/dialer/calllogutils/res/values-ml/strings.xml @@ -35,7 +35,7 @@ "%d %s %d %s" "%d %s" "%s\'%s\' %s\'%s\'" - "%s\'%s\'" + "%s \'%s\'" സെക്കൻഡ് സെക്കൻഡ് diff --git a/java/com/android/dialer/calllogutils/res/values-ur/strings.xml b/java/com/android/dialer/calllogutils/res/values-ur/strings.xml index 4f73a49bd..3ab6f1347 100644 --- a/java/com/android/dialer/calllogutils/res/values-ur/strings.xml +++ b/java/com/android/dialer/calllogutils/res/values-ur/strings.xml @@ -34,8 +34,8 @@ "سیکنڈ" "%d %s %d %s" "%d %s" - "%s\'%s\' %s\'%s\'" - "%s\'%s\'" + "%s \'%s\' %s \'%s\'‎" + "%s \'%s\'‎" سیکنڈز سیکنڈ diff --git a/java/com/android/dialer/dialercontact/dialer_contact.proto b/java/com/android/dialer/dialercontact/dialer_contact.proto index 9b7724f5a..d63295bcd 100644 --- a/java/com/android/dialer/dialercontact/dialer_contact.proto +++ b/java/com/android/dialer/dialercontact/dialer_contact.proto @@ -4,6 +4,7 @@ option java_package = "com.android.dialer.dialercontact"; option java_multiple_files = true; option optimize_for = LITE_RUNTIME; + package com.android.dialer.callcomposer; message DialerContact { diff --git a/java/com/android/dialer/dialpadview/res/layout/dialpad_view_unthemed.xml b/java/com/android/dialer/dialpadview/res/layout/dialpad_view_unthemed.xml index 838f1eca5..13c11f1ce 100644 --- a/java/com/android/dialer/dialpadview/res/layout/dialpad_view_unthemed.xml +++ b/java/com/android/dialer/dialpadview/res/layout/dialpad_view_unthemed.xml @@ -14,141 +14,142 @@ limitations under the License. --> + android:id="@+id/dialpad_view" + class="com.android.dialer.dialpadview.DialpadView" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="bottom" + android:background="?attr/dialpad_background" + android:clickable="true" + android:elevation="?attr/dialpad_elevation" + android:layoutDirection="ltr" + android:orientation="vertical"> + android:id="@+id/rate_container" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:visibility="gone"> + android:id="@+id/ild_container" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/ild_margin_height" + android:layout_marginBottom="@dimen/ild_margin_height" + android:layout_gravity="center_horizontal" + android:orientation="horizontal"> + android:id="@+id/ild_country" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + android:id="@+id/ild_rate" + android:textStyle="bold" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="4dp"/> + android:layout_width="match_parent" + android:layout_height="1dp" + android:background="#e3e3e3"/> + android:id="@+id/digits_container" + android:layout_width="match_parent" + android:layout_height="?attr/dialpad_digits_adjustable_height" + android:orientation="horizontal"> + android:id="@+id/dialpad_back" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_margin="@dimen/dialpad_overflow_margin" + android:paddingLeft="@dimen/dialpad_digits_menu_left_padding" + android:paddingRight="@dimen/dialpad_digits_menu_right_padding" + android:background="@drawable/btn_dialpad_key" + android:contentDescription="@string/description_dialpad_back" + android:gravity="center" + android:src="@drawable/quantum_ic_close_white_24" + android:tint="?attr/dialpad_icon_tint" + android:tintMode="src_in" + android:visibility="gone"/> + android:id="@+id/dialpad_overflow" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_margin="@dimen/dialpad_overflow_margin" + android:paddingLeft="@dimen/dialpad_digits_menu_left_padding" + android:paddingRight="@dimen/dialpad_digits_menu_right_padding" + android:background="@drawable/btn_dialpad_key" + android:contentDescription="@string/description_dialpad_overflow" + android:gravity="center" + android:src="@drawable/quantum_ic_more_vert_white_24" + android:tint="?attr/dialpad_icon_tint" + android:tintMode="src_in" + android:visibility="gone"/> + android:id="@+id/digits" + class="com.android.dialer.dialpadview.DigitsEditText" + android:textStyle="normal" + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="1" + android:background="@android:color/transparent" + android:cursorVisible="false" + android:focusableInTouchMode="true" + android:fontFamily="sans-serif" + android:freezesText="true" + android:gravity="center" + android:importantForAutofill="no" + android:maxLines="1" + android:scrollHorizontally="true" + android:singleLine="true" + android:textColor="?attr/dialpad_text_color" + android:textCursorDrawable="@null" + android:textSize="?attr/dialpad_digits_adjustable_text_size" + ex:resizing_text_min_size="@dimen/dialpad_digits_text_min_size"/> + android:id="@+id/deleteButton" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:paddingLeft="@dimen/dialpad_digits_padding" + android:paddingRight="@dimen/dialpad_digits_padding" + android:background="@drawable/btn_dialpad_key" + android:contentDescription="@string/description_delete_button" + android:src="@drawable/quantum_ic_backspace_white_24" + android:state_enabled="false" + android:tint="?attr/dialpad_icon_tint" + android:tintMode="src_in"/> + android:layout_width="match_parent" + android:layout_height="1dp" + android:background="#e3e3e3"/> + android:layout_width="match_parent" + android:layout_height="@dimen/dialpad_space_above_keys"/> + android:layout_width="match_parent" + android:layout_height="@dimen/dialpad_space_below_keys"/> diff --git a/java/com/android/dialer/enrichedcall/EnrichedCallManager.java b/java/com/android/dialer/enrichedcall/EnrichedCallManager.java index 0d3ed9e43..d341b43f9 100644 --- a/java/com/android/dialer/enrichedcall/EnrichedCallManager.java +++ b/java/com/android/dialer/enrichedcall/EnrichedCallManager.java @@ -185,6 +185,15 @@ public interface EnrichedCallManager { @Nullable Session getSession(long sessionId); + /** + * Returns a list containing viewable string representations of all existing sessions. + * + *

Intended for debug display purposes only. + */ + @MainThread + @NonNull + List getAllSessionsForDisplay(); + @NonNull Filter createIncomingCallComposerFilter(); @@ -212,6 +221,10 @@ public interface EnrichedCallManager { Map> getAllHistoricalData( @NonNull String number, @NonNull CallDetailsEntries entries); + /** Returns true if any enriched calls have been made or received. */ + @MainThread + boolean hasStoredData(); + /** * Unregisters the given {@link StateChangedListener}. * diff --git a/java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto b/java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto index 62d013a46..8efb35cc1 100644 --- a/java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto +++ b/java/com/android/dialer/enrichedcall/historyquery/proto/history_result.proto @@ -4,6 +4,7 @@ option java_package = "com.android.dialer.enrichedcall.historyquery.proto"; option java_multiple_files = true; option optimize_for = LITE_RUNTIME; + package com.android.dialer.enrichedcall.historyquery.proto; // Holds data that was used in an enrichedcall in the past diff --git a/java/com/android/dialer/enrichedcall/simulator/AndroidManifest.xml b/java/com/android/dialer/enrichedcall/simulator/AndroidManifest.xml new file mode 100644 index 000000000..003ff19d5 --- /dev/null +++ b/java/com/android/dialer/enrichedcall/simulator/AndroidManifest.xml @@ -0,0 +1,26 @@ + + + + + + + diff --git a/java/com/android/dialer/enrichedcall/simulator/EnrichedCallSimulatorActivity.java b/java/com/android/dialer/enrichedcall/simulator/EnrichedCallSimulatorActivity.java new file mode 100644 index 000000000..bbc1ada6f --- /dev/null +++ b/java/com/android/dialer/enrichedcall/simulator/EnrichedCallSimulatorActivity.java @@ -0,0 +1,110 @@ +/* + * 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. + */ + +package com.android.dialer.enrichedcall.simulator; + +import android.content.Context; +import android.content.Intent; +import android.os.Bundle; +import android.support.annotation.NonNull; +import android.support.annotation.Nullable; +import android.support.v7.app.AppCompatActivity; +import android.support.v7.widget.LinearLayoutManager; +import android.support.v7.widget.RecyclerView; +import android.support.v7.widget.Toolbar; +import android.view.View; +import android.view.View.OnClickListener; +import android.widget.Button; +import com.android.dialer.common.Assert; +import com.android.dialer.common.LogUtil; +import com.android.dialer.enrichedcall.EnrichedCallComponent; +import com.android.dialer.enrichedcall.EnrichedCallManager; +import com.android.dialer.enrichedcall.EnrichedCallManager.StateChangedListener; + +/** + * Activity used to display Enriched call sessions that are currently in memory, and create new + * outgoing sessions with various bits of data. + * + *

This activity will dynamically refresh as new sessions are added or updated, but there's no + * update when sessions are deleted from memory. Use the refresh button to update the view. + */ +public class EnrichedCallSimulatorActivity extends AppCompatActivity + implements StateChangedListener, OnClickListener { + + public static Intent newIntent(@NonNull Context context) { + return new Intent(Assert.isNotNull(context), EnrichedCallSimulatorActivity.class); + } + + private Button refreshButton; + + private SessionsAdapter sessionsAdapter; + + @Override + protected void onCreate(@Nullable Bundle bundle) { + LogUtil.enterBlock("EnrichedCallSimulatorActivity.onCreate"); + super.onCreate(bundle); + setContentView(R.layout.enriched_call_simulator_activity); + Toolbar toolbar = findViewById(R.id.toolbar); + toolbar.setTitle(R.string.enriched_call_simulator_activity); + + refreshButton = findViewById(R.id.refresh); + refreshButton.setOnClickListener(this); + + RecyclerView recyclerView = findViewById(R.id.sessions_recycler_view); + recyclerView.setLayoutManager(new LinearLayoutManager(this)); + + sessionsAdapter = new SessionsAdapter(); + sessionsAdapter.setSessionStrings(getEnrichedCallManager().getAllSessionsForDisplay()); + recyclerView.setAdapter(sessionsAdapter); + } + + @Override + protected void onResume() { + LogUtil.enterBlock("EnrichedCallSimulatorActivity.onResume"); + super.onResume(); + getEnrichedCallManager().registerStateChangedListener(this); + } + + @Override + protected void onPause() { + LogUtil.enterBlock("EnrichedCallSimulatorActivity.onPause"); + super.onPause(); + getEnrichedCallManager().unregisterStateChangedListener(this); + } + + @Override + public void onEnrichedCallStateChanged() { + LogUtil.enterBlock("EnrichedCallSimulatorActivity.onEnrichedCallStateChanged"); + refreshSessions(); + } + + @Override + public void onClick(View v) { + if (v == refreshButton) { + LogUtil.i("EnrichedCallSimulatorActivity.onClick", "refreshing sessions"); + refreshSessions(); + } + } + + private void refreshSessions() { + sessionsAdapter.setSessionStrings(getEnrichedCallManager().getAllSessionsForDisplay()); + sessionsAdapter.notifyDataSetChanged(); + } + + private EnrichedCallManager getEnrichedCallManager() { + return EnrichedCallComponent.get(this).getEnrichedCallManager(); + } +} diff --git a/java/com/android/dialer/enrichedcall/simulator/SessionViewHolder.java b/java/com/android/dialer/enrichedcall/simulator/SessionViewHolder.java new file mode 100644 index 000000000..44431253d --- /dev/null +++ b/java/com/android/dialer/enrichedcall/simulator/SessionViewHolder.java @@ -0,0 +1,37 @@ +/* + * 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. + */ + +package com.android.dialer.enrichedcall.simulator; + +import android.support.annotation.NonNull; +import android.support.v7.widget.RecyclerView; +import android.view.View; +import android.widget.TextView; + +/** ViewHolder for an Enriched call session. */ +class SessionViewHolder extends RecyclerView.ViewHolder { + + private final TextView sessionStringView; + + SessionViewHolder(View view) { + super(view); + sessionStringView = view.findViewById(R.id.session_string); + } + + void updateSession(@NonNull String sessionString) { + sessionStringView.setText(sessionString); + } +} diff --git a/java/com/android/dialer/enrichedcall/simulator/SessionsAdapter.java b/java/com/android/dialer/enrichedcall/simulator/SessionsAdapter.java new file mode 100644 index 000000000..25edfc7dd --- /dev/null +++ b/java/com/android/dialer/enrichedcall/simulator/SessionsAdapter.java @@ -0,0 +1,51 @@ +/* + * 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. + */ + +package com.android.dialer.enrichedcall.simulator; + +import android.support.annotation.NonNull; +import android.support.v7.widget.RecyclerView; +import android.view.LayoutInflater; +import android.view.ViewGroup; +import com.android.dialer.common.Assert; +import java.util.List; + +/** Adapter for the RecyclerView in {@link EnrichedCallSimulatorActivity}. */ +class SessionsAdapter extends RecyclerView.Adapter { + + /** List of the string representation of all in-memory sessions */ + private List sessionStrings; + + void setSessionStrings(@NonNull List sessionStrings) { + this.sessionStrings = Assert.isNotNull(sessionStrings); + } + + @Override + public SessionViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { + LayoutInflater inflater = LayoutInflater.from(viewGroup.getContext()); + return new SessionViewHolder(inflater.inflate(R.layout.session_view_holder, viewGroup, false)); + } + + @Override + public void onBindViewHolder(SessionViewHolder viewHolder, int i) { + viewHolder.updateSession(sessionStrings.get(i)); + } + + @Override + public int getItemCount() { + return sessionStrings.size(); + } +} diff --git a/java/com/android/dialer/enrichedcall/simulator/res/layout/enriched_call_simulator_activity.xml b/java/com/android/dialer/enrichedcall/simulator/res/layout/enriched_call_simulator_activity.xml new file mode 100644 index 000000000..be9aa7dea --- /dev/null +++ b/java/com/android/dialer/enrichedcall/simulator/res/layout/enriched_call_simulator_activity.xml @@ -0,0 +1,38 @@ + + + + + + + + +