@@ -0,0 +1,787 @@
+package com.akexorcist.knoxpolicyapp.manager;%0A%0Aimport android.content.Context;%0A%0A/**%0A * Created by Akexorcist on 6/9/16 AD.%0A */%0Apublic class SharedPreferenceManager %7B%0A    private static final String PREFERENCE_STATE = %22preference_state%22;%0A    private static final String KEY_LICENSE_ACTIVATED = %22key_license_activated%22;%0A%0A    public static void setLicenseActivated(Context context) %7B%0A        context.getSharedPreferences(PREFERENCE_STATE, Context.MODE_PRIVATE)%0A                .edit()%0A                .putBoolean(KEY_LICENSE_ACTIVATED, true)%0A                .apply();%0A    %7D%0A%0A    public static boolean isLicenseActivated(Context context) %7B%0A        return context.getSharedPreferences(PREFERENCE_STATE, Context.MODE_PRIVATE)%0A                .getBoolean(KEY_LICENSE_ACTIVATED, false);%0A    %7D%0A%7D%0A

Add shared preference manager