Debug: update contact info

This commit is contained in:
M66B 2024-01-12 09:45:35 +01:00
parent 078349d53a
commit 466ca8b3e3
1 changed files with 2 additions and 2 deletions

View File

@ -976,7 +976,7 @@ public class ContactInfo {
ContentObserver observer = new ContentObserver(ApplicationEx.getMainHandler()) {
@Override
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() {
@Override
public void run() {
@ -1003,7 +1003,7 @@ public class ContactInfo {
try {
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);
} catch (SecurityException ex) {
Log.w(ex);