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

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

Merge "Rename setDataEnabled to setUserDataEnabled." am: 43b1b97e

am: 5e90d8ea

Change-Id: I62b5c85e1737ef5ca23b2037b221a70e58121fe3
parents dc9b879e 5e90d8ea
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