diff options
| author | 2022-11-09 21:50:16 +0000 | |
|---|---|---|
| committer | 2022-11-09 21:50:16 +0000 | |
| commit | 80da1248c1516b4cf4efbc3d2ec92d06ea9a0f1d (patch) | |
| tree | 4435c37a70a7848b1b902775c5c5b0e637456840 | |
| parent | 24085cebf7052746e65537294f86c1f3908aa90f (diff) | |
| parent | 512f8bf33e48ac7e35f36b7fa1400b2d1a0a253d (diff) | |
Merge "Change exception to log" into tm-qpr-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/media/controls/ui/MediaCarouselController.kt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/media/controls/ui/MediaCarouselController.kt b/packages/SystemUI/src/com/android/systemui/media/controls/ui/MediaCarouselController.kt index baeee9fc4f74..8aaee81a57dd 100644 --- a/packages/SystemUI/src/com/android/systemui/media/controls/ui/MediaCarouselController.kt +++ b/packages/SystemUI/src/com/android/systemui/media/controls/ui/MediaCarouselController.kt @@ -610,7 +610,8 @@ constructor( // are // elements in mediaPlayers. if (MediaPlayerData.players().size != mediaContent.childCount) { - throw IllegalStateException( + Log.e( + TAG, "Size of players list and number of views in carousel are out of sync. " + "Players size is ${MediaPlayerData.players().size}. " + "View count is ${mediaContent.childCount}." @@ -671,7 +672,8 @@ constructor( // are // elements in mediaPlayers. if (MediaPlayerData.players().size != mediaContent.childCount) { - throw IllegalStateException( + Log.e( + TAG, "Size of players list and number of views in carousel are out of sync. " + "Players size is ${MediaPlayerData.players().size}. " + "View count is ${mediaContent.childCount}." |