Skip to content
Commit 81799a75 authored by Evan Laird's avatar Evan Laird
Browse files

[Sb refactor] Mobile icon view model logging

Add logging to the mobile icon view models. In order to keep the logs
from duplicating, this CL also adds:

1. The reuse of a single instance of the MobileIconsViewModel
   (top-level), which
2. Caches the individual MobileIconViewModel common implementations on a
   per-subscription basis. There is now a 1-1 correspondence of the
   common mobile icon view model implementations and the number of
   subscriptions.

Also updated the MobileIconViewModelTest and
LocationBasedMobileIconViewModelTest classes to use the TestScope method
of running tests.

Test: adb logcat | grep SbConnectivity
Test: tests in tests/src/com/android/systemui/statusbar/pipeline/mobile/*
Bug: 238425913
Change-Id: I5157cdcfb054d4629db0f9b11da8b583760ce471
parent 4e53da6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment