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

Commit 5e90d8ea authored by Malcolm Chen's avatar Malcolm Chen Committed by android-build-merger
Browse files

Merge "Rename setDataEnabled to setUserDataEnabled."

am: 43b1b97e

Change-Id: Ib11eca12b1331494972c86a18670c348abae3d2c
parents e34375b8 43b1b97e
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