mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 12:51:16 +00:00
146 lines
6.9 KiB
XML
146 lines
6.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="com.nutomic.syncthingandroid">
|
|
|
|
<uses-feature android:name="android.software.leanback" android:required="false" />
|
|
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
|
|
<!-- ACCESS_COARSE_LOCATION is required to get WiFi's SSID on 8.1 -->
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
|
|
<application
|
|
android:allowBackup="false"
|
|
android:fullBackupContent="false"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:banner="@drawable/banner"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/Theme.Syncthing"
|
|
android:description="@string/app_description"
|
|
android:supportsRtl="true"
|
|
android:installLocation="internalOnly"
|
|
android:name=".SyncthingApp">
|
|
<activity
|
|
android:name=".activities.FirstStartActivity"
|
|
android:label="@string/app_name"
|
|
android:launchMode="singleInstance">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.MainActivity"
|
|
android:label="@string/app_name"
|
|
android:launchMode="singleTask">
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.WebGuiActivity"
|
|
android:label="@string/web_gui_title"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.MainActivity" />
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.ShareActivity"
|
|
android:label="@string/share_activity_title"
|
|
android:excludeFromRecents="true"
|
|
android:taskAffinity=""
|
|
android:windowSoftInputMode="adjustResize">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="*/*" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="*/*" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.LogActivity"
|
|
android:parentActivityName=".activities.SettingsActivity">
|
|
<intent-filter>
|
|
<action android:name=".activities.LogActivity" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.SettingsActivity" />
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.FolderPickerActivity"
|
|
android:label="@string/folder_picker_title">
|
|
<meta-data
|
|
android:name="android.support.UI_OPTIONS"
|
|
android:value="splitActionBarWhenNarrow" />
|
|
</activity>
|
|
<activity android:name=".activities.RestartActivity"
|
|
android:theme="@style/Theme.Syncthing.Translucent"
|
|
android:launchMode="singleTop"/>
|
|
<activity android:name=".activities.DeviceActivity"
|
|
android:parentActivityName=".activities.MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.MainActivity" />
|
|
</activity>
|
|
<activity android:name=".activities.FolderActivity"
|
|
android:parentActivityName=".activities.MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.MainActivity" />
|
|
</activity>
|
|
<activity android:name=".activities.SettingsActivity"
|
|
android:parentActivityName=".activities.MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.MainActivity" />
|
|
</activity>
|
|
<service android:name=".service.SyncthingService" />
|
|
<receiver android:name=".receiver.BootReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name=".receiver.AppConfigReceiver"
|
|
tools:ignore="ExportedReceiver">
|
|
<intent-filter>
|
|
<action android:name="com.nutomic.syncthingandroid.action.START" />
|
|
<action android:name="com.nutomic.syncthingandroid.action.STOP" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<activity android:name=".activities.PullOrderDialogActivity"
|
|
android:label="@string/pull_order"
|
|
android:theme="@style/Theme.Syncthing.Dialog"
|
|
android:parentActivityName=".activities.FolderActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="com.nutomic.syncthingandroid.activities.FolderActivity" />
|
|
</activity>
|
|
<activity android:name=".activities.VersioningDialogActivity"
|
|
android:label="@string/file_versioning"
|
|
android:theme="@style/Theme.Syncthing.Dialog"
|
|
android:parentActivityName=".activities.FolderActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="com.nutomic.syncthingandroid.activities.FolderActivity" />
|
|
</activity>
|
|
</application>
|
|
|
|
</manifest>
|