Loading packages/SystemUI/src/com/android/systemui/wallet/controller/WalletContextualLocationsService.kt +11 −2 Original line number Diff line number Diff line package com.android.systemui.wallet.controller import android.content.Intent import android.os.DeadObjectException import android.os.IBinder import android.util.Log import androidx.annotation.VisibleForTesting Loading Loading @@ -47,7 +48,11 @@ constructor( controller.allWalletCards.collect { cards -> val cardsSize = cards.size Log.i(TAG, "Number of cards registered $cardsSize") try { listener?.registerNewWalletCards(cards) } catch (e: DeadObjectException) { Log.e(TAG, "Failed to register wallet cards because IWalletCardsUpdatedListener is dead") } } } } else { Loading @@ -55,7 +60,11 @@ constructor( controller.allWalletCards.collect { cards -> val cardsSize = cards.size Log.i(TAG, "Number of cards registered $cardsSize") try { listener?.registerNewWalletCards(cards) } catch (e: DeadObjectException) { Log.e(TAG, "Failed to register wallet cards because IWalletCardsUpdatedListener is dead") } } } } Loading Loading
packages/SystemUI/src/com/android/systemui/wallet/controller/WalletContextualLocationsService.kt +11 −2 Original line number Diff line number Diff line package com.android.systemui.wallet.controller import android.content.Intent import android.os.DeadObjectException import android.os.IBinder import android.util.Log import androidx.annotation.VisibleForTesting Loading Loading @@ -47,7 +48,11 @@ constructor( controller.allWalletCards.collect { cards -> val cardsSize = cards.size Log.i(TAG, "Number of cards registered $cardsSize") try { listener?.registerNewWalletCards(cards) } catch (e: DeadObjectException) { Log.e(TAG, "Failed to register wallet cards because IWalletCardsUpdatedListener is dead") } } } } else { Loading @@ -55,7 +60,11 @@ constructor( controller.allWalletCards.collect { cards -> val cardsSize = cards.size Log.i(TAG, "Number of cards registered $cardsSize") try { listener?.registerNewWalletCards(cards) } catch (e: DeadObjectException) { Log.e(TAG, "Failed to register wallet cards because IWalletCardsUpdatedListener is dead") } } } } Loading