diff --git a/app/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java b/app/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java index bb09db6c..2442c439 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java @@ -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) diff --git a/app/src/main/res/layout/item_folder_list.xml b/app/src/main/res/layout/item_folder_list.xml index 2c30b5b6..34cf556e 100644 --- a/app/src/main/res/layout/item_folder_list.xml +++ b/app/src/main/res/layout/item_folder_list.xml @@ -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" /> diff --git a/build.gradle b/build.gradle index a43cfeb7..e0c48149 100644 --- a/build.gradle +++ b/build.gradle @@ -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