mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Debug: update contact info
This commit is contained in:
parent
078349d53a
commit
466ca8b3e3
1 changed files with 2 additions and 2 deletions
|
@ -976,7 +976,7 @@ public class ContactInfo {
|
||||||
ContentObserver observer = new ContentObserver(ApplicationEx.getMainHandler()) {
|
ContentObserver observer = new ContentObserver(ApplicationEx.getMainHandler()) {
|
||||||
@Override
|
@Override
|
||||||
public void onChange(boolean selfChange, Uri uri) {
|
public void onChange(boolean selfChange, Uri uri) {
|
||||||
Log.i("Contact changed uri=" + uri);
|
EntityLog.log(context, EntityLog.Type.Notification, "Contact changed uri=" + uri);
|
||||||
Helper.getSerialExecutor().submit(new Runnable() {
|
Helper.getSerialExecutor().submit(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -1003,7 +1003,7 @@ public class ContactInfo {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Uri uri = ContactsContract.CommonDataKinds.Email.CONTENT_URI;
|
Uri uri = ContactsContract.CommonDataKinds.Email.CONTENT_URI;
|
||||||
Log.i("Observing uri=" + uri);
|
EntityLog.log(context, EntityLog.Type.Notification, "Observing uri=" + uri);
|
||||||
context.getContentResolver().registerContentObserver(uri, true, observer);
|
context.getContentResolver().registerContentObserver(uri, true, observer);
|
||||||
} catch (SecurityException ex) {
|
} catch (SecurityException ex) {
|
||||||
Log.w(ex);
|
Log.w(ex);
|
||||||
|
|
Loading…
Reference in a new issue