diff options
| author | 2022-07-26 21:10:38 +0000 | |
|---|---|---|
| committer | 2022-07-26 21:10:38 +0000 | |
| commit | 9d7f532671abb5f3290828e0da4e948a8ac092ca (patch) | |
| tree | 1c74ee5c39fb43686494b0ae72e0124f9a871f5f | |
| parent | d611126474130e657ab8f70e91c861a40b80f86c (diff) | |
Revert "Change from deprecated telephony api"
Revert submission 19279477
Reason for revert: b/240223150
Reverted Changes:
I1bef3f309:Remove support for COMBINED_SIGNAL_ICONS
I38f76a746:Create a MobileStatusTrackerFactory
I0b1dd8e71:Change from deprecated telephony api
Id1a02134f:[Cleanup] Order NetworkController's intent filters...
I405ad3858:Add an @Inject-able MobileSignalControllerFactory
Change-Id: I6b1a152d01eeb938b2e1a286e69e2994775ceb43
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialogController.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialogController.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialogController.java index 3c8775d01e2d..f1fdae7db482 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialogController.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialogController.java @@ -778,8 +778,7 @@ public class InternetDialogController implements AccessPointController.AccessPoi return; } - mTelephonyManager.setDataEnabledForReason( - TelephonyManager.DATA_ENABLED_REASON_USER, enabled); + mTelephonyManager.setDataEnabled(enabled); if (disableOtherSubscriptions) { final List<SubscriptionInfo> subInfoList = mSubscriptionManager.getActiveSubscriptionInfoList(); |