commit | c3ad9eada3ab7acac5d194fd4a8d30443079e80e | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Tue Jul 26 15:20:21 2011 +0100 |
committer | Narayan Kamath <narayan@google.com> | Tue Jul 26 15:55:55 2011 +0100 |
tree | 7d2cca5047f446e99013feb1eb22283ad1e5c7f0 | |
parent | a229f22f88a0ae7a5e6601744c1b37795117bb4f [diff] |
Fix TabControl#canCreateTab. Preloaded tabs don't obey the tab limit (yet) so if a single preloaded tab pushes the tab count up to mMaxTabs + 1, canCreateTab will always return true from that point on. This is just a partial fix, because Preloaded tabs still don't obey this limit. bug:5066968 Change-Id: I6bd574485a6e0f94324c9f6d0cb7624b8951e576