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