Fix crash issue on test case RadioHidlTest_v1_5#startNetworkScan. am: a2881ffbd0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2496776 Change-Id: I6d9aff40939c44d52f13c0c7485ed81caa202f54 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
4dc8eaba99
1 changed files with 2 additions and 2 deletions
|
@ -565,9 +565,9 @@ TEST_P(RadioHidlTest_v1_5, startNetworkScan) {
|
||||||
serial = GetRandomSerialNumber();
|
serial = GetRandomSerialNumber();
|
||||||
|
|
||||||
::android::hardware::radio::V1_5::RadioAccessSpecifier::Bands band17;
|
::android::hardware::radio::V1_5::RadioAccessSpecifier::Bands band17;
|
||||||
band17.eutranBands() = {::android::hardware::radio::V1_5::EutranBands::BAND_17};
|
band17.eutranBands({::android::hardware::radio::V1_5::EutranBands::BAND_17});
|
||||||
::android::hardware::radio::V1_5::RadioAccessSpecifier::Bands band20;
|
::android::hardware::radio::V1_5::RadioAccessSpecifier::Bands band20;
|
||||||
band20.eutranBands() = {::android::hardware::radio::V1_5::EutranBands::BAND_20};
|
band20.eutranBands({::android::hardware::radio::V1_5::EutranBands::BAND_20});
|
||||||
::android::hardware::radio::V1_5::RadioAccessSpecifier specifier17 = {
|
::android::hardware::radio::V1_5::RadioAccessSpecifier specifier17 = {
|
||||||
.radioAccessNetwork = ::android::hardware::radio::V1_5::RadioAccessNetworks::EUTRAN,
|
.radioAccessNetwork = ::android::hardware::radio::V1_5::RadioAccessNetworks::EUTRAN,
|
||||||
.bands = band17,
|
.bands = band17,
|
||||||
|
|
Loading…
Reference in a new issue