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

Commit 18a44116 authored by Zoey Chen's avatar Zoey Chen Committed by Android (Google) Code Review
Browse files

Merge "[ANAPIC Review] Update the getHalDeviceCapabilitiesResponse since the...

Merge "[ANAPIC Review] Update the getHalDeviceCapabilitiesResponse since the config/1.3/types.hal is removed" into sc-dev
parents e34f11f9 d6aa0694
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -27,7 +27,6 @@ import static android.telephony.TelephonyManager.RadioInterfaceCapability;
import android.hardware.radio.V1_0.RadioError;
import android.hardware.radio.V1_0.RadioResponseInfo;
import android.hardware.radio.config.V1_1.ModemsConfig;
import android.hardware.radio.config.V1_3.HalDeviceCapabilities;
import android.hardware.radio.config.V1_3.IRadioConfigResponse;
import android.telephony.ModemInfo;
import android.telephony.PhoneCapability;
@@ -245,7 +244,7 @@ public class RadioConfigResponse extends IRadioConfigResponse.Stub {
     */
    public void getHalDeviceCapabilitiesResponse(
            android.hardware.radio.V1_6.RadioResponseInfo responseInfo,
            HalDeviceCapabilities halDeviceCapabilities) {
            boolean modemReducedFeatureSet1) {

        // convert hal device capabilities to RadioInterfaceCapabilities

@@ -254,8 +253,7 @@ public class RadioConfigResponse extends IRadioConfigResponse.Stub {
            // The response is compatible with Radio 1.6, it means the modem
            // supports setAllowedNetworkTypeBitmap.

            final Set<String> ret = getCaps(mRadioHalVersion,
                    halDeviceCapabilities.modemReducedFeatureSet1);
            final Set<String> ret = getCaps(mRadioHalVersion, modemReducedFeatureSet1);

            if (responseInfo.error == RadioError.NONE) {
                // send response