summaryrefslogtreecommitdiff
path: root/wipfel-droid/app/src/main/AndroidManifest.xml
blob: f764e32e2ae83505498b2d9ed710694cfbddbb58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?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" />
    <!-- required merely to create the loopback ServerSocket; the app
         never talks to any other host -->
    <uses-permission android:name="android.permission.INTERNET" />

    <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>