commit | c10a95be37d3961cd043a11ec20c2b10bd3591e0 | [log] [tgz] |
---|---|---|
author | Andy Huang <ath@google.com> | Wed Oct 15 23:24:22 2014 -0700 |
committer | Andy Huang <ath@google.com> | Wed Oct 15 23:24:22 2014 -0700 |
tree | 9341c4b5faee4c405cc6235cd923f6f65c837afb | |
parent | 88feee01febcfff95c3fac286696da0643b5740f [diff] |
fix occasional blank CV panes on activity startup The condition in onViewModeChanged made it impossible to get out of UNKNOWN view mode if onLayout had been called before the view mode was first set. Fix this by looking for something a layout would definitely have set (a non-zero width). Added some debugging toString() for TPL. Bug: 18009285 Change-Id: Ibacaa1f6473edeefceccfd270c2a761113c6e530