feed v2: fix native view handling bug in recycler
This is the chromium/src side of the change. It introduces a getViewType() API in ListContentManager, and implements it. This CL fixes a secondary bug: if a native view is added, removed, and then added again to the FeedListContentManager, we would previously try to wrap the view multiple times, which throws an exception. Now, we wrap a view at most once. Bug: 1119516, b/165317997 Change-Id: I2163c0e159c6d434329ea34f0449356a561a0c96 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364965Reviewed-by:Dan H <harringtond@chromium.org> Reviewed-by:
Cathy Li <chili@chromium.org> Commit-Queue: Dan H <harringtond@chromium.org> Cr-Commit-Position: refs/heads/master@{#800247}
Showing
Please register or sign in to comment