SystemUI : QuickSettings Cleanup
Introduce new class to reference from settings and SystemUI to avoid code duplication. Differentiate between configuration change vs tile layout modification. Patchset 2 - Remove whitespace Patchset 3 - Remove unused ids Patchset 4 - Better organize the classes Patchset 5 - Rebase Patchset 6 - Introduce updateResources() Patchset 8 - Update tiles to use updateResources() Patchset 9 - Expand imports Patchset 10 - Updated all tiles to support updateResources() Added dinamic tiles to mQuickSettingsTiles Optimized and standarized of calls to updateQuickSettings() from tiles onPostCreate() -> updateTile() -> super.onPostCreate() -> updateQuickSettings() updateResources() -> updateTile() -> super.updateResources() -> updateQuickSettings() Rebased Patchset 11 - Remove unnecessary calls to update Quick Settings Change-Id: I0baff915b4c3486cc0ac165e3e927399c2b15776 Conflicts: packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Loading
Please register or sign in to comment