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

Commit d70ac034 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

task: add debug instruction and if statement

parent bd183601
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -894,7 +894,11 @@ abstract class SyncManager<ResourceType: LocalResource<*>, out CollectionType: L
        val contentIntent: Intent
        var viewItemAction: NotificationCompat.Action? = null

	    if (account.type in AccountUtils.getMainAccountTypes(context)
        Logger.log.info("VINCENT: Account type: "+ account.type)

	    if (
            (account.type in AccountUtils.getMainAccountTypes(context)
                    || account.type ==  context.getString(R.string.account_type_eelo_address_book))
            && (e is UnauthorizedException || e is NotFoundException)) {

            contentIntent = Intent(context, SettingsActivity::class.java)