main
pr2q9f4bp 1 year ago
parent a6be3e14ab
commit 527edf5f0f

@ -103,7 +103,7 @@ public class DataUtils {
return false; return false;
} }
return true; return true;
} catch (RemoteException e) { } catch (RemoteException e) {//远程问题
Log.e(TAG, String.format("%s: %s", e.toString(), e.getMessage())); Log.e(TAG, String.format("%s: %s", e.toString(), e.getMessage()));
} catch (OperationApplicationException e) { } catch (OperationApplicationException e) {
Log.e(TAG, String.format("%s: %s", e.toString(), e.getMessage())); Log.e(TAG, String.format("%s: %s", e.toString(), e.getMessage()));

@ -318,7 +318,7 @@ public class NotesPreferenceActivity extends PreferenceActivity {
} }
} }
private void removeSyncAccount() {//移除同步账号 private void removeSyncAccount() {
SharedPreferences settings = getSharedPreferences(PREFERENCE_NAME, Context.MODE_PRIVATE); SharedPreferences settings = getSharedPreferences(PREFERENCE_NAME, Context.MODE_PRIVATE);
SharedPreferences.Editor editor = settings.edit(); SharedPreferences.Editor editor = settings.edit();
if (settings.contains(PREFERENCE_SYNC_ACCOUNT_NAME)) { if (settings.contains(PREFERENCE_SYNC_ACCOUNT_NAME)) {

Loading…
Cancel
Save