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

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

Merge "Telephony rebootModem: don't drop command result on the floor" into main

parents 07032008 b4ed8179
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -8510,7 +8510,9 @@ public class TelephonyManager {
            if (telephony == null) {
                throw new IllegalStateException("telephony service is null.");
            }
            telephony.rebootModem(getSlotIndex());
            if (!telephony.rebootModem(getSlotIndex())) {
                throw new RuntimeException("Couldn't reboot modem (it may be not supported)");
            }
        } catch (RemoteException ex) {
            Rlog.e(TAG, "rebootRadio RemoteException", ex);
            throw ex.rethrowAsRuntimeException();