summaryrefslogtreecommitdiff
path: root/app/src/main/AndroidManifest.xml
blob: 76148e4d8cc583fe474ddd49e47b81144e3a06b2 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

    <application
        android:label="Feeds"
        android:theme="@style/Theme.FeedReader"
        android:allowBackup="false">

        <activity
            android:name=".ui.MainActivity"
            android:exported="true"
            android:windowSoftInputMode="adjustResize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <!--
          Share-sheet target: a URL (or plain text containing one) shared from any
          other app (browser, Twitter, etc.) lands here. Deliberately its own
          activity (not MainActivity re-handling an intent) so it can show a minimal
          "saving..." UI and finish immediately, rather than dropping the user into
          the middle of the main feed/article navigation stack.
        -->
        <activity
            android:name=".ui.ShareReceiverActivity"
            android:theme="@style/Theme.FeedReader.Dialog"
            android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="text/plain" />
            </intent-filter>
        </activity>

    </application>
</manifest>