diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 18:17:47 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-27 18:17:47 +0100 |
| commit | a159551d058606a673b14c5568aa72cf538f9934 (patch) | |
| tree | bf9454f2852607f1f2ef9c070ed94f0ff44c6a21 /wipfel-droid/app/src/main/AndroidManifest.xml | |
| parent | 60b07b483f49adfee51480b029f23f7c4913886f (diff) | |
web: allow any file type in the image picker
MediaProvider only redacts GPS EXIF in files it indexes as images.
A copy renamed to a non-image extension (or under a .nomedia folder)
reaches the browser untouched — an all-files picker makes that route
usable on GrapheneOS/AOSP where browsers cannot hold
ACCESS_MEDIA_LOCATION.
Diffstat (limited to 'wipfel-droid/app/src/main/AndroidManifest.xml')
| -rw-r--r-- | wipfel-droid/app/src/main/AndroidManifest.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/wipfel-droid/app/src/main/AndroidManifest.xml b/wipfel-droid/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..34c56d8 --- /dev/null +++ b/wipfel-droid/app/src/main/AndroidManifest.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> + + <!-- The whole point of this wrapper: the browser apps cannot declare + ACCESS_MEDIA_LOCATION, so the OS redacts GPS EXIF from every image + they read. We declare and request it and get the original bytes. --> + <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> + <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" /> + + <application + android:label="wipfel" + android:allowBackup="false" + android:hardwareAccelerated="true" + android:networkSecurityConfig="@xml/network_security_config"> + <activity + android:name=".MainActivity" + android:exported="true" + android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode|density|smallestScreenSize"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> + </activity> + </application> +</manifest> |
