gecko-dev/mobile/android
Petru Lingurar 5349aa6e59 Bug 1507531 - FilePicker will request WRITE_EXTERNAL_STORAGE; r=JanH
"Prior to Android 8.0 (API level 26), if an app requested a permission at
runtime and the permission was granted, the system would also incorrectly
grant the app the rest of the permissions that belonged to the same permission
group, and that were registered in the manifest.

For apps targeting Android 8.0, this behavior has been corrected. The app is
granted only the permissions it has explicitly requested. However, once the
user grants a permission to the app, all subsequent requests for permissions
in that permission group are automatically granted."
https://developer.android.com/about/versions/oreo/android-8.0-changes#rmp

Our FilePicker can delegate other applications to record media files
(photo/audio/video) which are then to be sent to websites. They must be saved
locally before the upload, scenario that wasn't possible anymore on Oreo+
because of the change in how Android handles runtime permissions.

As a way to get around this one could grant the "Storage" permission from
System Settings which would grant the app both READ and WRITE access.
But for actually being prepared to handle all situations our FilePicker must
ask for the WRITE_EXTERNAL_STORAGE permission at runtime.

Differential Revision: https://phabricator.services.mozilla.com/D20821

--HG--
extra : moz-landing-system : lando
2019-02-22 15:43:13 +00:00
..
annotations Bug 1513395 - Upgrade com.android.tools to 26.2.1. r=snorp,geckoview-reviewers 2018-12-14 21:33:05 +00:00
app Bug 1522151 - Use correct region for regionOverrides. r=nalexander 2019-02-20 19:44:05 +00:00
base Bug 1507531 - FilePicker will request WRITE_EXTERNAL_STORAGE; r=JanH 2019-02-22 15:43:13 +00:00
branding Bug 1519923 - Migrate about:rights to Fluent, r=jaws,flod 2019-02-08 17:36:15 +00:00
chrome Bug 1529869: Remove the 2 from speculate speculative(Anonymous)Connect2 within nsISpeculativeConnect.idl. r=valentin 2019-02-24 20:26:56 +01:00
components Bug 1518841 - Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin 2019-02-25 17:00:18 +00:00
config Bug 1500941 - Add searchfox task for Android (ARMv7/API16). r=nalexander 2019-02-22 11:31:58 +00:00
docs Bug 1515651 - Open LP URLs specifically in Fennec. r=sdaswani 2019-01-18 18:08:39 +00:00
extensions Bug 1488845 - Add an about:compat page to the Webcompat GoFaster addon. r=denschub,kmag,Pike 2019-02-25 23:10:41 +00:00
fonts
geckoview Bug 1518841 - Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin 2019-02-25 17:00:18 +00:00
geckoview_example Bug 1518841 - Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin 2019-02-25 17:00:18 +00:00
gradle Bug 1514374 - Remove workaround for accessibility-test-framework. r=nalexander,geckoview-reviewers,snorp 2019-02-20 17:44:23 +00:00
installer Bug 1523194 - Remove XPIDL for DOMLocalization and use do_ImportModule instead. r=jfkthame,kmag 2019-02-07 01:52:45 +00:00
locales Bug 1488845 - Add an about:compat page to the Webcompat GoFaster addon. r=denschub,kmag,Pike 2019-02-25 23:10:41 +00:00
modules Bug 1518841 - Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin 2019-02-25 17:00:18 +00:00
services Bug 1505720 crash [@ java.lang.NullPointerException: at org.mozilla.gecko.fxa.authenticator.AndroidFxAccount.renameAccountIfNecessary(AndroidFxAccount.java)] r=Grisha 2019-01-08 10:28:20 +00:00
stumbler Bug 1494748 - Stop stumbler service when Fennec is killed. r=snorp 2018-12-12 11:53:49 -06:00
tests Bug 1522137 - Make resource://android return a nsIJARURI. r=snorp,mayhemer,bzbarsky 2019-02-25 15:38:33 +00:00
themes Bug 1507895 - Part I, Remove the videocontrols binding r=smaug 2019-01-25 13:12:26 +00:00
thirdparty Bug 1523572 Increment Leanplum's version r=sdaswani 2019-01-29 18:29:09 +00:00
.eslintrc.js Bug 1488445 - Remove and replace obsolete ESLint rules. r=mossop 2018-09-04 18:08:43 +00:00
LICENSE
app.mozbuild
build.mk
confvars.sh Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander 2018-11-16 01:15:35 +00:00
debug_sign_tool.py
gradle.configure Bug 1515662 - Make |geckoview-docs| behave like other |mach android| commands. r=nalexander 2018-12-20 20:05:39 +00:00
gradle.py Bug 1509573 - Part 1: Use |mach build ...| rather than special Make target. r=snorp 2018-12-18 23:54:08 +00:00
mach_commands.py Bug 1519489 - remove the android 7.0 arm emulator r=gbrown 2019-02-08 01:26:25 +00:00
moz.build Bug 1520470 - Update metadata for related Bugzilla product and component for geckoview. r=snorp DONTBUILD 2019-01-16 16:18:45 +02:00
moz.configure Bug 1515004 - Move --with-android-sdk to moz.configure. r=nalexander 2019-02-01 21:12:51 +00:00