diff options
| author | 2024-08-22 16:07:50 -0700 | |
|---|---|---|
| committer | 2024-08-23 15:29:20 -0700 | |
| commit | 57e034a01360ed9110c527644ec7741d43b560c3 (patch) | |
| tree | 4c5826db5a700cfbde5d1c81b5b79518ed9392a6 /libs/hwui/RenderNode.cpp | |
| parent | 4f78f423c5a136ab141e9ce73b16df858a383a66 (diff) | |
Reverse ranks order and add widgets at the end
- reverse ranks from high-to-low to low-to-high
- make rank an optional parameter
- move "add widget and shift others" logic to database level to be
performed in a single transaction
Test: CommunalWidgetDaoTest
Test: verified widgets order remain consistent after db migration
Test: verified add widgets by tap and by drag & drop work correctly
Test: verified widgets added by tap remain in consistent order
Fix: 348041107
Flag: com.android.systemui.communal_hub
Change-Id: I7af9b535013ce0a696a0630bd991838a881e2495
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
0 files changed, 0 insertions, 0 deletions