1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright 2018 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:tools="http://schemas.android.com/tools">
20
21    <application
22        android:allowBackup="true"
23        android:icon="@mipmap/ic_launcher"
24        android:label="@string/app_name"
25        android:roundIcon="@mipmap/ic_launcher_round"
26        android:supportsRtl="true"
27        android:theme="@style/AppTheme"
28        tools:ignore="GoogleAppIndexingWarning">
29        <activity
30            android:name=".MainActivity"
31            android:exported="true">
32            <intent-filter>
33                <action android:name="android.intent.action.MAIN" />
34                <category android:name="android.intent.category.LAUNCHER" />
35            </intent-filter>
36
37            <meta-data
38                android:name="android.app.shortcuts"
39                android:resource="@xml/shortcuts" />
40        </activity>
41
42        <activity
43            android:name=".TextConsumerActivity"
44            android:exported="true"
45            android:label="@string/app_name"
46            android:theme="@style/AppTheme">
47            <intent-filter>
48                <action android:name="android.intent.action.SEND" />
49                <category android:name="android.intent.category.DEFAULT" />
50                <data android:mimeType="text/plain" />
51            </intent-filter>
52            <meta-data
53                android:name="android.service.chooser.chooser_target_service"
54                android:value="androidx.sharetarget.ChooserTargetServiceCompat" />
55        </activity>
56
57        <activity
58            android:name=".OtherTextConsumerActivity"
59            android:exported="true"
60            android:label="@string/app_name"
61            android:theme="@style/AppTheme">
62            <intent-filter>
63                <action android:name="android.intent.action.SEND" />
64                <category android:name="android.intent.category.DEFAULT" />
65                <data android:mimeType="text/plain" />
66            </intent-filter>
67        </activity>
68
69    </application>
70
71</manifest>