// Path: src/com/hellodev/lightme/FlashApp.java
// public class FlashApp extends Application {
// 	private static Context mContext ;
// 	@Override
// 	public void onCreate() {
// 		super.onCreate();
// 		mContext = getApplicationContext();
// 	}
// 	
// 	public static Context getContext() {
// 		return mContext;
// 	}
// }


import com.hellodev.lightme.FlashApp;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.graphics.Point;
import android.preference.PreferenceManager;
package com.hellodev.lightme.util;



public class MPreferenceManager {
	private static MPreferenceManager mInstance;
	private SharedPreferences mPrefs;
	
	public final static String KEY_AUTO_CLOSE = "auto_close";
	public final static String KEY_AUTO_CLOSE_TIME = "auto_close_time";
	
	public final static String KEY_SHOW_LAUNCHER_PANEL = "show_launcher_panel";
	public final static String KEY_PANEL_X = "panel_x";
	public final static String KEY_PANEL_Y = "panel_y";
	public final static String KEY_SHOW_KEYGUARD_PANEL = "show_keyguard_panel";
	public final static String KEY_KEYGURAD_SHOCK_ENABLE = "enable_keyguard_shock";
	public final static String KEY_VERSION_CODE = "version_code";
	public final static String KEY_FIRST_START_DATE = "first_start_date";
	public final static String KEY_FIRST_SHOW_LAUNCHER = "first_show_launcher";
	public final static String KEY_FIRST_SHOW_KEYGUARD = "first_show_keyguard";
	public final static String KEY_ENABLE_SWITCH_SOUND = "enable_switch_sound";
	public final static String KEY_NEED_REFRESH_SETTING = "key_need_refresh_setting";
	
	public final static String KEY_LOCAL_LISENSE_STATE = "local_lisense_state";
	public final static String KEY_LISENSE_EXPIRED_TIMEMILLS = "lisense_expired_timemills";
	
	private MPreferenceManager() {
// Path: src/com/hellodev/lightme/FlashApp.java
// public class FlashApp extends Application {
// 	private static Context mContext ;
// 	@Override
// 	public void onCreate() {
// 		super.onCreate();
// 		mContext = getApplicationContext();
// 	}
// 	
// 	public static Context getContext() {
// 		return mContext;
// 	}
// }


// Path: src/com/hellodev/lightme/util/MPreferenceManager.java
import com.hellodev.lightme.FlashApp;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.graphics.Point;
import android.preference.PreferenceManager;

package com.hellodev.lightme.util;



public class MPreferenceManager {
	private static MPreferenceManager mInstance;
	private SharedPreferences mPrefs;
	
	public final static String KEY_AUTO_CLOSE = "auto_close";
	public final static String KEY_AUTO_CLOSE_TIME = "auto_close_time";
	
	public final static String KEY_SHOW_LAUNCHER_PANEL = "show_launcher_panel";
	public final static String KEY_PANEL_X = "panel_x";
	public final static String KEY_PANEL_Y = "panel_y";
	public final static String KEY_SHOW_KEYGUARD_PANEL = "show_keyguard_panel";
	public final static String KEY_KEYGURAD_SHOCK_ENABLE = "enable_keyguard_shock";
	public final static String KEY_VERSION_CODE = "version_code";
	public final static String KEY_FIRST_START_DATE = "first_start_date";
	public final static String KEY_FIRST_SHOW_LAUNCHER = "first_show_launcher";
	public final static String KEY_FIRST_SHOW_KEYGUARD = "first_show_keyguard";
	public final static String KEY_ENABLE_SWITCH_SOUND = "enable_switch_sound";
	public final static String KEY_NEED_REFRESH_SETTING = "key_need_refresh_setting";
	
	public final static String KEY_LOCAL_LISENSE_STATE = "local_lisense_state";
	public final static String KEY_LISENSE_EXPIRED_TIMEMILLS = "lisense_expired_timemills";
	
	private MPreferenceManager() {
		mPrefs =PreferenceManager.getDefaultSharedPreferences(FlashApp.getContext());