Merge "Add missing bits of cleanup to TV recycle stage" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
2be0868a34
@@ -181,8 +181,10 @@ class TaskThumbnailView : FrameLayout, ViewPool.Reusable {
|
||||
private fun resetViews() {
|
||||
liveTileView.isInvisible = true
|
||||
thumbnailView.isInvisible = true
|
||||
thumbnailView.setImageBitmap(null)
|
||||
splashBackground.alpha = 0f
|
||||
splashIcon.alpha = 0f
|
||||
splashIcon.setImageDrawable(null)
|
||||
scrimView.alpha = 0f
|
||||
setBackgroundColor(Color.BLACK)
|
||||
taskThumbnailViewHeader?.isInvisible = true
|
||||
|
||||
@@ -109,6 +109,8 @@ class TaskContainer(
|
||||
overlay.destroy()
|
||||
if (enableRefactorTaskThumbnail()) {
|
||||
isThumbnailValid = false
|
||||
thumbnailData = null
|
||||
thumbnailView.onRecycle()
|
||||
} else {
|
||||
thumbnailViewDeprecated.setShowSplashForSplitSelection(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user