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

Commit 4e4b2a90 authored by Karthick M J's avatar Karthick M J
Browse files

Add validation checks for maxAllowedDataMode

On SatelliteConfig OTA, we need to validate if the incoming
SatelliteConfig has valid maxAllowedDataMode i.e. whether the
dataMode values are within the accepted range (0 to 2 =>
SATELLITE_DATA_SUPPORT_ONLY_RESTRICTED to SATELLITE_DATA_SUPPORT_ALL)
Only then, accept the incoming OTA

Bug: 417164189
Test: atest frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/configupdate/TelephonyConfigUpdateInstallReceiverTest.java
Flag: EXEMPT bug fix
Change-Id: I305974719ada896d7a74d203884c3e38d6ec50e4
parent ba0934ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment