diff options
author | Scott Lobdell <slobdell@google.com> | 2019-05-10 09:55:53 -0700 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2019-05-17 12:03:52 -0700 |
commit | 1eef3e1566be8570a0f7a856f12f8992f7d34824 (patch) | |
tree | bf28c9d7d135ee48fdee3a28d7267e309dbf7f09 /packages/SystemUI/src/com/android/keyguard/CarrierTextController.java | |
parent | f9f9f03acdeb05e6978feca02f6ef20ff57d06bc (diff) | |
parent | 02351afb75b6543f91d9f0b0cdfe4527ea10b0a5 (diff) |
Merge QP1A.190509.001
Change-Id: I97bb3901e50d34a7fbe3c85480379d173ef5c0be
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/CarrierTextController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/CarrierTextController.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/CarrierTextController.java b/packages/SystemUI/src/com/android/keyguard/CarrierTextController.java index 0228f2f8fe49..bcfab519c1ae 100644 --- a/packages/SystemUI/src/com/android/keyguard/CarrierTextController.java +++ b/packages/SystemUI/src/com/android/keyguard/CarrierTextController.java @@ -177,6 +177,9 @@ public class CarrierTextController { mSimSlotsNumber = ((TelephonyManager) context.getSystemService( Context.TELEPHONY_SERVICE)).getPhoneCount(); mSimErrorState = new boolean[mSimSlotsNumber]; + updateDisplayOpportunisticSubscriptionCarrierText(SystemProperties.getBoolean( + TelephonyProperties.DISPLAY_OPPORTUNISTIC_SUBSCRIPTION_CARRIER_TEXT_PROPERTY_NAME, + false)); } /** @@ -285,10 +288,8 @@ public class CarrierTextController { * */ @VisibleForTesting - public void updateDisplayOpportunisticSubscriptionCarrierText() { - mDisplayOpportunisticSubscriptionCarrierText = SystemProperties - .getBoolean(TelephonyProperties - .DISPLAY_OPPORTUNISTIC_SUBSCRIPTION_CARRIER_TEXT_PROPERTY_NAME, false); + public void updateDisplayOpportunisticSubscriptionCarrierText(boolean isEnable) { + mDisplayOpportunisticSubscriptionCarrierText = isEnable; } protected List<SubscriptionInfo> getSubscriptionInfo() { |