diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index a5b1a18..0000000 --- a/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Sun Jan 22 21:19:51 CET 2017 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip diff --git a/playmusicexporter/src/main/java/re/jcg/playmusicexporter/services/ExportAllService.java b/playmusicexporter/src/main/java/re/jcg/playmusicexporter/services/ExportAllService.java index 94ad632..5175ecb 100644 --- a/playmusicexporter/src/main/java/re/jcg/playmusicexporter/services/ExportAllService.java +++ b/playmusicexporter/src/main/java/re/jcg/playmusicexporter/services/ExportAllService.java @@ -28,11 +28,11 @@ public class ExportAllService extends IntentService { private static PowerManager m_powerManager; public static void startExport(Context pContext) { + m_powerManager = (PowerManager) pContext.getSystemService(POWER_SERVICE); Intent lIntent = new Intent(pContext, ExportAllService.class); lIntent.setAction(ACTION_EXPORT); pContext.startService(lIntent); Log.i(TAG, "Intent sent!"); - m_powerManager = (PowerManager) pContext.getSystemService(POWER_SERVICE); } public ExportAllService()