commit | 3a1aa2f92d0d07fac2364078b6c603a650ebbe0e | [log] [tgz] |
---|---|---|
author | Chris Banes <chrisbanes@google.com> | Tue Nov 24 15:21:14 2015 -0800 |
committer | Chris Banes <chrisbanes@google.com> | Mon Dec 07 16:59:21 2015 +0000 |
tree | 892d97103d53fa369be60293229f64e12bf27efe | |
parent | 1db5382081756ee276c1fb88f5ebdbc138b70249 [diff] |
Fix NPE in setCustomView() before addTab() Fixed by moving the Tab's view creation to within newTab(), ensuring that there is a View and Context available for setCustomView(). Also fixed a memory leak due to our new view pooling and a shared OnClickListener. Fixed by moving our click handling to be within TabView. BUG: 25855779 Change-Id: Iba104840933d88d7482fb758684286aa7922ea92