<activity
android:name=".activities.MainWebViewActivity"
android:label="@string/short_name"
- android:theme="@style/PrivacyBrowserLight"
+ android:theme="@style/PrivacyBrowser"
android:configChanges="orientation|screenSize|screenLayout|keyboard|keyboardHidden"
android:launchMode="singleTask"
android:screenOrientation="fullUser"
<data android:mimeType="text/*" />
</intent-filter>
+ <!-- Process intents for text strings. Sometimes URLs are presented this way. -->
+ <intent-filter>
+ <action android:name="android.intent.action.SEND" />
+
+ <category android:name="android.intent.category.DEFAULT" />
+
+ <data android:mimeType="text/plain" />
+ </intent-filter>
+
<!-- Process intents for MHT archives. -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<data android:host="*" />
- <!-- This pattern matches any file that starts with a `/`, has at least one character, followed by any number of other characters, terminating with `.mht`. -->
- <data android:pathPattern="/.*\.mht" />
+ <!-- In the path pattern syntax, `.*` is a wildcard. Hence, this matches any file path that ends in `.mht`. <https://developer.android.com/guide/topics/manifest/data-element#path> -->
+ <data android:pathPattern=".*.mht" />
<data android:mimeType="*/*" />
</intent-filter>