static void clearSharedPreferences(Context context) {
        SharedPreferences.Editor editor = getPreferencesEditor(context);
        editor.remove(PREF_KEY_INSTALL_DATE);
        editor.remove(PREF_KEY_LAUNCH_TIMES);
        editor.apply();
    }
static void clearSharedPreferences ( Context context ) { SharedPreferences . Editor editor = getPreferencesEditor ( context ) ; editor . remove ( PREF_KEY_INSTALL_DATE ) ; editor . remove ( PREF_KEY_LAUNCH_TIMES ) ; editor . apply ( ) ; }
Clear data in shared preferences.<br/>

@param context context