Revert the change that remove the video layout listener.

The change causes regression on the video animation when the video view
scrolls out and back into view where it becomes blank in the
magnification settings page.

Change-Id: I6cb15ced8ddc193a01822fd5dcc50194a46a4939
Fixes: 68839840
Test: manual
This commit is contained in:
Doris Ling
2017-11-03 17:19:39 -07:00
parent 187ff21a7c
commit d8f208e2ff

View File

@@ -107,8 +107,6 @@ public class ToggleScreenMagnificationPreferenceFragment extends
videoView.setLayoutParams(videoLp);
videoView.invalidate();
videoView.start();
mVideoBackgroundView.getViewTreeObserver()
.removeOnGlobalLayoutListener(mLayoutListener);
}
};