7bcd6aa4f7
Change-Id: Ibeea21e14f52b018e9c130df17560c4d39f23ed3 Bug: 64305456 Fixes: 37926266 Fixes: 38349532 Test: adb shell am start -n com.android.egg/.neko.NekoActivationActivity ; \ adb shell am start -n com.android.egg/.neko.NekoLockedActivity ; \ echo "pick a dessert then press enter" ; read foo ; \ adb shell cmd jobscheduler run -f com.android.egg 42 ; \ adb shell am start -n com.android.egg/.neko.NekoLand ; \ echo "longpress your new cat and touch the share icon"
100 lines
4.1 KiB
XML
100 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2016 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.egg"
|
|
android:versionCode="1"
|
|
android:versionName="1.0">
|
|
|
|
<uses-sdk android:minSdkVersion="26" />
|
|
|
|
<uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
<application android:label="@string/app_name" android:icon="@drawable/icon">
|
|
|
|
<activity android:name=".octo.Ocquarium"
|
|
android:theme="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen"
|
|
android:label="@string/app_name">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="com.android.internal.category.PLATLOGO" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- Android N lives on inside Android O... -->
|
|
|
|
<!-- Long press the QS tile to get here -->
|
|
<activity android:name=".neko.NekoLand"
|
|
android:theme="@android:style/Theme.Material.NoActionBar"
|
|
android:label="@string/app_name">
|
|
<intent-filter>
|
|
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
|
|
<action android:name="android.intent.action.MAIN" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- This is where the magic happens -->
|
|
<service
|
|
android:name=".neko.NekoService"
|
|
android:enabled="true"
|
|
android:permission="android.permission.BIND_JOB_SERVICE"
|
|
android:exported="true" >
|
|
</service>
|
|
|
|
<!-- Used to show over lock screen -->
|
|
<activity android:name=".neko.NekoLockedActivity"
|
|
android:excludeFromRecents="true"
|
|
android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar"
|
|
android:showOnLockScreen="true" />
|
|
|
|
<!-- Used to enable easter egg -->
|
|
<activity android:name=".neko.NekoActivationActivity"
|
|
android:excludeFromRecents="true"
|
|
android:theme="@android:style/Theme.NoDisplay"
|
|
>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- The quick settings tile, disabled by default -->
|
|
<service
|
|
android:name=".neko.NekoTile"
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
|
android:icon="@drawable/stat_icon"
|
|
android:enabled="false"
|
|
android:label="@string/default_tile_name">
|
|
<intent-filter>
|
|
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<!-- FileProvider for sending pictures -->
|
|
<provider
|
|
android:name="android.support.v4.content.FileProvider"
|
|
android:authorities="com.android.egg.fileprovider"
|
|
android:grantUriPermissions="true"
|
|
android:exported="false">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/filepaths" />
|
|
</provider>
|
|
</application>
|
|
</manifest>
|