From 03da62810c83c903301590d57dd62ad0efc79795 Mon Sep 17 00:00:00 2001 From: Bonian Chen Date: Mon, 13 Jun 2022 20:55:32 +0800 Subject: [PATCH 1/4] [Settings] Avoid from close dialog when touch outside. Roaming confirmation dialog might get closed when touch outside, which is easily been triggered when having a large screen. Solution: avoid from close dialog when touch outside of dialog area. Bug: 235183999 Test: local Change-Id: Ic312d80e6f04cb8f323ebc713eef4e15257de358 --- .../settings/network/telephony/RoamingDialogFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/android/settings/network/telephony/RoamingDialogFragment.java b/src/com/android/settings/network/telephony/RoamingDialogFragment.java index bd452267111..3e9875e9844 100644 --- a/src/com/android/settings/network/telephony/RoamingDialogFragment.java +++ b/src/com/android/settings/network/telephony/RoamingDialogFragment.java @@ -72,7 +72,9 @@ public class RoamingDialogFragment extends InstrumentedDialogFragment implements .setIconAttribute(android.R.attr.alertDialogIcon) .setPositiveButton(android.R.string.yes, this) .setNegativeButton(android.R.string.no, this); - return builder.create(); + AlertDialog dialog = builder.create(); + dialog.setCanceledOnTouchOutside(false); + return dialog; } @Override From a1df448703dfea5dc2382aacccc6bdf493528620 Mon Sep 17 00:00:00 2001 From: Salud Lemus Date: Thu, 16 Jun 2022 12:28:19 -0700 Subject: [PATCH 2/4] Fix title used for financed device info in Settings The title for the financed device info page in Settings changes to "Managed device info" instead of "Financed device info" Bug: 236259020 Test: Manual test Change-Id: Ica6d990e8dada28b643a5523ec284c18d4af89d2 --- .../settings/enterprise/EnterprisePrivacySettings.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/com/android/settings/enterprise/EnterprisePrivacySettings.java b/src/com/android/settings/enterprise/EnterprisePrivacySettings.java index 92e4f4a5c43..a154dedfb8f 100644 --- a/src/com/android/settings/enterprise/EnterprisePrivacySettings.java +++ b/src/com/android/settings/enterprise/EnterprisePrivacySettings.java @@ -77,6 +77,10 @@ public class EnterprisePrivacySettings extends DashboardFragment { public void onCreate(Bundle icicle) { super.onCreate(icicle); + if (mPrivacySettingsPreference instanceof PrivacySettingsFinancedPreference) { + return; + } + replaceEnterprisePreferenceScreenTitle( MANAGED_DEVICE_INFO, R.string.enterprise_privacy_settings); From 2714015bac6adef5f0b85b133c64c9252af56e6b Mon Sep 17 00:00:00 2001 From: Bill Yi Date: Mon, 20 Jun 2022 23:15:51 -0700 Subject: [PATCH 3/4] Import translations. DO NOT MERGE ANYWHERE Auto-generated-cl: translation import Change-Id: I09a80efa89b4558201beeb22aa7c854b2e86096e --- res/values-te/arrays.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/values-te/arrays.xml b/res/values-te/arrays.xml index 052cca704b5..625cdf4e37f 100644 --- a/res/values-te/arrays.xml +++ b/res/values-te/arrays.xml @@ -304,7 +304,7 @@ "లొకేషన్" "వైబ్రేట్" "కాంటాక్ట్‌లను చదవండి" - "కాంటాక్ట్‌లను సవరించండి" + "కాంటాక్ట్‌లను ఎడిట్ చేయండి" "కాల్ లాగ్‌ను చదవండి" "కాల్ లాగ్‌ను ఎడిట్ చేయండి" "క్యాలెండర్‌ను చదవండి" From 382bed292daf49a1dca4f3c9d196f9d622406461 Mon Sep 17 00:00:00 2001 From: Bill Yi Date: Mon, 20 Jun 2022 23:19:45 -0700 Subject: [PATCH 4/4] Import translations. DO NOT MERGE ANYWHERE Auto-generated-cl: translation import Change-Id: I3c1724acd927e61e022d74d348092d256d2072ed --- res/values-eu/strings.xml | 2 +- res/values-hi/strings.xml | 2 +- res/values-in/strings.xml | 2 +- res/values-ja/strings.xml | 2 +- res/values-ko/strings.xml | 2 +- res/values-nl/strings.xml | 2 +- res/values-th/strings.xml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/res/values-eu/strings.xml b/res/values-eu/strings.xml index 2176bfd3963..b6b9f1461f0 100644 --- a/res/values-eu/strings.xml +++ b/res/values-eu/strings.xml @@ -2867,7 +2867,7 @@ "Flasha" "Aktibatuta" "Seinalerik gabeko denbora" - "Bateriaren edukiera guztira" + "Bateriaren ahalmena, guztira" "Kalkulatutako energia-erabilera" "Hautemandako energia-erabilera" "Behartu gelditzera" diff --git a/res/values-hi/strings.xml b/res/values-hi/strings.xml index ec67f788bbb..a93fa481f4a 100644 --- a/res/values-hi/strings.xml +++ b/res/values-hi/strings.xml @@ -3449,7 +3449,7 @@ "हमेशा" "सिवाय तब, जब पैसे चुकाने के लिए दूसरा ऐप्लिकेशन खुला हो" "टच किए बिना पैसे चुकाने के टर्मिनल पर, इससे पैसे चुकाएं:" - "पैसे चुकाने की मशीन का इस्तेमाल करना" + "पैसे चुकाने की टर्मिनल का इस्तेमाल करना" "पैसे चुकाने के लिए किसी ऐप्लिकेशन को चुनें. इसके बाद, टच किए बिना पैसे चुकाने के निशान वाले किसी टर्मिनल की ओर अपने फ़ोन का पिछला हिस्सा करके उसे पकड़े रहें." "ठीक है" "ज़्यादा…" diff --git a/res/values-in/strings.xml b/res/values-in/strings.xml index f7b3e433376..6836909d1ef 100644 --- a/res/values-in/strings.xml +++ b/res/values-in/strings.xml @@ -3450,7 +3450,7 @@ "Kecuali jika aplikasi pembayaran lain dibuka" "Di terminal nirsentuh, bayar dengan:" "Membayar di terminal" - "Siapkan aplikasi pembayaran. Lalu, cukup dekatkan bagian belakang ponsel ke terminal mana saja yang memiliki simbol nirkontak." + "Siapkan aplikasi pembayaran. Lalu, cukup dekatkan bagian belakang ponsel ke terminal mana saja yang memiliki simbol nirsentuh." "Mengerti" "Lainnya …" "Setel aplikasi pembayaran default" diff --git a/res/values-ja/strings.xml b/res/values-ja/strings.xml index 553156d7203..56c221747a1 100644 --- a/res/values-ja/strings.xml +++ b/res/values-ja/strings.xml @@ -3040,7 +3040,7 @@ "安全ではない VPN: %d 件" "安全ではない VPN: %d 件" "接続の自動調整" - "ネットワーク接続を自動的に管理することで、電池が長持ちし、デバイスのパフォーマンスが改善します" + "ネットワーク接続を自動的に管理することで、バッテリーが長持ちし、デバイスのパフォーマンスが改善します" "ON" "OFF" "認証情報ストレージ" diff --git a/res/values-ko/strings.xml b/res/values-ko/strings.xml index 00c8cc02e5e..093b6be8071 100644 --- a/res/values-ko/strings.xml +++ b/res/values-ko/strings.xml @@ -3461,7 +3461,7 @@ "미접촉 결제 단말기에서 %1$s 앱으로 결제합니다.\n\n이 앱이 %2$s 대신 기본 결제 앱으로 사용됩니다." "기본으로 설정" "업데이트" - "업무" + "직장" "제한사항" "제한사항 삭제" "PIN 변경" diff --git a/res/values-nl/strings.xml b/res/values-nl/strings.xml index 5b28e73131d..922fe00927f 100644 --- a/res/values-nl/strings.xml +++ b/res/values-nl/strings.xml @@ -4037,7 +4037,7 @@ "Je meldingen lezen" "De app kan je meldingen lezen, waaronder persoonlijke informatie zoals contacten, berichten en foto\'s" "Berichten beantwoorden" - "De app kan berichten beantwoorden en acties uitvoeren voor knoppen in meldingen, waaronder meldingen snoozen of sluiten en gesprekken beantwoorden" + "De app kan berichten beantwoorden, meldingen snoozen of sluiten en gesprekken beantwoorden." "Instellingen wijzigen" "De app kan Niet storen aan- of uitzetten en gerelateerde instellingen wijzigen" "Als je %1$s geen toegang tot meldingen geeft, krijgt Niet storen mogelijk ook geen toegang." diff --git a/res/values-th/strings.xml b/res/values-th/strings.xml index fc5925b3488..5980dedf063 100644 --- a/res/values-th/strings.xml +++ b/res/values-th/strings.xml @@ -3433,7 +3433,7 @@ "ติดตั้งแอปที่มี" "การชำระเงินแบบไม่ต้องสัมผัส" "แอปการชำระเงินเริ่มต้น" - "หากต้องการชำระเงินโดยใช้แอปการชำระเงิน ให้นำด้านหลังของอุปกรณ์ไปจ่อไว้ที่เครื่องชำระเงิน" + "หากต้องการชำระเงินโดยใช้แอปการชำระเงิน ให้นำด้านหลังของอุปกรณ์ไปแตะที่เครื่องชำระเงิน" "ดูข้อมูลเพิ่มเติม" "กำหนดให้แอปงานเป็นแอปชำระเงินเริ่มต้นไหม" "หากต้องการชำระเงินโดยใช้แอปงาน"