whitespace code format changes for AndroidManifest.xml

This moves towards the standard Android Studio Ctrl-Alt-L code format with
only whitespace changes.  This just removes this one kind of space, since
its widespread, and easy to track.  I did this using:

sed -i 's," />,"/>,g' app/src/main/AndroidManifest.xml
This commit is contained in:
Hans-Christoph Steiner 2018-02-08 17:39:42 +01:00
parent b11cc6ab28
commit 0159020c2e

View File

@ -1,50 +1,50 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fdroid.fdroid" package="org.fdroid.fdroid"
android:installLocation="auto"> android:installLocation="auto">
<uses-sdk <uses-sdk
android:minSdkVersion="10" android:minSdkVersion="10"
android:targetSdkVersion="24" android:targetSdkVersion="24"
/> />
<supports-screens <supports-screens
android:anyDensity="true" android:anyDensity="true"
android:largeScreens="true" android:largeScreens="true"
android:normalScreens="true" android:normalScreens="true"
android:resizeable="true" android:resizeable="true"
android:smallScreens="true" android:smallScreens="true"
android:xlargeScreens="true" android:xlargeScreens="true"
/> />
<uses-feature <uses-feature
android:name="android.hardware.telephony" android:name="android.hardware.telephony"
android:required="false" /> android:required="false"/>
<uses-feature <uses-feature
android:name="android.hardware.wifi" android:name="android.hardware.wifi"
android:required="false" /> android:required="false"/>
<uses-feature <uses-feature
android:name="android.hardware.touchscreen" android:name="android.hardware.touchscreen"
android:required="false" /> android:required="false"/>
<uses-feature <uses-feature
android:name="android.hardware.nfc" android:name="android.hardware.nfc"
android:required="false" /> android:required="false"/>
<uses-feature <uses-feature
android:name="android.hardware.bluetooth" android:name="android.hardware.bluetooth"
android:required="false" /> android:required="false"/>
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" /> <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<uses-permission android:name="android.permission.NFC" /> <uses-permission android:name="android.permission.NFC"/>
<!-- Indicate that F-Droid may request root access (introduced by Koush's Superuser app) <!-- Indicate that F-Droid may request root access (introduced by Koush's Superuser app)
This permission is deprecated, but necessary for some old superuser This permission is deprecated, but necessary for some old superuser
@ -52,198 +52,198 @@
<uses-permission android:name="android.permission.ACCESS_SUPERUSER"/> <uses-permission android:name="android.permission.ACCESS_SUPERUSER"/>
<application <application
android:name=".FDroidApp" android:name=".FDroidApp"
android:icon="@drawable/ic_launcher" android:icon="@drawable/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:description="@string/app_description" android:description="@string/app_description"
android:allowBackup="true" android:allowBackup="true"
android:fullBackupContent="true" android:fullBackupContent="true"
android:theme="@style/AppThemeLight" android:theme="@style/AppThemeLight"
android:supportsRtl="true" android:supportsRtl="true"
> >
<provider <provider
android:authorities="${applicationId}.data.AppProvider" android:authorities="${applicationId}.data.AppProvider"
android:name="org.fdroid.fdroid.data.AppProvider" android:name="org.fdroid.fdroid.data.AppProvider"
android:exported="false"/> android:exported="false"/>
<provider <provider
android:authorities="${applicationId}.data.RepoProvider" android:authorities="${applicationId}.data.RepoProvider"
android:name="org.fdroid.fdroid.data.RepoProvider" android:name="org.fdroid.fdroid.data.RepoProvider"
android:exported="false"/> android:exported="false"/>
<provider <provider
android:authorities="${applicationId}.data.ApkProvider" android:authorities="${applicationId}.data.ApkProvider"
android:name="org.fdroid.fdroid.data.ApkProvider" android:name="org.fdroid.fdroid.data.ApkProvider"
android:exported="false"/> android:exported="false"/>
<provider <provider
android:authorities="${applicationId}.data.TempApkProvider" android:authorities="${applicationId}.data.TempApkProvider"
android:name="org.fdroid.fdroid.data.TempApkProvider" android:name="org.fdroid.fdroid.data.TempApkProvider"
android:exported="false"/> android:exported="false"/>
<provider <provider
android:authorities="${applicationId}.data.TempAppProvider" android:authorities="${applicationId}.data.TempAppProvider"
android:name="org.fdroid.fdroid.data.TempAppProvider" android:name="org.fdroid.fdroid.data.TempAppProvider"
android:exported="false"/> android:exported="false"/>
<provider <provider
android:authorities="${applicationId}.data.InstalledAppProvider" android:authorities="${applicationId}.data.InstalledAppProvider"
android:name="org.fdroid.fdroid.data.InstalledAppProvider" android:name="org.fdroid.fdroid.data.InstalledAppProvider"
android:exported="false"/> android:exported="false"/>
<provider <provider
android:authorities="${applicationId}.data.AppPrefsProvider" android:authorities="${applicationId}.data.AppPrefsProvider"
android:name="org.fdroid.fdroid.data.AppPrefsProvider" android:name="org.fdroid.fdroid.data.AppPrefsProvider"
android:exported="false"/> android:exported="false"/>
<provider <provider
android:authorities="${applicationId}.data.PackageProvider" android:authorities="${applicationId}.data.PackageProvider"
android:name="org.fdroid.fdroid.data.PackageProvider" android:name="org.fdroid.fdroid.data.PackageProvider"
android:exported="false"/> android:exported="false"/>
<provider <provider
android:authorities="${applicationId}.data.CategoryProvider" android:authorities="${applicationId}.data.CategoryProvider"
android:name="org.fdroid.fdroid.data.CategoryProvider" android:name="org.fdroid.fdroid.data.CategoryProvider"
android:exported="false"/> android:exported="false"/>
<provider <provider
android:name="org.fdroid.fdroid.installer.ApkFileProvider" android:name="org.fdroid.fdroid.installer.ApkFileProvider"
android:authorities="${applicationId}.installer.ApkFileProvider" android:authorities="${applicationId}.installer.ApkFileProvider"
android:exported="false" android:exported="false"
android:grantUriPermissions="true"> android:grantUriPermissions="true">
<meta-data <meta-data
android:name="android.support.FILE_PROVIDER_PATHS" android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/apk_file_provider" /> android:resource="@xml/apk_file_provider"/>
</provider> </provider>
<provider <provider
android:name="android.support.v4.content.FileProvider" android:name="android.support.v4.content.FileProvider"
android:authorities="${applicationId}.installer" android:authorities="${applicationId}.installer"
android:exported="false" android:exported="false"
android:grantUriPermissions="true"> android:grantUriPermissions="true">
<meta-data <meta-data
android:name="android.support.FILE_PROVIDER_PATHS" android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/install_history_file_provider" /> android:resource="@xml/install_history_file_provider"/>
</provider> </provider>
<activity <activity
android:name=".privileged.views.InstallConfirmActivity" android:name=".privileged.views.InstallConfirmActivity"
android:label="@string/menu_install" android:label="@string/menu_install"
android:theme="@style/MinWithDialogBaseThemeLight" android:theme="@style/MinWithDialogBaseThemeLight"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:parentActivityName=".views.main.MainActivity" android:parentActivityName=".views.main.MainActivity"
android:configChanges="layoutDirection|locale" > android:configChanges="layoutDirection|locale">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".views.main.MainActivity" /> android:value=".views.main.MainActivity"/>
</activity> </activity>
<activity <activity
android:name=".privileged.views.UninstallDialogActivity" android:name=".privileged.views.UninstallDialogActivity"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:theme="@style/AppThemeTransparent" /> android:theme="@style/AppThemeTransparent"/>
<activity <activity
android:name=".views.ManageReposActivity" android:name=".views.ManageReposActivity"
android:label="@string/menu_manage" android:label="@string/menu_manage"
android:launchMode="singleTask" android:launchMode="singleTask"
android:parentActivityName=".views.main.MainActivity" android:parentActivityName=".views.main.MainActivity"
android:configChanges="layoutDirection|locale" > android:configChanges="layoutDirection|locale">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".views.main.MainActivity" /> android:value=".views.main.MainActivity"/>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="application/vnd.org.fdroid.fdroid.repo" /> <data android:mimeType="application/vnd.org.fdroid.fdroid.repo"/>
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name=".NfcNotEnabledActivity" android:name=".NfcNotEnabledActivity"
android:noHistory="true" android:noHistory="true"
android:configChanges="layoutDirection|locale" /> android:configChanges="layoutDirection|locale"/>
<activity <activity
android:name=".views.RepoDetailsActivity" android:name=".views.RepoDetailsActivity"
android:label="@string/repo_details" android:label="@string/repo_details"
android:parentActivityName=".views.ManageReposActivity" android:parentActivityName=".views.ManageReposActivity"
android:windowSoftInputMode="stateHidden" android:windowSoftInputMode="stateHidden"
android:configChanges="layoutDirection|locale" > android:configChanges="layoutDirection|locale">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".views.ManageReposActivity" /> android:value=".views.ManageReposActivity"/>
</activity> </activity>
<activity <activity
android:name=".AppDetails2" android:name=".AppDetails2"
android:label="@string/app_details" android:label="@string/app_details"
android:exported="true" android:exported="true"
android:parentActivityName=".views.main.MainActivity" android:parentActivityName=".views.main.MainActivity"
android:configChanges="layoutDirection|locale" > android:configChanges="layoutDirection|locale">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".views.main.MainActivity" /> android:value=".views.main.MainActivity"/>
</activity> </activity>
<activity <activity
android:name=".acra.CrashReportActivity" android:name=".acra.CrashReportActivity"
android:theme="@style/AppThemeDark" android:theme="@style/AppThemeDark"
android:process=":error_report" android:process=":error_report"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:finishOnTaskLaunch="true" /> android:finishOnTaskLaunch="true"/>
<activity <activity
android:label="@string/swap" android:label="@string/swap"
android:name=".views.swap.SwapWorkflowActivity" android:name=".views.swap.SwapWorkflowActivity"
android:parentActivityName=".views.main.MainActivity" android:parentActivityName=".views.main.MainActivity"
android:theme="@style/SwapTheme.Wizard" android:theme="@style/SwapTheme.Wizard"
android:screenOrientation="portrait" android:screenOrientation="portrait"
android:configChanges="orientation|keyboardHidden"> android:configChanges="orientation|keyboardHidden">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".views.main.MainActivity" /> android:value=".views.main.MainActivity"/>
</activity> </activity>
<activity android:name=".views.ScreenShotsActivity" /> <activity android:name=".views.ScreenShotsActivity"/>
<!-- Note: AppThemeTransparent, this activity shows dialogs only --> <!-- Note: AppThemeTransparent, this activity shows dialogs only -->
<activity <activity
android:name=".privileged.install.InstallExtensionDialogActivity" android:name=".privileged.install.InstallExtensionDialogActivity"
android:theme="@style/AppThemeTransparent" /> android:theme="@style/AppThemeTransparent"/>
<activity android:name=".data.ObbUrlActivity" <activity android:name=".data.ObbUrlActivity"
android:theme="@android:style/Theme.NoDisplay" /> android:theme="@android:style/Theme.NoDisplay"/>
<receiver <receiver
android:name=".privileged.install.InstallExtensionBootReceiver" > android:name=".privileged.install.InstallExtensionBootReceiver">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter> </intent-filter>
</receiver> </receiver>
<!-- Note: AppThemeTransparent, this activity shows dialogs only --> <!-- Note: AppThemeTransparent, this activity shows dialogs only -->
<activity <activity
android:name=".installer.DefaultInstallerActivity" android:name=".installer.DefaultInstallerActivity"
android:theme="@style/AppThemeTransparent" /> android:theme="@style/AppThemeTransparent"/>
<!-- Note: AppThemeTransparent, this activity shows dialogs only --> <!-- Note: AppThemeTransparent, this activity shows dialogs only -->
<activity <activity
android:name=".installer.ErrorDialogActivity" android:name=".installer.ErrorDialogActivity"
android:theme="@style/AppThemeTransparent" /> android:theme="@style/AppThemeTransparent"/>
<receiver android:name=".receiver.StartupReceiver" > <receiver android:name=".receiver.StartupReceiver">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED"/>
<category android:name="android.intent.category.HOME" /> <category android:name="android.intent.category.HOME"/>
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver android:name=".receiver.PackageManagerReceiver"> <receiver android:name=".receiver.PackageManagerReceiver">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED" /> <action android:name="android.intent.action.PACKAGE_ADDED"/>
<action android:name="android.intent.action.PACKAGE_CHANGED" /> <action android:name="android.intent.action.PACKAGE_CHANGED"/>
<action android:name="android.intent.action.PACKAGE_REMOVED" /> <action android:name="android.intent.action.PACKAGE_REMOVED"/>
<data android:scheme="package" /> <data android:scheme="package"/>
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver android:name=".receiver.WifiStateChangeReceiver" > <receiver android:name=".receiver.WifiStateChangeReceiver">
<intent-filter> <intent-filter>
<action android:name="android.net.wifi.STATE_CHANGE" /> <action android:name="android.net.wifi.STATE_CHANGE"/>
</intent-filter> </intent-filter>
</receiver> </receiver>
@ -251,160 +251,160 @@
<!-- Doesn't require an intent-filter because it is explicitly invoked via Intent.setClass() --> <!-- Doesn't require an intent-filter because it is explicitly invoked via Intent.setClass() -->
</receiver> </receiver>
<service android:name=".UpdateService" /> <service android:name=".UpdateService"/>
<service <service
android:name=".net.DownloaderService" android:name=".net.DownloaderService"
android:exported="false" /> android:exported="false"/>
<service <service
android:name=".installer.InstallerService" android:name=".installer.InstallerService"
android:exported="false" /> android:exported="false"/>
<service <service
android:name=".CleanCacheService" android:name=".CleanCacheService"
android:exported="false" /> android:exported="false"/>
<service android:name=".net.WifiStateChangeService" /> <service android:name=".net.WifiStateChangeService"/>
<service android:name=".localrepo.SwapService" /> <service android:name=".localrepo.SwapService"/>
<service <service
android:name=".installer.InstallManagerService" android:name=".installer.InstallManagerService"
android:exported="false" /> android:exported="false"/>
<service <service
android:name=".installer.InstallHistoryService" android:name=".installer.InstallHistoryService"
android:exported="false" /> android:exported="false"/>
<service <service
android:name=".localrepo.CacheSwapAppsService" android:name=".localrepo.CacheSwapAppsService"
android:exported="false" /> android:exported="false"/>
<service <service
android:name=".data.InstalledAppProviderService" android:name=".data.InstalledAppProviderService"
android:exported="false" /> android:exported="false"/>
<service <service
android:name=".AppUpdateStatusService" android:name=".AppUpdateStatusService"
android:exported="false" /> android:exported="false"/>
<!-- Warning: Please add all new services to HidingManager --> <!-- Warning: Please add all new services to HidingManager -->
<activity <activity
android:name=".views.main.MainActivity" android:name=".views.main.MainActivity"
android:launchMode="singleTop" android:launchMode="singleTop"
android:windowSoftInputMode="adjustResize"> android:windowSoftInputMode="adjustResize">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter> </intent-filter>
<!-- App URLs --> <!-- App URLs -->
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="fdroid.app" /> <data android:scheme="fdroid.app"/>
</intent-filter> </intent-filter>
<intent-filter android:autoVerify="true"> <intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="http" /> <data android:scheme="http"/>
<data android:scheme="https" /> <data android:scheme="https"/>
<data android:host="f-droid.org" /> <data android:host="f-droid.org"/>
<data android:host="www.f-droid.org" /> <data android:host="www.f-droid.org"/>
<data android:host="staging.f-droid.org" /> <data android:host="staging.f-droid.org"/>
<data android:pathPrefix="/app/" /> <data android:pathPrefix="/app/"/>
<data android:pathPrefix="/packages/" /> <data android:pathPrefix="/packages/"/>
<data android:pathPrefix="/repository/browse" /> <data android:pathPrefix="/repository/browse"/>
<!-- support localized URLs --> <!-- support localized URLs -->
<data android:pathPattern="/.*/packages/.*" /> <data android:pathPattern="/.*/packages/.*"/>
<data android:pathPattern="/.*/packages/.*/" /> <data android:pathPattern="/.*/packages/.*/"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="market" android:host="details" /> <data android:scheme="market" android:host="details"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="http" /> <data android:scheme="http"/>
<data android:scheme="https" /> <data android:scheme="https"/>
<data android:host="play.google.com" /> <!-- they don't do www. --> <data android:host="play.google.com"/> <!-- they don't do www. -->
<data android:path="/store/apps/details" /> <data android:path="/store/apps/details"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="amzn" android:host="apps" android:path="/android" /> <data android:scheme="amzn" android:host="apps" android:path="/android"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="http" /> <data android:scheme="http"/>
<data android:scheme="https" /> <data android:scheme="https"/>
<data android:host="amazon.com" /> <data android:host="amazon.com"/>
<data android:host="www.amazon.com" /> <data android:host="www.amazon.com"/>
<data android:path="/gp/mas/dl/android" /> <data android:path="/gp/mas/dl/android"/>
</intent-filter> </intent-filter>
<!-- Search URLs --> <!-- Search URLs -->
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="fdroid.search" /> <data android:scheme="fdroid.search"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="market" android:host="search" /> <data android:scheme="market" android:host="search"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="http" /> <data android:scheme="http"/>
<data android:scheme="https" /> <data android:scheme="https"/>
<data android:host="play.google.com" /> <!-- they don't do www. --> <data android:host="play.google.com"/> <!-- they don't do www. -->
<data android:path="/store/search" /> <data android:path="/store/search"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEARCH" /> <action android:name="android.intent.action.SEARCH"/>
</intent-filter> </intent-filter>
<meta-data <meta-data
android:name="android.app.searchable" android:name="android.app.searchable"
android:resource="@xml/searchable" /> android:resource="@xml/searchable"/>
<!-- Repo URLs --> <!-- Repo URLs -->
@ -425,10 +425,10 @@
fdroidrepo:// and fdroidrepos:// fdroidrepo:// and fdroidrepos://
--> -->
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<!-- <!--
Android's scheme matcher is case-sensitive, so include Android's scheme matcher is case-sensitive, so include
@ -436,43 +436,43 @@
QR Codes have a special ALL CAPS mode that uses a reduced QR Codes have a special ALL CAPS mode that uses a reduced
character set, making for more compact QR Codes. character set, making for more compact QR Codes.
--> -->
<data android:scheme="http" /> <data android:scheme="http"/>
<data android:scheme="HTTP" /> <data android:scheme="HTTP"/>
<data android:scheme="https" /> <data android:scheme="https"/>
<data android:scheme="HTTPS" /> <data android:scheme="HTTPS"/>
<data android:host="*" /> <data android:host="*"/>
<!-- <!--
The pattern matcher here is poorly implemented, in particular the * is The pattern matcher here is poorly implemented, in particular the * is
non-greedy, so you have to do stupid tricks to match patterns that have non-greedy, so you have to do stupid tricks to match patterns that have
repeat characters in them. http://stackoverflow.com/a/8599921/306864 repeat characters in them. http://stackoverflow.com/a/8599921/306864
--> -->
<data android:path="/fdroid/repo" /> <data android:path="/fdroid/repo"/>
<data android:pathPattern="/fdroid/repo/*" /> <data android:pathPattern="/fdroid/repo/*"/>
<data android:pathPattern="/.*/fdroid/repo" /> <data android:pathPattern="/.*/fdroid/repo"/>
<data android:pathPattern="/.*/fdroid/repo/*" /> <data android:pathPattern="/.*/fdroid/repo/*"/>
<data android:pathPattern="/.*/.*/fdroid/repo" /> <data android:pathPattern="/.*/.*/fdroid/repo"/>
<data android:pathPattern="/.*/.*/fdroid/repo/*" /> <data android:pathPattern="/.*/.*/fdroid/repo/*"/>
<data android:pathPattern="/.*/.*/.*/fdroid/repo" /> <data android:pathPattern="/.*/.*/.*/fdroid/repo"/>
<data android:pathPattern="/.*/.*/.*/fdroid/repo/*" /> <data android:pathPattern="/.*/.*/.*/fdroid/repo/*"/>
<data android:path="/fdroid/archive" /> <data android:path="/fdroid/archive"/>
<data android:pathPattern="/fdroid/archive/*" /> <data android:pathPattern="/fdroid/archive/*"/>
<data android:pathPattern="/.*/fdroid/archive" /> <data android:pathPattern="/.*/fdroid/archive"/>
<data android:pathPattern="/.*/fdroid/archive/*" /> <data android:pathPattern="/.*/fdroid/archive/*"/>
<data android:pathPattern="/.*/.*/fdroid/archive" /> <data android:pathPattern="/.*/.*/fdroid/archive"/>
<data android:pathPattern="/.*/.*/fdroid/archive/*" /> <data android:pathPattern="/.*/.*/fdroid/archive/*"/>
<data android:pathPattern="/.*/.*/.*/fdroid/archive" /> <data android:pathPattern="/.*/.*/.*/fdroid/archive"/>
<data android:pathPattern="/.*/.*/.*/fdroid/archive/*" /> <data android:pathPattern="/.*/.*/.*/fdroid/archive/*"/>
<!-- <!--
Some QR Code scanners don't respect custom schemes like fdroidrepo://, Some QR Code scanners don't respect custom schemes like fdroidrepo://,
so this is a workaround, since the local repo URL is all uppercase in so this is a workaround, since the local repo URL is all uppercase in
the QR Code for sending the local repo to another device. the QR Code for sending the local repo to another device.
--> -->
<data android:path="/FDROID/REPO" /> <data android:path="/FDROID/REPO"/>
<data android:pathPattern="/.*/FDROID/REPO" /> <data android:pathPattern="/.*/FDROID/REPO"/>
<data android:pathPattern="/.*/.*/FDROID/REPO" /> <data android:pathPattern="/.*/.*/FDROID/REPO"/>
<data android:pathPattern="/.*/.*/.*/FDROID/REPO" /> <data android:pathPattern="/.*/.*/.*/FDROID/REPO"/>
</intent-filter> </intent-filter>
<!-- <!--
@ -480,10 +480,10 @@
looks for fdroidrepos://* and doesn't care what the path is. looks for fdroidrepos://* and doesn't care what the path is.
--> -->
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<!-- <!--
Android's scheme matcher is case-sensitive, so include Android's scheme matcher is case-sensitive, so include
@ -491,49 +491,49 @@
QR Codes have a special ALL CAPS mode that uses a reduced QR Codes have a special ALL CAPS mode that uses a reduced
character set, making for more compact QR Codes. character set, making for more compact QR Codes.
--> -->
<data android:scheme="fdroidrepo" /> <data android:scheme="fdroidrepo"/>
<data android:scheme="FDROIDREPO" /> <data android:scheme="FDROIDREPO"/>
<data android:scheme="fdroidrepos" /> <data android:scheme="fdroidrepos"/>
<data android:scheme="FDROIDREPOS" /> <data android:scheme="FDROIDREPOS"/>
</intent-filter> </intent-filter>
<!-- Handle NFC tags detected from outside our application --> <!-- Handle NFC tags detected from outside our application -->
<intent-filter> <intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED" /> <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT"/>
<!-- <!--
URIs that come in via NFC have scheme/host normalized to all lower case URIs that come in via NFC have scheme/host normalized to all lower case
https://developer.android.com/reference/android/nfc/NfcAdapter.html#ACTION_NDEF_DISCOVERED https://developer.android.com/reference/android/nfc/NfcAdapter.html#ACTION_NDEF_DISCOVERED
--> -->
<data android:scheme="fdroidrepo" /> <data android:scheme="fdroidrepo"/>
<data android:scheme="fdroidrepos" /> <data android:scheme="fdroidrepos"/>
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".views.apps.AppListActivity" /> <activity android:name=".views.apps.AppListActivity"/>
<activity android:name=".views.installed.InstalledAppsActivity" <activity android:name=".views.installed.InstalledAppsActivity"
android:parentActivityName=".views.main.MainActivity"> android:parentActivityName=".views.main.MainActivity">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".views.main.MainActivity" /> android:value=".views.main.MainActivity"/>
</activity> </activity>
<activity android:name=".AboutActivity" android:theme="@style/Theme.AppCompat.Light.Dialog" /> <activity android:name=".AboutActivity" android:theme="@style/Theme.AppCompat.Light.Dialog"/>
<activity android:name=".installer.FileInstallerActivity" android:theme="@style/AppThemeTransparent" /> <activity android:name=".installer.FileInstallerActivity" android:theme="@style/AppThemeTransparent"/>
<activity <activity
android:name=".views.panic.PanicPreferencesActivity" android:name=".views.panic.PanicPreferencesActivity"
android:label="@string/panic_settings" android:label="@string/panic_settings"
android:parentActivityName=".views.main.MainActivity"> android:parentActivityName=".views.main.MainActivity">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value=".views.main.MainActivity"/> android:value=".views.main.MainActivity"/>
<intent-filter> <intent-filter>
<action android:name="info.guardianproject.panic.action.CONNECT"/> <action android:name="info.guardianproject.panic.action.CONNECT"/>
<action android:name="info.guardianproject.panic.action.DISCONNECT"/> <action android:name="info.guardianproject.panic.action.DISCONNECT"/>
@ -541,9 +541,9 @@
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name=".views.panic.PanicResponderActivity" android:name=".views.panic.PanicResponderActivity"
android:noHistory="true" android:noHistory="true"
android:theme="@android:style/Theme.NoDisplay"> android:theme="@android:style/Theme.NoDisplay">
<!-- this can never have launchMode singleTask or singleInstance! --> <!-- this can never have launchMode singleTask or singleInstance! -->
<intent-filter> <intent-filter>
<action android:name="info.guardianproject.panic.action.TRIGGER"/> <action android:name="info.guardianproject.panic.action.TRIGGER"/>
@ -551,18 +551,18 @@
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name=".views.panic.ExitActivity" android:name=".views.panic.ExitActivity"
android:theme="@android:style/Theme.NoDisplay"/> android:theme="@android:style/Theme.NoDisplay"/>
<activity <activity
android:name=".views.hiding.CalculatorActivity" android:name=".views.hiding.CalculatorActivity"
android:enabled="false" android:enabled="false"
android:icon="@mipmap/ic_calculator_launcher" android:icon="@mipmap/ic_calculator_launcher"
android:label="@string/hiding_calculator" android:label="@string/hiding_calculator"
android:theme="@style/AppThemeLight"> android:theme="@style/AppThemeLight">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter> </intent-filter>
</activity> </activity>