|
55 | 55 | <activity
|
56 | 56 | android:name=".MainActivity"
|
57 | 57 | android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize"
|
| 58 | + android:launchMode="singleTask" |
58 | 59 | android:exported="true">
|
59 | 60 |
|
60 |
| - <intent-filter> |
| 61 | + <intent-filter android:label="@string/action_compose"> |
61 | 62 | <action android:name="android.intent.action.SEND" />
|
62 | 63 |
|
63 | 64 | <category android:name="android.intent.category.DEFAULT" />
|
64 | 65 |
|
65 | 66 | <data android:mimeType="text/plain" />
|
66 | 67 | </intent-filter>
|
67 |
| - <intent-filter> |
| 68 | + <intent-filter android:label="@string/action_compose"> |
68 | 69 | <action android:name="android.intent.action.SEND" />
|
69 | 70 |
|
70 | 71 | <category android:name="android.intent.category.DEFAULT" />
|
71 | 72 |
|
72 | 73 | <data android:mimeType="image/*" />
|
73 | 74 | </intent-filter>
|
74 |
| - <intent-filter> |
| 75 | + <intent-filter android:label="@string/action_compose"> |
75 | 76 | <action android:name="android.intent.action.SEND" />
|
76 | 77 |
|
77 | 78 | <category android:name="android.intent.category.DEFAULT" />
|
78 | 79 |
|
79 | 80 | <data android:mimeType="video/*" />
|
80 | 81 | </intent-filter>
|
81 |
| - <intent-filter> |
| 82 | + <intent-filter android:label="@string/action_compose"> |
82 | 83 | <action android:name="android.intent.action.SEND_MULTIPLE" />
|
83 | 84 |
|
84 | 85 | <category android:name="android.intent.category.DEFAULT" />
|
85 | 86 |
|
86 | 87 | <data android:mimeType="image/*" />
|
87 | 88 | </intent-filter>
|
88 |
| - <intent-filter> |
| 89 | + <intent-filter android:label="@string/action_compose"> |
89 | 90 | <action android:name="android.intent.action.SEND_MULTIPLE" />
|
90 | 91 |
|
91 | 92 | <category android:name="android.intent.category.DEFAULT" />
|
92 | 93 |
|
93 | 94 | <data android:mimeType="video/*" />
|
94 | 95 | </intent-filter>
|
95 |
| - <intent-filter> |
| 96 | + <intent-filter android:label="@string/action_compose"> |
96 | 97 | <action android:name="android.intent.action.SEND" />
|
97 | 98 |
|
98 | 99 | <category android:name="android.intent.category.DEFAULT" />
|
99 | 100 |
|
100 | 101 | <data android:mimeType="audio/*" />
|
101 | 102 | </intent-filter>
|
102 | 103 |
|
| 104 | + <intent-filter> |
| 105 | + <action android:name="dev.zwander.mastodonredirect.intent.action.OPEN_FEDI_LINK" /> |
| 106 | + |
| 107 | + <category android:name="android.intent.category.DEFAULT" /> |
| 108 | + </intent-filter> |
| 109 | + |
103 | 110 | <meta-data
|
104 | 111 | android:name="android.service.chooser.chooser_target_service"
|
105 | 112 | android:value="androidx.sharetarget.ChooserTargetServiceCompat" />
|
106 | 113 |
|
| 114 | + </activity> |
| 115 | + <activity |
| 116 | + android:name=".components.view.ViewLinkActivity" |
| 117 | + android:excludeFromRecents="true" |
| 118 | + android:exported="true" |
| 119 | + android:theme="@style/NullTheme"> |
| 120 | + |
| 121 | + <intent-filter android:label="@string/open_link"> |
| 122 | + <action android:name="android.intent.action.SEND" /> |
| 123 | + |
| 124 | + <category android:name="android.intent.category.DEFAULT" /> |
| 125 | + |
| 126 | + <data android:mimeType="text/plain" /> |
| 127 | + </intent-filter> |
| 128 | + |
107 | 129 | </activity>
|
108 | 130 | <activity
|
109 | 131 | android:name=".components.compose.ComposeActivity"
|
|
0 commit comments