| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="com.android.egg" | |
| android:versionCode="12" | |
| android:versionName="1.0"> | |
| <uses-permission android:name="android.permission.WRITE_SETTINGS" /> | |
| <!-- used for cat notifications --> | |
| <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" /> | |
| <!-- used to save cat images --> | |
| <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | |
| <!-- controls --> | |
| <uses-permission android:name="android.permission.BIND_CONTROLS" /> | |
| <application | |
| android:icon="@drawable/icon" | |
| android:label="@string/app_name"> | |
| <activity | |
| android:name=".quares.QuaresActivity" | |
| android:exported="true" | |
| android:icon="@drawable/q_icon" | |
| android:label="@string/q_egg_name" | |
| android:theme="@style/QuaresTheme"> | |
| <intent-filter> | |
| <action android:name="android.intent.action.MAIN" /> | |
| </intent-filter> | |
| </activity> | |
| <activity | |
| android:name=".paint.PaintActivity" | |
| android:configChanges="orientation|keyboardHidden|screenSize|uiMode" | |
| android:exported="true" | |
| android:icon="@drawable/p_icon" | |
| android:label="@string/p_egg_name" | |
| android:theme="@style/AppTheme"> | |
| <intent-filter> | |
| <action android:name="android.intent.action.MAIN" /> | |
| </intent-filter> | |
| </activity> | |
| <!-- Android N easter egg bits --> | |
| <activity | |
| android:name=".neko.NekoLand" | |
| android:exported="true" | |
| android:label="@string/app_name" | |
| android:theme="@android:style/Theme.Material.NoActionBar"> | |
| <intent-filter> | |
| <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" /> | |
| <action android:name="android.intent.action.MAIN" /> | |
| <category android:name="android.intent.category.DEFAULT" /> | |
| </intent-filter> | |
| </activity> | |
| <!-- This is where the magic happens --> | |
| <service | |
| android:name=".neko.NekoService" | |
| android:enabled="true" | |
| android:exported="true" | |
| android:permission="android.permission.BIND_JOB_SERVICE" /> | |
| <!-- Used to show over lock screen --> | |
| <activity | |
| android:name=".neko.NekoLockedActivity" | |
| android:excludeFromRecents="true" | |
| android:exported="true" | |
| android:showOnLockScreen="true" | |
| android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar" /> | |
| <!-- Used to enable easter egg --> | |
| <activity | |
| android:name=".ComponentActivationActivity" | |
| android:excludeFromRecents="true" | |
| android:exported="true" | |
| android:theme="@android:style/Theme.NoDisplay"> | |
| <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> | |
| <!-- The quick settings tile, disabled by default --> | |
| <service | |
| android:name=".neko.NekoTile" | |
| android:enabled="false" | |
| android:exported="true" | |
| android:icon="@drawable/stat_icon" | |
| android:label="@string/default_tile_name" | |
| android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"> | |
| <intent-filter> | |
| <action android:name="android.service.quicksettings.action.QS_TILE" /> | |
| </intent-filter> | |
| </service> | |
| <service | |
| android:name=".neko.NekoControlsService" | |
| android:enabled="false" | |
| android:exported="true" | |
| android:icon="@drawable/ic_fullcat_icon" | |
| android:label="@string/r_egg_name" | |
| android:permission="android.permission.BIND_CONTROLS"> | |
| <intent-filter> | |
| <action android:name="android.service.controls.ControlsProviderService" /> | |
| </intent-filter> | |
| </service> <!-- FileProvider for sending pictures --> | |
| <provider | |
| android:name="androidx.core.content.FileProvider" | |
| android:authorities="com.android.egg.fileprovider" | |
| android:exported="false" | |
| android:grantUriPermissions="true"> | |
| <meta-data | |
| android:name="android.support.FILE_PROVIDER_PATHS" | |
| android:resource="@xml/filepaths" /> | |
| </provider> | |
| <!-- Android S easter egg bits --> | |
| <!-- List of all system theme colors on the device. --> | |
| <activity | |
| android:name=".widget.PaintChipsActivity" | |
| android:theme="@android:style/Theme.Material.Wallpaper.NoTitleBar" | |
| android:configChanges="orientation|keyboardHidden|screenSize|uiMode" | |
| android:label="@string/s_egg_name" | |
| android:enabled="false" | |
| android:exported="true"> | |
| <intent-filter> | |
| <action android:name="android.intent.action.MAIN" /> | |
| </intent-filter> | |
| </activity> | |
| <!-- Homescreen widget also showing paint chips (may be affected by the exact position in | |
| the workspace) --> | |
| <receiver | |
| android:name=".widget.PaintChipsWidget" | |
| android:label="@string/s_egg_name" | |
| android:exported="true" | |
| android:enabled="false"> | |
| <intent-filter> | |
| <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> | |
| </intent-filter> | |
| <meta-data | |
| android:name="android.appwidget.provider" | |
| android:resource="@xml/paint_chips_widget_info" /> | |
| </receiver> | |
| </application> | |
| </manifest> |