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

Commit f639ba1f authored by Sanket Agarwal's avatar Sanket Agarwal
Browse files

Add features for Automotive usecases.

1. Add support for emergency announcements - If the CAR wants to make an
emergency announcements.

Change-Id: Id4394e9ebce09d08ea4a4922032393bf2c2cddf4
(cherry picked from commit b0e3867fc5bdb09d18aeb0f111998852aeaf7f86)
parent 7e7a62dc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -87,7 +87,8 @@ public:
        data.writeInterfaceToken(IRadioService::getInterfaceDescriptor());
        data.writeInt32(handle);
        data.writeStrongBinder(IInterface::asBinder(client));
        ALOGV("attach() config %p withAudio %d region %d type %d", config, withAudio, config->region, config->band.type);
        ALOGV("attach() config %p withAudio %d region %d type %d",
              config == NULL ? 0 : config, withAudio, config->region, config->band.type);
        if (config == NULL) {
            data.writeInt32(0);
        } else {
+1 −0
Original line number Diff line number Diff line
@@ -349,6 +349,7 @@ sp<IMemory> RadioService::CallbackThread::prepareEvent(radio_hal_event_t *halEve
        }
        break;
    case RADIO_EVENT_TA:
    case RADIO_EVENT_EA:
    case RADIO_EVENT_ANTENNA:
    case RADIO_EVENT_CONTROL:
        event->on = halEvent->on;