Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4705f15d authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

task: add more debug

parent f659a723
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -901,6 +901,11 @@ abstract class SyncManager<ResourceType: LocalResource<*>, out CollectionType: L
                    || account.type ==  context.getString(R.string.account_type_eelo_address_book))
            && (e is UnauthorizedException || e is NotFoundException)) {


            Logger.log.info("VINCENT: authority: $authority ==  ${ContactsContract.AUTHORITY} ?" )
            Logger.log.info("VINCENT: main account ${mainAccount.type} & ${mainAccount.name}" )
            Logger.log.info("VINCENT: main account ${account.type} & ${account.name}" )

            contentIntent = Intent(context, SettingsActivity::class.java)
            contentIntent.putExtra(SettingsActivity.EXTRA_ACCOUNT,
                    if (authority == ContactsContract.AUTHORITY)
@@ -908,6 +913,7 @@ abstract class SyncManager<ResourceType: LocalResource<*>, out CollectionType: L
                    else
                        account)
        } else {
            Logger.log.info("VINCENT: show buildDebugInfoIntent for notification")
            contentIntent = buildDebugInfoIntent(e, local, remote)
            if (local != null)
                viewItemAction = buildViewItemAction(local)