e1d13c9884e6f4579b1265400b61a36207748dc3 |
|
20-Mar-2018 |
Evan Laird <evanlaird@google.com> |
Remove SignalClusterView in favor of IconManager Refactors SignalClusterView into StatusBarSignalPolicy so that it can be used in a StatusBarIconContainer and solve all of our status bar problems. - Remove all uses of SignalClusterView and references to R.id.signal_cluster. The class still exists it's just unused now - Add StatusBarIconHolder, which can point to StatusBarIcon, WifiIconState, or PhoneIconState - StatusBarIconList.Slot. Allows for easier indexing of icons now that there can be multiple icons per slot - Add StatusBarWifiView to be inflated inside of the StatusBarIconController when needed - StatusBarMobile view. similar to above - Upgrade StatusBarIconControllerImpl and StatusBarIconList to understand the holders and added 2 new methods to specifically handle wifi / phone state changes - Create IStatusBarIconView (todo: rename). Abstracts the properties we want away from StatusBarIconView so that we can use an arbitrary view type - NeutralGoodDrawable. Draws a light and a dark icon when needed. - Fixes a few demo mode bugs: multi sim was broken and also turning off demo mode was a little broken TODO: More tests are needed for StatusBarSignalPolicy and maybe the IconManagers Test: runtest systemui; visual Bug: 63772836 Bug: 73778753 Bug: 74985733 Fixes: 74427768 Fixes: 74338687 Fixes: 74388467 Change-Id: I5621b3013cdc9638b61552bd4d7211f211eddf1b
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/FakeStatusBarIconController.java
|
340b0e5216b4fcc435e0459b1ca46155a572100d |
|
08-Mar-2017 |
Jason Monk <jmonk@google.com> |
Move out test utilities to a Testables library Test: runtest --path frameworks/base/tests/testablets/tests && runtest systemui Change-Id: Ideef4aef5f26136b1741c556b9be5884f38842a0
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/FakeStatusBarIconController.java
|
aa573e9e8632552d1fa8bdd6b0ee408ff9a93a6b |
|
27-Jan-2017 |
Jason Monk <jmonk@google.com> |
Work on separating out the status bar management Lots of stuff: - Make StatusBarIconController be a permanent dependency - Break out dark stuff into DarkIconDispatcher - Create StatusBarFragment - This bit is a bit ugly for now, but will be better later - Other stuff probably Test: runtest systemui Change-Id: I4973bc9f944e66af92731bf1edd2b39657f1782f
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/FakeStatusBarIconController.java
|