commit | 0ef21c14946f69dd4e69310783fbec982075c6f4 | [log] [tgz] |
---|---|---|
author | Fabian Kozynski <kozynski@google.com> | Fri Jul 30 15:01:14 2021 -0400 |
committer | Fabian Kozynski <kozynski@google.com> | Fri Jul 30 20:29:30 2021 +0000 |
tree | 7303e86957f71199c784bc9c1ed66e55e7c8161c | |
parent | b8364adc23f78fd9c622486c717c0420d1daf4c0 [diff] |
Fix index when moving SecurityFooter When moving the security footer in the same container, correct the index if it's before the desired position (because it will be removed from the current position). Also, extract moving logic so it can be easily tested. Fixes: 195104944 Test: atest QSPanelTest QSPanelSwitchToParentTest Change-Id: Ibc85cd5501010fcf9752d8af103500479c6f28c2 Merged-In: Ibc85cd5501010fcf9752d8af103500479c6f28c2