Merge "Change exception to log" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
80da1248c1
@@ -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