1<?xml version="1.0" encoding="utf-8"?>
2<!--
3Copyright (C) 2016 The Android Open Source Project
4
5   Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9         http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16-->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18          package="com.android.egg"
19          android:versionCode="1"
20          android:versionName="1.0">
21
22    <uses-sdk android:minSdkVersion="24" />
23
24    <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
25    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
26
27    <application android:label="@string/app_name" android:icon="@drawable/icon">
28        <!-- Long press the QS tile to get here -->
29        <activity android:name=".neko.NekoLand"
30                  android:theme="@android:style/Theme.Material.NoActionBar"
31                  android:label="@string/app_name">
32            <intent-filter>
33                <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
34            </intent-filter>
35        </activity>
36
37        <!-- This is where the magic happens -->
38        <service
39            android:name=".neko.NekoService"
40            android:enabled="true"
41            android:permission="android.permission.BIND_JOB_SERVICE"
42            android:exported="true" >
43        </service>
44
45        <!-- Used to show over lock screen -->
46        <activity android:name=".neko.NekoLockedActivity"
47                  android:excludeFromRecents="true"
48                  android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar"
49                  android:showOnLockScreen="true" />
50
51        <!-- Used to enable easter egg -->
52        <activity android:name=".neko.NekoActivationActivity"
53            android:excludeFromRecents="true"
54            android:theme="@android:style/Theme.NoDisplay"
55            >
56            <intent-filter>
57                <action android:name="android.intent.action.MAIN"/>
58                <category android:name="android.intent.category.DEFAULT" />
59                <category android:name="com.android.internal.category.PLATLOGO" />
60            </intent-filter>
61        </activity>
62
63        <!-- The quick settings tile, disabled by default -->
64        <service
65            android:name=".neko.NekoTile"
66            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
67            android:icon="@drawable/stat_icon"
68            android:enabled="false"
69            android:label="@string/default_tile_name">
70            <intent-filter>
71                <action android:name="android.service.quicksettings.action.QS_TILE" />
72            </intent-filter>
73        </service>
74    </application>
75</manifest>
76