Files
AndroidJetpack/AndroidEasterEggs/eggs/T/AndroidManifest.xml
T
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

108 lines
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android_t.egg">
<!-- <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"
android:maxSdkVersion="28" />
<!-- controls -->
<uses-permission android:name="android.permission.BIND_CONTROLS" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<application>
<activity
android:name=".PlatLogoActivity"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
android:exported="true"
android:icon="@drawable/t_platlogo"
android:label="@string/t_egg_name"
android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen" />
<!-- Android N easter egg bits -->
<activity
android:name=".neko.NekoLand"
android:exported="true"
android:label="@string/t_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 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>
<service
android:name=".neko.NekoControlsService"
android:enabled="false"
android:exported="true"
android:icon="@drawable/t_ic_fullcat_icon"
android:label="@string/t_egg_name"
android:permission="android.permission.BIND_CONTROLS">
<intent-filter>
<action android:name="android.service.controls.ControlsProviderService" />
</intent-filter>
</service>
<!-- Android S easter egg bits -->
<!-- List of all system theme colors on the device. -->
<activity
android:name=".widget.PaintChipsActivity"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode"
android:enabled="false"
android:exported="true"
android:label="@string/t_egg_name"
android:theme="@android:style/Theme.Material.Wallpaper.NoTitleBar">
<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:enabled="false"
android:exported="true"
android:label="@string/t_egg_name">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/t_paint_chips_widget_info" />
</receiver>
</application>
</manifest>