commit | 9248717a67887c1a4671b7e71ecb818fbc25a04e | [log] [tgz] |
---|---|---|
author | Coco Duan <cocod@google.com> | Wed Apr 17 22:08:38 2024 +0000 |
committer | Coco Duan <cocod@google.com> | Wed Apr 17 22:11:23 2024 +0000 |
tree | 69b6ff7901109ef4da3f8490fd7cabc5319ed60c | |
parent | 8554d459320edd24ae28bd0cc18642b9790d6076 [diff] |
Fix bug with adding widgets via drag&drop when GH is empty We recently removed the CTA tile in edit mode and we used to add a new widget before the CTA card at the second to last index. Fix is to update the index to insert to be the last in list. Also cleaned up a few unused methods due to the removal of the CTA card. Bug: b/334996701 Fixed: 334996701 Test: manual Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD Change-Id: I9fffd38fcbf62bf451a3033025fc99b81ac96d39