Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 57e034a0 authored by Darrell Shi's avatar Darrell Shi
Browse files

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
parent 4f78f423
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment