You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
172 lines
7.5 KiB
172 lines
7.5 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<!-- Copyright 2014 A.C.R. Development --> |
|
<manifest |
|
xmlns:android="http://schemas.android.com/apk/res/android" |
|
package="acr.browser.lightning" |
|
android:installLocation="auto"> |
|
|
|
<uses-permission android:name="android.permission.INTERNET"/> |
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> |
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
|
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/> |
|
<uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/> |
|
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
|
|
|
<uses-feature |
|
android:name="android.hardware.location.gps" |
|
android:required="false"/> |
|
<uses-feature |
|
android:name="android.hardware.location" |
|
android:required="false"/> |
|
<uses-feature |
|
android:name="android.hardware.touchscreen" |
|
android:required="false"/> |
|
|
|
<application |
|
android:name=".BrowserApp" |
|
android:allowBackup="true" |
|
android:hardwareAccelerated="true" |
|
android:icon="@mipmap/ic_launcher" |
|
android:label="@string/app_name"> |
|
<meta-data |
|
android:name="android.webkit.WebView.MetricsOptOut" |
|
android:value="true"/> |
|
<meta-data |
|
android:name="android.max_aspect" |
|
android:value="2.1"/> |
|
|
|
<activity |
|
android:name=".MainActivity" |
|
android:alwaysRetainTaskState="true" |
|
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|keyboardHidden|keyboard" |
|
android:label="@string/app_name" |
|
android:launchMode="singleTask" |
|
android:theme="@style/Theme.LightTheme" |
|
android:windowSoftInputMode="adjustResize"> |
|
<intent-filter> |
|
<action android:name="android.intent.action.MAIN"/> |
|
|
|
<category android:name="android.intent.category.DEFAULT"/> |
|
<category android:name="android.intent.category.LAUNCHER"/> |
|
<category android:name="android.intent.category.BROWSABLE"/> |
|
<category android:name="android.intent.category.APP_BROWSER"/> |
|
</intent-filter> |
|
<intent-filter> |
|
<action android:name="android.intent.action.VIEW"/> |
|
|
|
<category android:name="android.intent.category.DEFAULT"/> |
|
<category android:name="android.intent.category.BROWSABLE"/> |
|
|
|
<data android:scheme="file"/> |
|
<data android:mimeType="text/html"/> |
|
<data android:mimeType="text/plain"/> |
|
<data android:mimeType="application/xhtml+xml"/> |
|
<data android:mimeType="application/vnd.wap.xhtml+xml"/> |
|
</intent-filter> |
|
<intent-filter> |
|
<action android:name="android.intent.action.VIEW"/> |
|
|
|
<category android:name="android.intent.category.DEFAULT"/> |
|
<category android:name="android.intent.category.BROWSABLE"/> |
|
|
|
<data android:scheme="http"/> |
|
<data android:scheme="https"/> |
|
<data android:scheme="about"/> |
|
<data android:scheme="javascript"/> |
|
</intent-filter> |
|
<!-- |
|
For these schemes where any of these particular MIME types |
|
have been supplied, we are a good candidate. |
|
--> |
|
<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"/> |
|
<data android:scheme="inline"/> |
|
<data android:mimeType="text/html"/> |
|
<data android:mimeType="text/plain"/> |
|
<data android:mimeType="application/xhtml+xml"/> |
|
<data android:mimeType="application/vnd.wap.xhtml+xml"/> |
|
</intent-filter> |
|
<!-- For viewing saved web archives. --> |
|
<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"/> |
|
<data android:scheme="file"/> |
|
<data android:mimeType="application/x-webarchive-xml"/> |
|
</intent-filter> |
|
<intent-filter> |
|
<action android:name="android.intent.action.WEB_SEARCH"/> |
|
|
|
<category android:name="android.intent.category.DEFAULT"/> |
|
<category android:name="android.intent.category.BROWSABLE"/> |
|
|
|
<data android:scheme="http"/> |
|
<data android:scheme="https"/> |
|
</intent-filter> |
|
<intent-filter> |
|
<action android:name="info.guardianproject.panic.action.TRIGGER"/> |
|
|
|
<category android:name="android.intent.category.DEFAULT"/> |
|
</intent-filter> |
|
</activity> |
|
<activity |
|
android:name=".settings.activity.SettingsActivity" |
|
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|keyboardHidden|keyboard" |
|
android:label="@string/settings" |
|
android:theme="@style/Theme.SettingsTheme"> |
|
<intent-filter> |
|
<action android:name="android.intent.action.SETTINGS"/> |
|
|
|
<category android:name="android.intent.category.DEFAULT"/> |
|
</intent-filter> |
|
</activity> |
|
<activity |
|
android:name=".IncognitoActivity" |
|
android:alwaysRetainTaskState="true" |
|
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|keyboardHidden|keyboard" |
|
android:label="@string/app_name" |
|
android:launchMode="singleTask" |
|
android:theme="@style/Theme.DarkTheme" |
|
android:windowSoftInputMode="stateHidden|adjustResize"> |
|
<intent-filter> |
|
<action android:name="android.intent.action.INCOGNITO"/> |
|
|
|
<category android:name="android.intent.category.DEFAULT"/> |
|
</intent-filter> |
|
</activity> |
|
<activity |
|
android:name=".reading.activity.ReadingActivity" |
|
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|keyboardHidden|keyboard" |
|
android:label="@string/reading_mode" |
|
android:theme="@style/Theme.SettingsTheme"> |
|
<intent-filter> |
|
<action android:name="android.intent.action.READING"/> |
|
|
|
<category android:name="android.intent.category.DEFAULT"/> |
|
</intent-filter> |
|
</activity> |
|
|
|
<provider |
|
android:name="android.support.v4.content.FileProvider" |
|
android:authorities="${applicationId}.fileprovider" |
|
android:grantUriPermissions="true" |
|
android:exported="false"> |
|
<meta-data |
|
android:name="android.support.FILE_PROVIDER_PATHS" |
|
android:resource="@xml/filepaths" /> |
|
</provider> |
|
</application> |
|
|
|
</manifest> |