1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 06:11:19 +00:00

Bump gradle from 3.1.3 to 3.4.2 (#1381)

* 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
This commit is contained in:
Simon Frei 2019-08-15 11:48:23 +02:00 committed by GitHub
parent 3090cdd67a
commit 4414dcc8a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View file

@ -125,7 +125,7 @@ public class SyncthingRunnable implements Runnable {
// Potential fix for #498, keep the CPU running while native binary is running
PowerManager pm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
PowerManager.WakeLock wakeLock = useWakeLock()
? pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG)
? pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mContext.getString(R.string.app_name) + ":" + TAG)
: null;
try {
if (wakeLock != null)

View file

@ -32,7 +32,6 @@
android:id="@+id/state"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/id"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:textAppearance="?textAppearanceListItemSmall" />

View file

@ -6,7 +6,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.22.0'
// NOTE: Do not place your application dependencies here; they belong