1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-30 08:11:17 +00:00
syncthing-android/src/main/AndroidManifest.xml

146 lines
6.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2016-04-26 20:54:27 +00:00
xmlns:tools="http://schemas.android.com/tools"
2015-06-28 15:43:43 +00:00
package="com.nutomic.syncthingandroid">
2015-05-30 09:01:38 +00:00
<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"/>
<application
android:allowBackup="false"
android:fullBackupContent="false"
android:icon="@drawable/ic_launcher"
2015-05-30 09:01:38 +00:00
android:banner="@drawable/banner"
android:label="@string/app_name"
android:theme="@style/Theme.Syncthing"
2015-06-19 18:15:35 +00:00
android:description="@string/app_description"
android:supportsRtl="true"
android:installLocation="internalOnly"
android:name=".SyncthingApp">
<activity
2016-09-07 01:02:18 +00:00
android:name=".activities.FirstStartActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
2015-05-30 09:01:38 +00:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
2016-09-07 01:02:18 +00:00
<activity
android:name=".activities.MainActivity"
android:label="@string/app_name"
android:launchMode="singleTop">
</activity>
<activity
android:name=".activities.WebGuiActivity"
android:label="@string/web_gui_title"
android:parentActivityName=".activities.MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.MainActivity" />
</activity>
2015-03-28 13:28:23 +00:00
<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
2015-03-28 13:28:23 +00:00
android:name=".activities.LogActivity"
android:label="@string/log_title"
android:parentActivityName=".activities.SettingsActivity">
<intent-filter>
<action android:name=".activities.LogActivity" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
2015-03-28 13:28:23 +00:00
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.SettingsActivity" />
2015-03-28 13:28:23 +00:00
</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>
2016-11-10 14:55:55 +00:00
<activity android:name=".activities.SettingsActivity"
android:parentActivityName=".activities.MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.MainActivity" />
</activity>
2016-10-31 09:25:55 +00:00
<service android:name=".service.SyncthingService" />
<receiver android:name=".receiver.NetworkReceiver">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<receiver android:name=".receiver.BatteryReceiver">
<intent-filter>
<action android:name="android.intent.action.ACTION_POWER_CONNECTED" />
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
</intent-filter>
</receiver>
<receiver android:name=".receiver.BootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver android:name=".receiver.AppConfigReceiver"
2016-04-26 20:54:27 +00:00
tools:ignore="ExportedReceiver">
<intent-filter>
<action android:name="com.nutomic.syncthingandroid.action.START" />
<action android:name="com.nutomic.syncthingandroid.action.STOP" />
</intent-filter>
</receiver>
Added support for all versioning types in the app UI. Addressing #718 (#896) * Merge branch 'Fix718' Merged fixes for issues #718, added functionality for all the file versioning types in the app UI. * Basic theme is working * GOt dialog working with setREsult. * Addressed issues raised and fixed orientation change bug. Adressed issues radied by nutomic: - Changed the String concatenation so it uses String.format. - Made members variables private that were not previously private by mistake. - Changed name from FolderPathTextView to FolderPathTextViewFragment. - Fixed typo in NumberPickerFragment - Now uses TImeUnit for time conversion - Changed from DialogFragment to a dialog themed Activity inorder to have correct themeing. About the orientation change bug. When the dialog themed activity was open and the orientation was changed, it would cause the background activity(The FolderActivity) to recreate itself. In the process of recreating itself it would reset the mFolder variable and then reinitialise it in the OnApiChange listener. However the result from the Dialog was returned before the mFolder had been reinitialised and was still null, so inbetween the result being returned and the mFolder variable being reinitialised the new file versioning configuration had to be stored and then applied to the mFolder variable in the onApiChange listener. The file versioning configuration is temporarily stored in the mVersioning variable which is an instance of Folder.versioning. This error only occurred when using an Activity as a dialog and using the startActivityForResult method for initialisling the activity. Before when using a dialogfragment and an interface to callback to the parent activity, everything happend in the correct order. * Fixed versioning dialog lag. The initial updateFragmentView() is called in onCreate() and the fragment is only updated when a new file versioning type is selected. * Removed FolderPathTextViewFragment The fragment is removed, and a helper method has been added to FolderPickerActivity to create an intent to the the FolderPickerActivity for result.
2017-06-15 08:44:44 +00:00
<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>
Added support for all versioning types in the app UI. Addressing #718 (#896) * Merge branch 'Fix718' Merged fixes for issues #718, added functionality for all the file versioning types in the app UI. * Basic theme is working * GOt dialog working with setREsult. * Addressed issues raised and fixed orientation change bug. Adressed issues radied by nutomic: - Changed the String concatenation so it uses String.format. - Made members variables private that were not previously private by mistake. - Changed name from FolderPathTextView to FolderPathTextViewFragment. - Fixed typo in NumberPickerFragment - Now uses TImeUnit for time conversion - Changed from DialogFragment to a dialog themed Activity inorder to have correct themeing. About the orientation change bug. When the dialog themed activity was open and the orientation was changed, it would cause the background activity(The FolderActivity) to recreate itself. In the process of recreating itself it would reset the mFolder variable and then reinitialise it in the OnApiChange listener. However the result from the Dialog was returned before the mFolder had been reinitialised and was still null, so inbetween the result being returned and the mFolder variable being reinitialised the new file versioning configuration had to be stored and then applied to the mFolder variable in the onApiChange listener. The file versioning configuration is temporarily stored in the mVersioning variable which is an instance of Folder.versioning. This error only occurred when using an Activity as a dialog and using the startActivityForResult method for initialisling the activity. Before when using a dialogfragment and an interface to callback to the parent activity, everything happend in the correct order. * Fixed versioning dialog lag. The initial updateFragmentView() is called in onCreate() and the fragment is only updated when a new file versioning type is selected. * Removed FolderPathTextViewFragment The fragment is removed, and a helper method has been added to FolderPickerActivity to create an intent to the the FolderPickerActivity for result.
2017-06-15 08:44:44 +00:00
</manifest>