Git Repositories

Developping without an IDE means...sometimes it does not compile :) master
authorCyrille Pontvieux <jrd@enialis.net>
Mon, 3 Nov 2014 16:18:02 +0000 (17:18 +0100)
committerCyrille Pontvieux <jrd@enialis.net>
Mon, 3 Nov 2014 16:18:02 +0000 (17:18 +0100)
src/android/net/enialis/cordova/RestartPlugin.java

index 9b66333..b0976d6 100644 (file)
@@ -1,4 +1,4 @@
-package net.enialis.cordova
+package net.enialis.cordova;
 
 import android.app.AlarmManager;
 import android.app.PendingIntent;
@@ -24,7 +24,7 @@ public class RestartPlugin extends CordovaPlugin {
        public boolean execute(String actionAsString, JSONArray args, CallbackContext cbc) {
                if (RESTART_COMMAND.equals(actionAsString)) {
                        Log.i(getClass().getSimpleName(), "restart asked from Cordova");
-                       final Context ctx = cordova.getActivity();
+                       final Context c = cordova.getActivity();
                        final PackageManager pm = c.getPackageManager();
                        // check if we got the PackageManager
                        if (pm == null) {