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
Loading
Please register or sign in to comment