AndroidManifest.xml 2.14 KB
Newer Older
Robert Hitt's avatar
Robert Hitt committed
1
2
3
4
5
<?xml version="1.0" encoding="utf-8"?>
<manifest package="srct.whatsopen"
          xmlns:android="http://schemas.android.com/apk/res/android">

    <uses-permission android:name="android.permission.INTERNET" />
6
7
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
Robert Hitt's avatar
Robert Hitt committed
8
9
10
11
12
13
14
    <application
        android:name=".MyApplication"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
Robert Hitt's avatar
Robert Hitt committed
15

16
        <activity android:name=".views.activities.MainActivity"
17
                  android:configChanges="orientation|keyboardHidden|screenSize"
Robert Hitt's avatar
Robert Hitt committed
18
                  android:launchMode="singleTop">
Robert Hitt's avatar
Robert Hitt committed
19
20
21
22
23
24
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>

                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
25

26
27
        <activity android:name=".views.activities.DetailActivity"
                  android:parentActivityName=".views.activities.MainActivity">
Robert Hitt's avatar
Robert Hitt committed
28
29
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
30
                android:value=".views.activities.MainActivity"/>
31
        </activity>
32

33
34
        <activity android:name=".views.activities.AboutActivity"
                  android:parentActivityName=".views.activities.MainActivity">
Robert Hitt's avatar
Robert Hitt committed
35
36
37
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value=".views.activities.MainActivity"/>
38
        </activity>
Robert Hitt's avatar
Robert Hitt committed
39
40
41

        <receiver android:name=".util.NotificationReceiver"
                  android:process=":remote" >
42
43
44
        </receiver>

        <receiver android:name=".util.BootReceiver">
Robert Hitt's avatar
Robert Hitt committed
45

46
47
48
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED"/>
            </intent-filter>
Robert Hitt's avatar
Robert Hitt committed
49
50
51
52
        </receiver>

        <service android:name=".util.NotificationService"
                 android:exported="false" />
Robert Hitt's avatar
Robert Hitt committed
53
54
55
    </application>

</manifest>