diff --git a/HandsFreeWear/build.gradle b/HandsFreeWear/build.gradle index f8b5c3a..bd30d32 100644 --- a/HandsFreeWear/build.gradle +++ b/HandsFreeWear/build.gradle @@ -7,7 +7,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.4' + classpath 'com.android.tools.build:gradle:3.2.0' // NOTE: Do not place your gr.ictpro.jsalatas.handsfreewear.application dependencies here; they belong diff --git a/HandsFreeWear/wear/build.gradle b/HandsFreeWear/wear/build.gradle index 6a2f47a..3ecef5d 100644 --- a/HandsFreeWear/wear/build.gradle +++ b/HandsFreeWear/wear/build.gradle @@ -4,10 +4,10 @@ android { compileSdkVersion 27 defaultConfig { applicationId "gr.ictpro.jsalatas.handsfreewear" - minSdkVersion 25 + minSdkVersion 26 targetSdkVersion 27 - versionCode 5 - versionName "0.4.1" + versionCode 6 + versionName "0.4.2" } buildTypes { release { @@ -19,7 +19,7 @@ android { dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - implementation 'com.google.android.gms:play-services-wearable:15.0.1' + implementation 'com.google.android.gms:play-services-wearable:16.0.0' implementation 'com.google.android.support:wearable:2.3.0' implementation 'com.android.support:percent:27.1.1' implementation 'com.android.support:support-v4:27.1.1' diff --git a/HandsFreeWear/wear/src/main/java/gr/ictpro/jsalatas/handsfreewear/ui/AccessibilityOverlay.java b/HandsFreeWear/wear/src/main/java/gr/ictpro/jsalatas/handsfreewear/ui/AccessibilityOverlay.java index 479cdb9..3ab601e 100644 --- a/HandsFreeWear/wear/src/main/java/gr/ictpro/jsalatas/handsfreewear/ui/AccessibilityOverlay.java +++ b/HandsFreeWear/wear/src/main/java/gr/ictpro/jsalatas/handsfreewear/ui/AccessibilityOverlay.java @@ -394,7 +394,7 @@ private void showOverlay(AccessibilityNodeInfo selected) { WindowManager.LayoutParams overlayParams = new WindowManager.LayoutParams( width, height, xpos, ypos, - WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY, + WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, format);