Merge "Change exception to log" into tm-qpr-dev am: 80da1248c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20408245 Change-Id: I4a0d9e615d8211681e0f0880e76e7386361ff180 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -610,7 +610,8 @@ constructor(
|
|||||||
// are
|
// are
|
||||||
// elements in mediaPlayers.
|
// elements in mediaPlayers.
|
||||||
if (MediaPlayerData.players().size != mediaContent.childCount) {
|
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. " +
|
"Size of players list and number of views in carousel are out of sync. " +
|
||||||
"Players size is ${MediaPlayerData.players().size}. " +
|
"Players size is ${MediaPlayerData.players().size}. " +
|
||||||
"View count is ${mediaContent.childCount}."
|
"View count is ${mediaContent.childCount}."
|
||||||
@@ -671,7 +672,8 @@ constructor(
|
|||||||
// are
|
// are
|
||||||
// elements in mediaPlayers.
|
// elements in mediaPlayers.
|
||||||
if (MediaPlayerData.players().size != mediaContent.childCount) {
|
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. " +
|
"Size of players list and number of views in carousel are out of sync. " +
|
||||||
"Players size is ${MediaPlayerData.players().size}. " +
|
"Players size is ${MediaPlayerData.players().size}. " +
|
||||||
"View count is ${mediaContent.childCount}."
|
"View count is ${mediaContent.childCount}."
|
||||||
|
|||||||
Reference in New Issue
Block a user