updating plugin configuration for Android

pull/1/merge
Viras- 10 years ago
parent 84e0cfe9b3
commit 8b0c68770f

@ -49,7 +49,7 @@
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PowerManagement" >
<param name="android-package" value="org.apache.cordova.plugin.PowerManagement"/>
<param name="android-package" value="org.apache.cordova.powermanagement.PowerManagement"/>
</feature>
</config-file>
@ -57,6 +57,6 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
</config-file>
<source-file src="src/android/PowerManagement.java" target-dir="src/at/gofg/sportscomputer/" />
<source-file src="src/android/PowerManagement.java" target-dir="src/org/apache/cordova/powermanagement"/ />
</platform>
</plugin>

@ -1,5 +1,5 @@
/*
* Copyright 2013 Wolfgang Koller
* Copyright 2013-2014 Wolfgang Koller
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -18,7 +18,7 @@
* Cordova (Android) plugin for accessing the power-management functions of the device
* @author Wolfgang Koller <viras@users.sourceforge.net>
*/
package at.gofg.sportscomputer;
package org.apache.cordova.powermanagement;
import org.json.JSONArray;
import org.json.JSONException;

Loading…
Cancel
Save