diff options
author | Fabian Kozynski <kozynski@google.com> | 2019-06-26 10:06:09 -0400 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2019-06-26 10:14:48 -0400 |
commit | ccde55d5c79be5a45fb42e8c51603973c65022cc (patch) | |
tree | b0dc4f54b957555713737ad77756da8d2c0889fd /packages/SystemUI/src/com/android/keyguard/CarrierTextController.java | |
parent | d7479146eb52fade8c84938f1f9f0af4534a250d (diff) |
Fixes for CBRS
* Make sure that KeyguardUpdateMonitor returns the complete list of
subscription info, so classes like CarrierTextController can filter it
(in the same way as NetworkControllerImpl).
* MobileSignalController state should identify a sim as data if it's the
active data sub, not the default.
Fixes: 135553848
Test: manual, CBRS set active data to be different than default and
observe QS Tile
Test: manual, CBRS set preferred data to be different than visible sub
and observe QS header signal icon and carrier info.
Change-Id: I4b348a951e65542b24d263760983c6a6d31dfa6d
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/CarrierTextController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/CarrierTextController.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/CarrierTextController.java b/packages/SystemUI/src/com/android/keyguard/CarrierTextController.java index 209074812d7a..11d093f22840 100644 --- a/packages/SystemUI/src/com/android/keyguard/CarrierTextController.java +++ b/packages/SystemUI/src/com/android/keyguard/CarrierTextController.java @@ -303,6 +303,11 @@ public class CarrierTextController { } } else { subs = mKeyguardUpdateMonitor.getSubscriptionInfo(false); + if (subs == null) { + subs = new ArrayList<>(); + } else { + filterMobileSubscriptionInSameGroup(subs); + } } return subs; } |