1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2018 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 package="com.android.sharetest"> 19 20 <application android:label="Share Test" 21 android:icon="@drawable/launcher_icon"> 22 <activity 23 android:name="com.android.sharetest.ShareTestActivity" 24 android:exported="true" 25 android:theme="@style/ShareTest"> 26 <intent-filter> 27 <action android:name="android.intent.action.MAIN"/> 28 <category android:name="android.intent.category.DEFAULT"/> 29 <category android:name="android.intent.category.LAUNCHER"/> 30 </intent-filter> 31 </activity> 32 33 <activity 34 android:name=".RefinementActivity" 35 android:theme="@style/ShareTestDialog" 36 /> 37 38 <activity 39 android:name=".SendTextActivity" 40 android:exported="true" 41 android:theme="@style/ShareTest" 42 android:label="Send Text"> 43 <intent-filter> 44 <action android:name="android.intent.action.SEND" /> 45 <category android:name="android.intent.category.DEFAULT" /> 46 <data android:mimeType="text/*" /> 47 </intent-filter> 48 </activity> 49 50 <activity 51 android:name=".CallerDirectTargetActivity" 52 android:exported="true" 53 android:theme="@style/ShareTest" 54 android:label="Direct Target"> 55 <intent-filter> 56 <action android:name="android.intent.action.SEND" /> 57 <category android:name="android.intent.category.DEFAULT" /> 58 <data android:mimeType="text/*" /> 59 </intent-filter> 60 <intent-filter> 61 <action android:name="android.intent.action.SEND" /> 62 <action android:name="android.intent.action.SEND_MULTIPLE" /> 63 <category android:name="android.intent.category.DEFAULT" /> 64 <data android:mimeType="image/*" /> 65 </intent-filter> 66 </activity> 67 68 <provider 69 android:authorities="com.android.sharetest.provider" 70 android:name=".ImageContentProvider" 71 android:grantUriPermissions="true" /> 72 73 <provider 74 android:authorities="com.android.sharetest.additionalcontent" 75 android:name=".AdditionalContentProvider" 76 android:exported="false" 77 android:enabled="true" 78 android:grantUriPermissions="true" /> 79 80 <receiver android:name=".ChosenComponentBroadcastReceiver" /> 81 </application> 82</manifest> 83