commit | 358d0d329785a225449aa9c8aea7fcc2c7bec741 | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Mon May 01 13:33:49 2017 +0900 |
committer | Daichi Hirono <hirono@google.com> | Mon May 01 13:52:57 2017 +0900 |
tree | 8bb3310149a9576e13186ebc9a328b4035e3a8e2 | |
parent | ad4c31fecfd75c39d4b9d65b5ea9a75d7f1e34fe [diff] |
Don't add other's child as header or footer Previously ListView#addHeaderView and ListView#addFooterView accepts a view which is other's child. The CL adds precondition check not to accept other's child and make the methods consistent with ViewGroup#addView. Bug: 37726743 Test: CtsWidgetTestCases Change-Id: Ibe11f162e9af3c153254966796349b94468b08f3