The usage of the context is corrected.

This commit is contained in:
Omer Saatcioglu (eomesaa)
2011-02-28 13:57:23 +08:00
parent 9947472b18
commit 26f87879a4

View File

@@ -1,34 +0,0 @@
/**
* Phonegap Context Holder
* Omer Saatcioglu 2011
*
*/
package com.saatcioglu.phonegap.clipboardmanager;
import android.content.Context;
/**
* A method proposed to make the context reachable to the PhoneGap plug-ins
* @author Omer Saatcioglu
*
*/
public class ContextHolder{
private static Context mContext;
/**
* @return the context
*/
public static Context get() {
return mContext;
}
/**
* @param context the context
*/
public static void set(Context context) {
mContext = context;
}
}