From 135530354701403c7e43d55d0186aa94a9cc9aa8 Mon Sep 17 00:00:00 2001 From: Pengquan Meng Date: Mon, 14 Jan 2019 20:39:30 -0800 Subject: [PATCH] Add ConnectionStatus to CellInfo v1_4 Bug: 117805040 Test: build Change-Id: Ic0343671000c320ec8f62f84bcefc18c84ee323a --- radio/1.4/types.hal | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/radio/1.4/types.hal b/radio/1.4/types.hal index d0eb0ac025..761198467f 100644 --- a/radio/1.4/types.hal +++ b/radio/1.4/types.hal @@ -39,6 +39,7 @@ import @1.2::CellInfoTdscdma; import @1.2::CellInfoWcdma; import @1.2::CardStatus; import @1.2::CellIdentity; +import @1.2::CellConnectionStatus; import @1.2::DataRegStateResult; import @1.2::PhysicalChannelConfig; @@ -1500,15 +1501,15 @@ struct CellInfoLte { /** Overwritten from @1.2::CellInfo in order to update the CellInfoLte to 1.4 version. */ struct CellInfo { - /** Cell type for selecting from union CellInfo. */ - CellInfoType cellInfoType; - /** * True if the phone is registered to a mobile network that provides service on this cell and * this cell is being used or would be used for network signaling. */ bool isRegistered; + /** Connection status for the cell. */ + CellConnectionStatus connectionStatus; + /** CellInfo details, cellInfoType can tell which cell info should be used. */ safe_union Info { CellInfoGsm gsm;