mirror of
https://github.com/etesync/android
synced 2025-01-11 00:01:12 +00:00
Don't print content of added/changed contacts and groups.
Before this change we were printing added/changed contacts and groups to the adb log. This is not a big deal on its own, but now since we have ACRA, we share these logs on crash (if user approves) so it's better to remove personal information to make sure it's not being accidentally shared.
This commit is contained in:
parent
730e5c0119
commit
a28b46f8f9
@ -185,7 +185,7 @@ public class ContactsSyncManager extends SyncManager {
|
||||
String uuid = newData.uid;
|
||||
// update local contact, if it exists
|
||||
if (local != null) {
|
||||
App.log.log(Level.INFO, "Updating " + uuid + " in local address book", newData);
|
||||
App.log.log(Level.INFO, "Updating " + uuid + " in local address book");
|
||||
|
||||
if (local instanceof LocalGroup && newData.group) {
|
||||
// update group
|
||||
@ -214,13 +214,13 @@ public class ContactsSyncManager extends SyncManager {
|
||||
|
||||
if (local == null) {
|
||||
if (newData.group) {
|
||||
App.log.log(Level.INFO, "Creating local group", newData);
|
||||
App.log.log(Level.INFO, "Creating local group", newData.uid);
|
||||
LocalGroup group = new LocalGroup(localAddressBook(), newData, uuid, uuid);
|
||||
group.create();
|
||||
|
||||
local = group;
|
||||
} else {
|
||||
App.log.log(Level.INFO, "Creating local contact", newData);
|
||||
App.log.log(Level.INFO, "Creating local contact", newData.uid);
|
||||
LocalContact contact = new LocalContact(localAddressBook(), newData, uuid, uuid);
|
||||
contact.create();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user