From b22cbb6c6792aad39e3de1b488f6f74726124289 Mon Sep 17 00:00:00 2001 From: mike a Date: Sun, 19 Dec 2021 19:38:51 -0800 Subject: [PATCH] [components] Closes https://github.com/mozilla-mobile/android-components/issues/11411: Cancel downloads prompt X-Channel-Revision: [main] mozilla-mobile/android-components@96444ddbd36acf0987ca531574187647bc74b5f3 X-Channel-Revision: [main] mozilla-mobile/fenix@d039188782084c5475112e6d98ab829c7992e759 X-Channel-Revision: [main] mozilla-mobile/focus-android@a9a09b171665081b4e5f4d426f0e30f22f84ae49 X-Channel-Converted-Revision: [main] mozilla-mobile/firefox-android@07ea3d8a48b8697b47b8780c0e20f7670145b24b --- ...ozilla-mobile-firefox-android-android-components.json | 2 +- .../feature/downloads/src/main/res/values/strings.xml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/_meta/mozilla-mobile-firefox-android-android-components.json b/_meta/mozilla-mobile-firefox-android-android-components.json index e81b37ffbe8..60877cc371e 100644 --- a/_meta/mozilla-mobile-firefox-android-android-components.json +++ b/_meta/mozilla-mobile-firefox-android-android-components.json @@ -1,6 +1,6 @@ { "name": "mozilla-mobile/firefox-android/android-components", "revs": { - "main": "ed60f2e5df656f4aaf2d08c7f39f57583eb01466" + "main": "07ea3d8a48b8697b47b8780c0e20f7670145b24b" } } \ No newline at end of file diff --git a/mozilla-mobile/android-components/components/feature/downloads/src/main/res/values/strings.xml b/mozilla-mobile/android-components/components/feature/downloads/src/main/res/values/strings.xml index e0de2567ca5..adc44c58feb 100644 --- a/mozilla-mobile/android-components/components/feature/downloads/src/main/res/values/strings.xml +++ b/mozilla-mobile/android-components/components/feature/downloads/src/main/res/values/strings.xml @@ -44,4 +44,13 @@ Unable to open %1$s Files and media permission access needed to download files. Go to Android settings, tap permissions, and tap allow. + + + Cancel private downloads? + + If you close all Private tabs now, %1$s download will be canceled. Are you sure you want to leave Private Browsing? + + Cancel downloads + + Stay in private browsing