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

Commit 4e61aa2a authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk Committed by Android (Google) Code Review
Browse files

Merge "Revert^2 "Fix getHalVersion overriding UNSUPPORTED version"" into main

parents f532605f 1a397062
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -1047,10 +1047,16 @@ public class RIL extends BaseCommands implements CommandsInterface {
                    }
                } else {
                    mDisabledRadioServices.get(service).add(mPhoneId);
                    if (isRadioServiceSupported(service)) {
                        mHalVersion.put(service, RADIO_HAL_VERSION_UNKNOWN);
                        riljLoge("getRadioServiceProxy: set " + serviceToString(service) + " for "
                                + HIDL_SERVICE_NAME[mPhoneId] + " as disabled\n"
                                + android.util.Log.getStackTraceString(new RuntimeException()));
                    } else {
                        mHalVersion.put(service, RADIO_HAL_VERSION_UNSUPPORTED);
                        riljLog("getRadioServiceProxy: set " + serviceToString(service) + " for "
                                + HIDL_SERVICE_NAME[mPhoneId] + " as disabled (unsupported)");
                    }
                }
            }
        } catch (RemoteException e) {