commit | adbd64f08d2b8471becac6e79fe3d9d9cac4586e | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Thu Dec 01 12:18:11 2016 -0800 |
committer | Alan Viverette <alanv@google.com> | Thu Dec 08 16:05:29 2016 +0000 |
tree | 5c8766f2c25c1c93e108947e82b690664f54254c | |
parent | 09173387a12e70708e0985aeb461ebbbd8a84fe5 [diff] |
Lock layout while consuming updates for measure If a layout is requestd during measure due to adapter updates, we were not blocking it which is a problem. This CL makes sure that we don't call nested layouts while processing adapter updates. Bug: 32316425 Bug: 33270009 Test: RecyclerViewLayoutTest#triggerFocusSearchInOnRecycledCallback Change-Id: I83f3678cf29cadd17deae7c3ec5f7805c08ffdeb (cherry picked from commit 5c68eb49a2a99f5a61be3b743430bdd5621b31e5)