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