]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/AndroidManifest.xml
Add the favorite icon to the addressBarLinearLayout.
[PrivacyBrowserAndroid.git] / app / src / main / AndroidManifest.xml
index 6e2fc2d8686ff607e41be5543a61bc4201f11f78..02deefaca231af5a89399aba8921b25447181bb5 100644 (file)
@@ -10,6 +10,9 @@
         android:icon="@mipmap/ic_launcher"
         android:label="@string/privacy_browser"
         android:theme="@style/AppTheme" >
+
+        <!-- configChanges orientation and screenSize makes the app not reload when the orientation changes. -->
+        <!-- windowSoftInputMode stateAlwaysHidden hides the keyboard when the app starts. -->
         <activity
             android:name=".Webview"
             android:configChanges="orientation|screenSize"
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
+
+            <!-- android.intent.action.VIEW with the schemes enables processing of web intents. -->
             <intent-filter>
                 <action android:name="android.intent.action.VIEW" />
+                <category android:name="android.intent.category.BROWSABLE" />
                 <category android:name="android.intent.category.DEFAULT" />
                 <data android:scheme="http" />
                 <data android:scheme="https" />