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="12"
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
12    <!-- used to save cat images -->
13    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
14
15    <!-- controls -->
16    <uses-permission android:name="android.permission.BIND_CONTROLS" />
17
18    <application
19        android:icon="@drawable/icon"
20        android:label="@string/app_name">
21        <activity
22            android:name=".quares.QuaresActivity"
23            android:exported="true"
24            android:icon="@drawable/q_icon"
25            android:label="@string/q_egg_name"
26            android:theme="@style/QuaresTheme">
27            <intent-filter>
28                <action android:name="android.intent.action.MAIN" />
29            </intent-filter>
30        </activity>
31        <activity
32            android:name=".paint.PaintActivity"
33            android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
34            android:exported="true"
35            android:icon="@drawable/p_icon"
36            android:label="@string/p_egg_name"
37            android:theme="@style/AppTheme">
38            <intent-filter>
39                <action android:name="android.intent.action.MAIN" />
40            </intent-filter>
41        </activity>
42
43        <!-- Android N easter egg bits -->
44        <activity
45            android:name=".neko.NekoLand"
46            android:exported="true"
47            android:label="@string/app_name"
48            android:theme="@android:style/Theme.Material.NoActionBar">
49            <intent-filter>
50                <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
51                <action android:name="android.intent.action.MAIN" />
52
53                <category android:name="android.intent.category.DEFAULT" />
54            </intent-filter>
55        </activity>
56
57        <!-- This is where the magic happens -->
58        <service
59            android:name=".neko.NekoService"
60            android:enabled="true"
61            android:exported="true"
62            android:permission="android.permission.BIND_JOB_SERVICE" />
63        <!-- Used to show over lock screen -->
64        <activity
65            android:name=".neko.NekoLockedActivity"
66            android:excludeFromRecents="true"
67            android:exported="true"
68            android:showOnLockScreen="true"
69            android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar" />
70        <!-- Used to enable easter egg -->
71        <activity
72            android:name=".ComponentActivationActivity"
73            android:excludeFromRecents="true"
74            android:exported="true"
75            android:theme="@android:style/Theme.NoDisplay">
76            <intent-filter>
77                <action android:name="android.intent.action.MAIN" />
78
79                <category android:name="android.intent.category.DEFAULT" />
80                <category android:name="com.android.internal.category.PLATLOGO" />
81            </intent-filter>
82        </activity>
83
84        <!-- The quick settings tile, disabled by default -->
85        <service
86            android:name=".neko.NekoTile"
87            android:enabled="false"
88            android:exported="true"
89            android:icon="@drawable/stat_icon"
90            android:label="@string/default_tile_name"
91            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
92            <intent-filter>
93                <action android:name="android.service.quicksettings.action.QS_TILE" />
94            </intent-filter>
95        </service>
96        <service
97            android:name=".neko.NekoControlsService"
98            android:enabled="false"
99            android:exported="true"
100            android:icon="@drawable/ic_fullcat_icon"
101            android:label="@string/r_egg_name"
102            android:permission="android.permission.BIND_CONTROLS">
103            <intent-filter>
104                <action android:name="android.service.controls.ControlsProviderService" />
105            </intent-filter>
106        </service> <!-- FileProvider for sending pictures -->
107        <provider
108            android:name="androidx.core.content.FileProvider"
109            android:authorities="com.android.egg.fileprovider"
110            android:exported="false"
111            android:grantUriPermissions="true">
112            <meta-data
113                android:name="android.support.FILE_PROVIDER_PATHS"
114                android:resource="@xml/filepaths" />
115        </provider>
116
117        <!-- Android S easter egg bits -->
118
119        <!-- List of all system theme colors on the device. -->
120        <activity
121            android:name=".widget.PaintChipsActivity"
122            android:theme="@android:style/Theme.Material.Wallpaper.NoTitleBar"
123            android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
124            android:label="@string/s_egg_name"
125            android:enabled="false"
126            android:exported="true">
127            <intent-filter>
128                <action android:name="android.intent.action.MAIN" />
129            </intent-filter>
130        </activity>
131
132        <!-- Homescreen widget also showing paint chips (may be affected by the exact position in
133             the workspace) -->
134        <receiver
135            android:name=".widget.PaintChipsWidget"
136            android:label="@string/s_egg_name"
137            android:exported="true"
138            android:enabled="false">
139            <intent-filter>
140                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
141            </intent-filter>
142
143            <meta-data
144                android:name="android.appwidget.provider"
145                android:resource="@xml/paint_chips_widget_info" />
146        </receiver>
147    </application>
148
149</manifest>
150