blob: 172490dc91788593abf7f4a13bfd81e7e8179263 [file] [log] [blame]
Dan Sandler27a9fcc2016-06-22 00:05:11 -04001<?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
Dan Sandler49ddb0d2017-06-08 23:52:45 -040022 <uses-sdk android:minSdkVersion="26" />
Dan Sandler27a9fcc2016-06-22 00:05:11 -040023
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">
Dan Sandler49ddb0d2017-06-08 23:52:45 -040028
29 <activity android:name=".octo.Ocquarium"
30 android:theme="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"
31 android:label="@string/app_name">
32 <intent-filter>
33 <action android:name="android.intent.action.MAIN"/>
34 <category android:name="android.intent.category.DEFAULT" />
35 <category android:name="com.android.internal.category.PLATLOGO" />
36 </intent-filter>
37 </activity>
38
39 <!-- Android N lives on inside Android O... -->
40
Dan Sandler27a9fcc2016-06-22 00:05:11 -040041 <!-- Long press the QS tile to get here -->
42 <activity android:name=".neko.NekoLand"
43 android:theme="@android:style/Theme.Material.NoActionBar"
44 android:label="@string/app_name">
45 <intent-filter>
46 <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
Dan Sandler4a1bcd92016-07-16 00:39:21 -040047 <action android:name="android.intent.action.MAIN" />
Dan Sandler27a9fcc2016-06-22 00:05:11 -040048 </intent-filter>
49 </activity>
50
51 <!-- This is where the magic happens -->
52 <service
53 android:name=".neko.NekoService"
54 android:enabled="true"
55 android:permission="android.permission.BIND_JOB_SERVICE"
56 android:exported="true" >
57 </service>
58
59 <!-- Used to show over lock screen -->
60 <activity android:name=".neko.NekoLockedActivity"
61 android:excludeFromRecents="true"
62 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar"
63 android:showOnLockScreen="true" />
64
65 <!-- Used to enable easter egg -->
66 <activity android:name=".neko.NekoActivationActivity"
67 android:excludeFromRecents="true"
68 android:theme="@android:style/Theme.NoDisplay"
69 >
70 <intent-filter>
71 <action android:name="android.intent.action.MAIN"/>
72 <category android:name="android.intent.category.DEFAULT" />
Dan Sandler27a9fcc2016-06-22 00:05:11 -040073 </intent-filter>
74 </activity>
75
76 <!-- The quick settings tile, disabled by default -->
77 <service
78 android:name=".neko.NekoTile"
79 android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
80 android:icon="@drawable/stat_icon"
81 android:enabled="false"
82 android:label="@string/default_tile_name">
83 <intent-filter>
84 <action android:name="android.service.quicksettings.action.QS_TILE" />
85 </intent-filter>
86 </service>
Dan Sandler7bcd6aa2017-09-04 21:36:01 -040087
88 <!-- FileProvider for sending pictures -->
89 <provider
90 android:name="android.support.v4.content.FileProvider"
91 android:authorities="com.android.egg.fileprovider"
92 android:grantUriPermissions="true"
93 android:exported="false">
94 <meta-data
95 android:name="android.support.FILE_PROVIDER_PATHS"
96 android:resource="@xml/filepaths" />
97 </provider>
Dan Sandler27a9fcc2016-06-22 00:05:11 -040098 </application>
99</manifest>