Loading src/java/com/android/internal/telephony/RIL.java +9 −5 Original line number Original line Diff line number Diff line Loading @@ -292,11 +292,6 @@ public class RIL extends BaseCommands implements CommandsInterface { " mRadioProxyCookie = " + mRadioProxyCookie.get()); " mRadioProxyCookie = " + mRadioProxyCookie.get()); if ((long) msg.obj == mRadioProxyCookie.get()) { if ((long) msg.obj == mRadioProxyCookie.get()) { resetProxyAndRequestList(); resetProxyAndRequestList(); // todo: rild should be back up since message was sent with a delay. this is // a hack. getRadioProxy(null); getOemHookProxy(null); } } break; break; } } Loading Loading @@ -349,6 +344,7 @@ public class RIL extends BaseCommands implements CommandsInterface { clearRequestList(RADIO_NOT_AVAILABLE, false); clearRequestList(RADIO_NOT_AVAILABLE, false); getRadioProxy(null); getRadioProxy(null); getOemHookProxy(null); } } /** Returns a {@link IRadio} instance or null if the service is not available. */ /** Returns a {@link IRadio} instance or null if the service is not available. */ Loading Loading @@ -2004,6 +2000,10 @@ public class RIL extends BaseCommands implements CommandsInterface { } catch (RemoteException | RuntimeException e) { } catch (RemoteException | RuntimeException e) { handleRadioProxyExceptionForRR(rr, "invokeOemRilRequestRaw", e); handleRadioProxyExceptionForRR(rr, "invokeOemRilRequestRaw", e); } } } else { // OEM Hook service is disabled for P and later devices. // Deprecated OEM Hook APIs will perform dummy before being removed. if (RILJ_LOGD) riljLog("Radio Oem Hook Service is disabled for P and later devices. "); } } } } Loading @@ -2029,6 +2029,10 @@ public class RIL extends BaseCommands implements CommandsInterface { } catch (RemoteException | RuntimeException e) { } catch (RemoteException | RuntimeException e) { handleRadioProxyExceptionForRR(rr, "invokeOemRilRequestStrings", e); handleRadioProxyExceptionForRR(rr, "invokeOemRilRequestStrings", e); } } } else { // OEM Hook service is disabled for P and later devices. // Deprecated OEM Hook APIs will perform dummy before being removed. if (RILJ_LOGD) riljLog("Radio Oem Hook Service is disabled for P and later devices. "); } } } } Loading Loading
src/java/com/android/internal/telephony/RIL.java +9 −5 Original line number Original line Diff line number Diff line Loading @@ -292,11 +292,6 @@ public class RIL extends BaseCommands implements CommandsInterface { " mRadioProxyCookie = " + mRadioProxyCookie.get()); " mRadioProxyCookie = " + mRadioProxyCookie.get()); if ((long) msg.obj == mRadioProxyCookie.get()) { if ((long) msg.obj == mRadioProxyCookie.get()) { resetProxyAndRequestList(); resetProxyAndRequestList(); // todo: rild should be back up since message was sent with a delay. this is // a hack. getRadioProxy(null); getOemHookProxy(null); } } break; break; } } Loading Loading @@ -349,6 +344,7 @@ public class RIL extends BaseCommands implements CommandsInterface { clearRequestList(RADIO_NOT_AVAILABLE, false); clearRequestList(RADIO_NOT_AVAILABLE, false); getRadioProxy(null); getRadioProxy(null); getOemHookProxy(null); } } /** Returns a {@link IRadio} instance or null if the service is not available. */ /** Returns a {@link IRadio} instance or null if the service is not available. */ Loading Loading @@ -2004,6 +2000,10 @@ public class RIL extends BaseCommands implements CommandsInterface { } catch (RemoteException | RuntimeException e) { } catch (RemoteException | RuntimeException e) { handleRadioProxyExceptionForRR(rr, "invokeOemRilRequestRaw", e); handleRadioProxyExceptionForRR(rr, "invokeOemRilRequestRaw", e); } } } else { // OEM Hook service is disabled for P and later devices. // Deprecated OEM Hook APIs will perform dummy before being removed. if (RILJ_LOGD) riljLog("Radio Oem Hook Service is disabled for P and later devices. "); } } } } Loading @@ -2029,6 +2029,10 @@ public class RIL extends BaseCommands implements CommandsInterface { } catch (RemoteException | RuntimeException e) { } catch (RemoteException | RuntimeException e) { handleRadioProxyExceptionForRR(rr, "invokeOemRilRequestStrings", e); handleRadioProxyExceptionForRR(rr, "invokeOemRilRequestStrings", e); } } } else { // OEM Hook service is disabled for P and later devices. // Deprecated OEM Hook APIs will perform dummy before being removed. if (RILJ_LOGD) riljLog("Radio Oem Hook Service is disabled for P and later devices. "); } } } } Loading