blob: d1db237966d5781a24abbba9908c0e29c5ae8004 [file] [log] [blame]
Dan Sandler6f922752023-04-12 14:37:34 -04001<?xml version="1.0" encoding="utf-8"?><!--
2 Copyright (C) 2023 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
Dan Sandler27a9fcc2016-06-22 00:05:11 -040017<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Dan Sandlerd1f9f532018-05-02 20:01:38 -040018 package="com.android.egg"
Dan Sandler3f261e62021-07-24 15:23:19 -040019 android:versionCode="12"
Dan Sandlerd1f9f532018-05-02 20:01:38 -040020 android:versionName="1.0">
Dan Sandler27a9fcc2016-06-22 00:05:11 -040021
Dan Sandlera7613372019-06-26 01:01:26 -040022 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Dan Sandler27a9fcc2016-06-22 00:05:11 -040023
Dan Sandler16c814f2020-05-12 21:25:31 -040024 <!-- used for cat notifications -->
25 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
Dan Sandler3f261e62021-07-24 15:23:19 -040026
Dan Sandler16c814f2020-05-12 21:25:31 -040027 <!-- used to save cat images -->
28 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Dan Sandler3f261e62021-07-24 15:23:19 -040029
Dan Sandler16c814f2020-05-12 21:25:31 -040030 <!-- controls -->
31 <uses-permission android:name="android.permission.BIND_CONTROLS" />
32
Julia Reynolds328d34a2021-12-03 19:26:31 +000033 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
34
Dan Sandlerd1f9f532018-05-02 20:01:38 -040035 <application
Dan Sandler6f922752023-04-12 14:37:34 -040036 android:icon="@drawable/android14_patch_adaptive"
Dan Sandlerd1f9f532018-05-02 20:01:38 -040037 android:label="@string/app_name">
Dan Sandler6f922752023-04-12 14:37:34 -040038
39 <!-- Android U easter egg -->
40
41 <activity
42 android:name=".landroid.MainActivity"
43 android:exported="true"
44 android:label="@string/u_egg_name"
45 android:icon="@drawable/android14_patch_adaptive"
46 android:configChanges="orientation|screenLayout|screenSize|density"
47 android:theme="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen">
48 <intent-filter>
49 <action android:name="android.intent.action.MAIN" />
50 <category android:name="android.intent.category.DEFAULT" />
51 <category android:name="com.android.internal.category.PLATLOGO" />
52 </intent-filter>
53 </activity>
54
55
56 <!-- Android Q easter egg -->
Dan Sandler3f261e62021-07-24 15:23:19 -040057 <activity
58 android:name=".quares.QuaresActivity"
59 android:exported="true"
Dan Sandlera7613372019-06-26 01:01:26 -040060 android:icon="@drawable/q_icon"
61 android:label="@string/q_egg_name"
Dan Sandler16c814f2020-05-12 21:25:31 -040062 android:theme="@style/QuaresTheme">
Dan Sandlera7613372019-06-26 01:01:26 -040063 <intent-filter>
64 <action android:name="android.intent.action.MAIN" />
Dan Sandlera7613372019-06-26 01:01:26 -040065 </intent-filter>
66 </activity>
Dan Sandlerd1f9f532018-05-02 20:01:38 -040067 <activity
68 android:name=".paint.PaintActivity"
69 android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
Dan Sandler3f261e62021-07-24 15:23:19 -040070 android:exported="true"
Dan Sandlera7613372019-06-26 01:01:26 -040071 android:icon="@drawable/p_icon"
72 android:label="@string/p_egg_name"
Dan Sandler16c814f2020-05-12 21:25:31 -040073 android:theme="@style/AppTheme">
Dan Sandler49ddb0d2017-06-08 23:52:45 -040074 <intent-filter>
Dan Sandlerd1f9f532018-05-02 20:01:38 -040075 <action android:name="android.intent.action.MAIN" />
Dan Sandler49ddb0d2017-06-08 23:52:45 -040076 </intent-filter>
77 </activity>
Dan Sandler16c814f2020-05-12 21:25:31 -040078
79 <!-- Android N easter egg bits -->
Dan Sandler3f261e62021-07-24 15:23:19 -040080 <activity
81 android:name=".neko.NekoLand"
Dan Sandler16c814f2020-05-12 21:25:31 -040082 android:exported="true"
Dan Sandler3f261e62021-07-24 15:23:19 -040083 android:label="@string/app_name"
84 android:theme="@android:style/Theme.Material.NoActionBar">
Dan Sandler16c814f2020-05-12 21:25:31 -040085 <intent-filter>
86 <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
87 <action android:name="android.intent.action.MAIN" />
Dan Sandler3f261e62021-07-24 15:23:19 -040088
Dan Sandler16c814f2020-05-12 21:25:31 -040089 <category android:name="android.intent.category.DEFAULT" />
90 </intent-filter>
91 </activity>
92
93 <!-- This is where the magic happens -->
94 <service
95 android:name=".neko.NekoService"
96 android:enabled="true"
Dan Sandler3f261e62021-07-24 15:23:19 -040097 android:exported="true"
98 android:permission="android.permission.BIND_JOB_SERVICE" />
Dan Sandler16c814f2020-05-12 21:25:31 -040099 <!-- Used to show over lock screen -->
Dan Sandler3f261e62021-07-24 15:23:19 -0400100 <activity
101 android:name=".neko.NekoLockedActivity"
Dan Sandler16c814f2020-05-12 21:25:31 -0400102 android:excludeFromRecents="true"
103 android:exported="true"
Dan Sandler3f261e62021-07-24 15:23:19 -0400104 android:showOnLockScreen="true"
105 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar" />
Dan Sandler6f922752023-04-12 14:37:34 -0400106 <!-- Used to enable easter egg components for earlier easter eggs. -->
Dan Sandler3f261e62021-07-24 15:23:19 -0400107 <activity
108 android:name=".ComponentActivationActivity"
Dan Sandler16c814f2020-05-12 21:25:31 -0400109 android:excludeFromRecents="true"
110 android:exported="true"
Dan Sandler3f261e62021-07-24 15:23:19 -0400111 android:theme="@android:style/Theme.NoDisplay">
Dan Sandler16c814f2020-05-12 21:25:31 -0400112 <intent-filter>
Dan Sandler3f261e62021-07-24 15:23:19 -0400113 <action android:name="android.intent.action.MAIN" />
114
Dan Sandler16c814f2020-05-12 21:25:31 -0400115 <category android:name="android.intent.category.DEFAULT" />
Dan Sandler16c814f2020-05-12 21:25:31 -0400116 </intent-filter>
117 </activity>
118
119 <!-- The quick settings tile, disabled by default -->
120 <service
121 android:name=".neko.NekoTile"
Dan Sandler16c814f2020-05-12 21:25:31 -0400122 android:enabled="false"
Ashwini Oruganti10256fd12020-06-25 12:49:53 -0700123 android:exported="true"
Dan Sandler3f261e62021-07-24 15:23:19 -0400124 android:icon="@drawable/stat_icon"
125 android:label="@string/default_tile_name"
126 android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
Dan Sandler16c814f2020-05-12 21:25:31 -0400127 <intent-filter>
128 <action android:name="android.service.quicksettings.action.QS_TILE" />
129 </intent-filter>
130 </service>
Dan Sandler3f261e62021-07-24 15:23:19 -0400131 <service
132 android:name=".neko.NekoControlsService"
Dan Sandler16c814f2020-05-12 21:25:31 -0400133 android:enabled="false"
Dan Sandler3f261e62021-07-24 15:23:19 -0400134 android:exported="true"
135 android:icon="@drawable/ic_fullcat_icon"
136 android:label="@string/r_egg_name"
137 android:permission="android.permission.BIND_CONTROLS">
Dan Sandler16c814f2020-05-12 21:25:31 -0400138 <intent-filter>
139 <action android:name="android.service.controls.ControlsProviderService" />
140 </intent-filter>
Dan Sandler3f261e62021-07-24 15:23:19 -0400141 </service> <!-- FileProvider for sending pictures -->
Dan Sandler16c814f2020-05-12 21:25:31 -0400142 <provider
143 android:name="androidx.core.content.FileProvider"
144 android:authorities="com.android.egg.fileprovider"
Dan Sandler3f261e62021-07-24 15:23:19 -0400145 android:exported="false"
146 android:grantUriPermissions="true">
Dan Sandler16c814f2020-05-12 21:25:31 -0400147 <meta-data
148 android:name="android.support.FILE_PROVIDER_PATHS"
149 android:resource="@xml/filepaths" />
150 </provider>
Dan Sandler3f261e62021-07-24 15:23:19 -0400151
152 <!-- Android S easter egg bits -->
153
154 <!-- List of all system theme colors on the device. -->
155 <activity
156 android:name=".widget.PaintChipsActivity"
157 android:theme="@android:style/Theme.Material.Wallpaper.NoTitleBar"
158 android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
159 android:label="@string/s_egg_name"
160 android:enabled="false"
161 android:exported="true">
162 <intent-filter>
163 <action android:name="android.intent.action.MAIN" />
164 </intent-filter>
165 </activity>
166
167 <!-- Homescreen widget also showing paint chips (may be affected by the exact position in
168 the workspace) -->
169 <receiver
170 android:name=".widget.PaintChipsWidget"
171 android:label="@string/s_egg_name"
Dan Sandlerda435962021-07-27 23:57:51 -0400172 android:exported="true"
Dan Sandler3f261e62021-07-24 15:23:19 -0400173 android:enabled="false">
174 <intent-filter>
175 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
176 </intent-filter>
177
178 <meta-data
179 android:name="android.appwidget.provider"
180 android:resource="@xml/paint_chips_widget_info" />
181 </receiver>
Dan Sandler27a9fcc2016-06-22 00:05:11 -0400182 </application>
Dan Sandlerd1f9f532018-05-02 20:01:38 -0400183
Dan Sandlerda435962021-07-27 23:57:51 -0400184</manifest>