With b/150232615, we will need an explicit value set for the exported flag when intent filters are present, as the default behavior is changing for future versions. This change adds the value reflecting the previous default to the manifest. These changes were made using an automated tool, the xml file may be reformatted slightly creating a larger diff. The only "real" change is the addition of "android:exported" to activities, services, and receivers that have one or more intent-filters. Bug: 150232615 Test: TH Exempt-From-Owner-Approval: mechanical refactoring Change-Id: I31afc59275ab7e0947fdf01a9f8670f63224f5a0
118 lines
4.6 KiB
XML
118 lines
4.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.egg"
|
|
android:versionCode="1"
|
|
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:icon="@drawable/q_icon"
|
|
android:label="@string/q_egg_name"
|
|
android:exported="true"
|
|
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:icon="@drawable/p_icon"
|
|
android:label="@string/p_egg_name"
|
|
android:exported="true"
|
|
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:theme="@android:style/Theme.Material.NoActionBar"
|
|
android:exported="true"
|
|
android:label="@string/app_name">
|
|
<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: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:exported="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: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:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
|
android:icon="@drawable/stat_icon"
|
|
android:enabled="false"
|
|
android:exported="true"
|
|
android:label="@string/default_tile_name">
|
|
<intent-filter>
|
|
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<service android:name=".neko.NekoControlsService"
|
|
android:permission="android.permission.BIND_CONTROLS"
|
|
android:label="@string/r_egg_name"
|
|
android:icon="@drawable/ic_fullcat_icon"
|
|
android:enabled="false"
|
|
android:exported="true">
|
|
<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:grantUriPermissions="true"
|
|
android:exported="false">
|
|
<meta-data
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
android:resource="@xml/filepaths" />
|
|
</provider>
|
|
</application>
|
|
|
|
</manifest>
|