1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3    package="com.android.egg"
4    android:versionCode="1"
5    android:versionName="1.0">
6
7    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
8
9    <!-- used for cat notifications -->
10    <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
11    <!-- used to save cat images -->
12    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
13    <!-- controls -->
14    <uses-permission android:name="android.permission.BIND_CONTROLS" />
15
16    <application
17        android:icon="@drawable/icon"
18        android:label="@string/app_name">
19
20        <activity android:name=".quares.QuaresActivity"
21            android:icon="@drawable/q_icon"
22            android:label="@string/q_egg_name"
23            android:exported="true"
24            android:theme="@style/QuaresTheme">
25            <intent-filter>
26                <action android:name="android.intent.action.MAIN" />
27            </intent-filter>
28        </activity>
29        <activity
30            android:name=".paint.PaintActivity"
31            android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
32            android:icon="@drawable/p_icon"
33            android:label="@string/p_egg_name"
34            android:exported="true"
35            android:theme="@style/AppTheme">
36            <intent-filter>
37                <action android:name="android.intent.action.MAIN" />
38            </intent-filter>
39        </activity>
40
41        <!-- Android N easter egg bits -->
42        <activity android:name=".neko.NekoLand"
43            android:theme="@android:style/Theme.Material.NoActionBar"
44            android:exported="true"
45            android:label="@string/app_name">
46            <intent-filter>
47                <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
48                <action android:name="android.intent.action.MAIN" />
49                <category android:name="android.intent.category.DEFAULT" />
50            </intent-filter>
51        </activity>
52
53        <!-- This is where the magic happens -->
54        <service
55            android:name=".neko.NekoService"
56            android:enabled="true"
57            android:permission="android.permission.BIND_JOB_SERVICE"
58            android:exported="true" >
59        </service>
60
61        <!-- Used to show over lock screen -->
62        <activity android:name=".neko.NekoLockedActivity"
63            android:excludeFromRecents="true"
64            android:exported="true"
65            android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar"
66            android:showOnLockScreen="true" />
67
68        <!-- Used to enable easter egg -->
69        <activity android:name=".neko.NekoActivationActivity"
70            android:excludeFromRecents="true"
71            android:exported="true"
72            android:theme="@android:style/Theme.NoDisplay"
73            >
74            <intent-filter>
75                <action android:name="android.intent.action.MAIN"/>
76                <category android:name="android.intent.category.DEFAULT" />
77                <category android:name="com.android.internal.category.PLATLOGO" />
78            </intent-filter>
79        </activity>
80
81        <!-- The quick settings tile, disabled by default -->
82        <service
83            android:name=".neko.NekoTile"
84            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
85            android:icon="@drawable/stat_icon"
86            android:enabled="false"
87            android:label="@string/default_tile_name">
88            <intent-filter>
89                <action android:name="android.service.quicksettings.action.QS_TILE" />
90            </intent-filter>
91        </service>
92
93        <service android:name=".neko.NekoControlsService"
94            android:permission="android.permission.BIND_CONTROLS"
95            android:label="@string/r_egg_name"
96            android:icon="@drawable/ic_fullcat_icon"
97            android:enabled="false"
98            android:exported="true">
99            <intent-filter>
100                <action android:name="android.service.controls.ControlsProviderService" />
101            </intent-filter>
102        </service>
103
104        <!-- FileProvider for sending pictures -->
105        <provider
106            android:name="androidx.core.content.FileProvider"
107            android:authorities="com.android.egg.fileprovider"
108            android:grantUriPermissions="true"
109            android:exported="false">
110            <meta-data
111                android:name="android.support.FILE_PROVIDER_PATHS"
112                android:resource="@xml/filepaths" />
113        </provider>
114    </application>
115
116</manifest>
117