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

Commit 86097b0e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Rename setDataEnabled to setUserDataEnabled."

parents b7d6f6fc f612f591
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