aidl: ISehRadioNetworkIndication: Add missing function
* Without this all the transaction IDs after this function are shifted by one * When libril_sem tries to call vendorConfigurationChanged() which is the last function in the interface, previously the AIDL lib would not have any transaction matching it, causing it to call the very last function (getInterfaceVersion) which, due to different parameters, causes a segmentation fault Change-Id: Ic6e9b740313d96c0c645fc54a0804d348892718a
This commit is contained in:
committed by
Jan Altensen (Stricted)
parent
a9e71cf27f
commit
cca18c3474
@@ -1 +1 @@
|
||||
b6801a5cca21eab5f8034f5bec4c6a01ef856157
|
||||
0fac7647ce0de55319d9c5fa53bdf92cfdc1a5c2
|
||||
|
||||
@@ -30,6 +30,7 @@ interface ISehRadioNetworkIndication {
|
||||
oneway void needTurnOnRadioIndication(int type);
|
||||
oneway void nrBearerAllocationChanged(int type, int status);
|
||||
oneway void nrIconTypeChanged(int type, int nrIconType);
|
||||
oneway void nrNetworkTypeAdded(int type, int nrNetworkType);
|
||||
oneway void roamingNetworkScanIsRequested(int type, in byte[] scanData);
|
||||
oneway void signalLevelInfoChanged(int type, in vendor.samsung.hardware.radio.network.SehSignalBar signalBarInfo);
|
||||
oneway void vendorConfigurationChanged(int type, in vendor.samsung.hardware.radio.network.SehVendorConfiguration[] configurations);
|
||||
|
||||
@@ -30,6 +30,7 @@ interface ISehRadioNetworkIndication {
|
||||
oneway void needTurnOnRadioIndication(int type);
|
||||
oneway void nrBearerAllocationChanged(int type, int status);
|
||||
oneway void nrIconTypeChanged(int type, int nrIconType);
|
||||
oneway void nrNetworkTypeAdded(int type, int nrNetworkType);
|
||||
oneway void roamingNetworkScanIsRequested(int type, in byte[] scanData);
|
||||
oneway void signalLevelInfoChanged(int type, in vendor.samsung.hardware.radio.network.SehSignalBar signalBarInfo);
|
||||
oneway void vendorConfigurationChanged(int type, in vendor.samsung.hardware.radio.network.SehVendorConfiguration[] configurations);
|
||||
|
||||
@@ -19,6 +19,7 @@ interface ISehRadioNetworkIndication {
|
||||
oneway void needTurnOnRadioIndication(int type);
|
||||
oneway void nrBearerAllocationChanged(int type, int status);
|
||||
oneway void nrIconTypeChanged(int type, int nrIconType);
|
||||
oneway void nrNetworkTypeAdded(int type, int nrNetworkType);
|
||||
oneway void roamingNetworkScanIsRequested(int type, in byte[] scanData);
|
||||
oneway void signalLevelInfoChanged(int type, in SehSignalBar signalBarInfo);
|
||||
oneway void vendorConfigurationChanged(int type, in SehVendorConfiguration[] configurations);
|
||||
|
||||
@@ -88,6 +88,12 @@ ndk::ScopedAStatus SehRadioNetworkIndication::nrIconTypeChanged(int32_t type, in
|
||||
return ndk::ScopedAStatus::ok();
|
||||
}
|
||||
|
||||
ndk::ScopedAStatus SehRadioNetworkIndication::nrNetworkTypeAdded(int32_t type,
|
||||
int32_t nrNetworkType) {
|
||||
l(__func__);
|
||||
return ndk::ScopedAStatus::ok();
|
||||
}
|
||||
|
||||
ndk::ScopedAStatus SehRadioNetworkIndication::roamingNetworkScanIsRequested(
|
||||
int32_t type, const std::vector<uint8_t>& scanData) {
|
||||
l(__func__);
|
||||
|
||||
@@ -32,6 +32,7 @@ class SehRadioNetworkIndication : public BnSehRadioNetworkIndication {
|
||||
ndk::ScopedAStatus needTurnOnRadioIndication(int32_t type) override;
|
||||
ndk::ScopedAStatus nrBearerAllocationChanged(int32_t type, int32_t status) override;
|
||||
ndk::ScopedAStatus nrIconTypeChanged(int32_t type, int32_t nrIconType) override;
|
||||
ndk::ScopedAStatus nrNetworkTypeAdded(int32_t type, int32_t nrNetworkType) override;
|
||||
ndk::ScopedAStatus roamingNetworkScanIsRequested(int32_t type,
|
||||
const std::vector<uint8_t>& scanData) override;
|
||||
ndk::ScopedAStatus signalLevelInfoChanged(int32_t type,
|
||||
|
||||
Reference in New Issue
Block a user