mirror of
https://github.com/playmusicexporter/playmusicexporter
synced 2024-04-29 03:16:42 +00:00
Move the powermanager before the intent. Removed wrapper properties from source control. This is dynamically generated.
This commit is contained in:
parent
259a989505
commit
381fd5c910
6
gradle/wrapper/gradle-wrapper.properties
vendored
6
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -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
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue