Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3aaf94b5 authored by Malcolm Chen's avatar Malcolm Chen
Browse files

Rename setDataEnabled to setUserDataEnabled.

Test: unittest
Bug: 69814555
Change-Id: I1d43dc1d2f720383a2f0be18560fc0fd4ff349fd
Merged-In: I1d43dc1d2f720383a2f0be18560fc0fd4ff349fd
parent 80c0656c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1142,11 +1142,11 @@ public class RadioInfo extends Activity {
            switch (state) {
                case TelephonyManager.DATA_CONNECTED:
                    //FIXME: Replace with a TelephonyManager call
                    phone.setDataEnabled(false);
                    phone.setUserDataEnabled(false);
                    break;
                case TelephonyManager.DATA_DISCONNECTED:
                    //FIXME: Replace with a TelephonyManager call
                    phone.setDataEnabled(true);
                    phone.setUserDataEnabled(true);
                    break;
                default:
                    // do nothing