* 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
* 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
* Moved launcher icons from drawable to mipmap
* Added alternative drawable resource
* Added background and foreground layers
* Changed refernce in manifest to mipmap
* Updated background