* Bump com.github.triplet.play from 2.5.0 to 2.7.5
Bumps com.github.triplet.play from 2.5.0 to 2.7.5.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Fix com.github.triplet.play dependency setup
* gradle-wrapper.properties: Update gradle 6.0.1 > 6.2.2
from: 5ad55348b8
* build.gradle: Update "com.android.tools.build:gradle" from 3.5.3 to 3.6.3
* gradle.properties: + android.useAndroidX=true
* Migrate to AndroidX: import androidx.databinding.DataBindingUtil
* Create setenv.cmd
* Fix lint error: RtlCompat
Right-to-left text compatibility issues
../../src/main/res/layout/activity_firststart_slide1.xml:46: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
43 android:paddingLeft="@dimen/desc_padding"
44 android:paddingRight="@dimen/desc_padding"
45 android:text="@string/welcome_text"
46 android:textAlignment="center"
47 android:textColor="@android:color/white"
48 android:textSize="@dimen/slide_desc" />
49
../../src/main/res/layout/activity_firststart_slide2.xml:61: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
58 android:paddingLeft="@dimen/desc_padding"
59 android:paddingRight="@dimen/desc_padding"
60 android:text="@string/storage_permission_desc"
61 android:textAlignment="center"
62 android:textColor="@android:color/white"
63 android:textSize="@dimen/slide_desc" />
64
../../src/main/res/layout/activity_firststart_slide3.xml:61: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
58 android:paddingLeft="@dimen/desc_padding"
59 android:paddingRight="@dimen/desc_padding"
60 android:text="@string/location_permission_desc"
61 android:textAlignment="center"
62 android:textColor="@android:color/white"
63 android:textSize="@dimen/slide_desc" />
64
../../src/main/res/layout/fragment_external_versioning.xml:11: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
8 android:layout_height="wrap_content"
9 android:layout_margin="10dp"
10 android:text="@string/command"
11 android:textAlignment="center"
12 android:textColor="@android:color/black"
13 android:textSize="18sp"
14 android:textStyle="bold" />
../../src/main/res/layout/fragment_simple_versioning.xml:23: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
20 android:layout_height="wrap_content"
21 android:layout_margin="10dp"
22 android:text="@string/keep_versions"
23 android:textAlignment="center"
24 android:textColor="@android:color/black"
25 android:textSize="18sp"
26 android:textStyle="bold" />
../../src/main/res/layout/fragment_staggered_versioning.xml:17: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
14 android:layout_width="match_parent"
15 android:layout_height="wrap_content"
16 android:text="@string/maximum_age"
17 android:textAlignment="center"
18 android:textColor="@android:color/black"
19 android:textSize="18sp"
20 android:textStyle="bold"
../../src/main/res/layout/fragment_staggered_versioning.xml:44: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
41 android:layout_height="wrap_content"
42 android:layout_margin="10dp"
43 android:text="@string/versions_path"
44 android:textAlignment="center"
45 android:textColor="@android:color/black"
46 android:textSize="18sp"
47 android:textStyle="bold"
../../src/main/res/layout/fragment_trashcan_versioning.xml:23: To support older versions than API 17 (project specifies 16) you must also specify gravity or layout_gravity="center_horizontal"
* AndroidManifest: Add permission ACCESS_FINE_LOCATION
Ref.: 5755ed45ad
* Migrate to AndroidX, solves lint error "IncompatibleGradle"
according to:
- b04489e062
* Fix lint error: MissingPermission, catch SecurityException
* Revert "Create setenv.cmd"
This reverts commit e39c460837.
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Catfriend1 <Catfriend1@users.noreply.github.com>
* Bump gradle from 3.1.3 to 3.4.2
Bumps gradle from 3.1.3 to 3.4.2.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Fix mistakes resulting in build errors after gradle upgrade
* Bumped version to 0.10.17-beta2
* Discard invalid locale
* Imported translations
* Bumped version to 0.10.17-beta3
* Discard invalid locale
* Imported translations
* Bumped version to 0.10.17-beta4
* WIP - Extend run condition monitor functions
* WIP - Better run conditions UI
* WIP - Allow applying run conditions to foreground and background
execution of the syncthing app
* WIP - Add mobile data run condition
* WIP - Fix RunConditionMonitor#onSharedPreferenceChanged
* WIP - Directly go to SettingsActivity#Run_Conditions screen
after the "change run condition" button has been clicked in
StateDialogActivity during STATE_DISABLED
* Disable Syncthing in flight mode (fixes#1173)
... and allow to enable it on phone that have problems
detecting wifi connection if the user manually enables
one during flight mode.
* Add run condition "Run on metered wifi" (fixes#937)
* Improve string
* Add run condition "Respect Android Auto-sync data quick toggle" (fixes#588)
* Remove SharedPreferences.OnSharedPreferenceChangeListener
* Added SyncthingService#reEvaluateRunConditions
* Implement mPendingRunConditions in SettingsActivity
to queue run condition changes until the user leaves
the preferences screen after making changes. (fixes#1196)
* Rename reEvaluateRunConditions to evaluateRunConditions
according to review
* Fix implementation of ContentResolver.removeStatusChangeListener
* Reordered run conditions
wifi, metered wifi, wifi whitelist, mobile data
* Review 1/2
* Fix logic for metered/non-metered wifi run condition
* Remove PreferenceScreen dividers on API level > 21
* Revert "Remove PreferenceScreen dividers on API level > 21"
This reverts commit ec037b02e4.
* Detect changes made to wifi connections in android's data usage dialog
related to the metered wifi flag.
* Review - Minor string improvements
Removed unused variable from RunConditionMonitor
Move always_run_in_background pref to pref category
"Behaviour".
* Review - "Start service automatically on boot" string
* Remove unused strings
* Prepare welcome wizard related to issues
https://github.com/syncthing/syncthing-android/issues/1129https://github.com/syncthing/syncthing-android/issues/622
* Add drawables and texts
* Disable scrolling the ViewPager, we have buttons for that
* Add welcome wizard code
Ask for storage and location permission
Location permission is required to run the app
Recheck storage permission on each app start, if revoked the
welcome slides show again.
* Review
* Review - Do not quit the app when storage permission is not granted
* Review - Minor string improvements
* Fix race during config reload and missing null check
in FolderListFragment and DeviceListFragment (fixes#1194)
* Review - synchronize(mConfigLock) when mConfig is accessed
* Review - add two breaks in RestApi
in removeFolderInternal, removeDeviceInternal
* Moved launcher icons from drawable to mipmap
* Added alternative drawable resource
* Added background and foreground layers
* Changed refernce in manifest to mipmap
* Updated background