| commit | b1525b85e1b1905e3394a7415fb9402466a8c00f | [log] [tgz] |
|---|---|---|
| author | Beverly <beverlyt@google.com> | Fri Jul 15 16:51:10 2022 +0000 |
| committer | Beverly Tai <beverlyt@google.com> | Fri Jul 15 16:53:42 2022 +0000 |
| tree | 2df72769cd7542e45664ec074f6dbe7f70251bf6 | |
| parent | 82a9156b143177b2459735e0b8c304db1a058d54 [diff] |
Remove view based on known index of the view on exception There's no need to findViewLocked - if the view didn't already exist, then the view is added to the end of the mViews list. findViewLocked will need to iterate over all the views which is unnecessary. Test: manual Fixes: 238954722 Change-Id: I3a22f59df84f512d4e914f0e3566927450284298