commit | 0e766de7c52d7e375e04676c93a872cb2d6eea63 | [log] [tgz] |
---|---|---|
author | Diego Perez <diegoperez@google.com> | Tue Sep 22 11:08:35 2015 +0100 |
committer | Diego Perez <diegoperez@google.com> | Tue Sep 22 16:44:37 2015 +0000 |
tree | b5ec44a7b9e723219367e7db17deb7d964eb81e2 | |
parent | d8b47855a316700751f7daead0b180005853be33 [diff] |
Avoid calling scrollBy(0,0) on render Usually scrollBy(0, 0) won't have any effect but when called on the NumberPicker but, in some cases, it seems to cause an endless loop. When called from layoutlib, this will hold the read lock causing all operations trying to acquire the write lock to block forever. Bug: http://b.android.com/182506 Change-Id: Ib25427d3f32d804d1c481d979795eee71fbdbc6d