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