mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
- Only IDP is updated when displayInfo changes but DPs of CD don't. As a result taskbars on CD end up reusing the old config DPs. For example, when user changes display size, displayInfo updates but taskbars on CD continue using old DP resources. - So, update DP for CD when DisplayInfo changes. - Also added using supplied context with dpToPx for calculating radius for taskbar roundedness at the ends. Fix: 414933860 Test: m Flag: com.android.window.flags.enable_taskbar_connected_displays Change-Id: I7d8ed3c5ba69b755a58d3462a5da9ed7fd404198