Commit 33c34d5d authored by Bob Easterday's avatar Bob Easterday
Browse files

Get rid of deprecated call to getContext()

parent 43c7d539
Loading
Loading
Loading
Loading
+1 −1
Changes for plugin.xml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
    xmlns:android="http://schemas.android.com/apk/res/android"
    id="com.adobe.plugins.PushPlugin"
    version="1.2.1">
    version="1.2.2">

    <name>PushPlugin</name>

+1 −1
Changes for src/android/com/plugin/GCM/PushPlugin.java: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -138,6 +138,6 @@ public class PushPlugin extends Plugin {

    	// let the service know we are exiting so it can cache the next notification payload.
		PushHandlerActivity.EXITED = true;
        GCMRegistrar.onDestroy(cordova.getContext());
        GCMRegistrar.onDestroy(cordova.getActivity());
	}
}