commit | 4d313e1c166bb06944b86e7567d28ae3c61f79d0 | [log] [tgz] |
---|---|---|
author | Caitlin Shkuratov <caitlinshk@google.com> | Wed Dec 28 17:18:26 2022 +0000 |
committer | Caitlin Shkuratov <caitlinshk@google.com> | Tue Jan 03 22:15:47 2023 +0000 |
tree | 46d7783c6fa7aee870adcd1d3e7f2343fd92e371 | |
parent | b638b557b80bc71ef6d1d9272d3fdc675795eca9 [diff] |
[SB Refactor] Provide a disabled wifi repo if there's no wifi manager. This allows WifiRepositoryImpl to use a non-null WifiManager, which removes a lot of null checks throughout the pipeline. Bug: 238425913 Test: verify wifi icon still works Test: verify wifi demo mode still works Test: verify that, when WifiManager is null, the wifi icon never shows Test: all tests in statusbar.pipeline.wifi Change-Id: I8de76ad554769e91f1612ddfb3e9fa6dfa9bc6ed