Block data call

If network is a non-terrestrial network, block data requests with
NET_CAPABILITY_INTERNET.

Bug: 287114765
Test: Flashed build on raven-userdebug and performed basic functionality
tests,
atest DataNetworkControllerTest#testNonTerrestrialNetworkChanged

Change-Id: Ie21183b093d006f2d9b0bb00845d06965a52f812
This commit is contained in:
Aishwarya Mallamapti 2023-07-07 21:28:51 +00:00 committed by Aishwarya Mallampati
parent 2652de9790
commit e94dd21fdc
2 changed files with 5 additions and 0 deletions

View file

@ -379,4 +379,5 @@ enum DataCallFailCause {
SLICE_REJECTED = 0x8CC, SLICE_REJECTED = 0x8CC,
MATCH_ALL_RULE_NOT_ALLOWED = 0x8CD, MATCH_ALL_RULE_NOT_ALLOWED = 0x8CD,
ALL_MATCHING_RULES_FAILED = 0x8CE, ALL_MATCHING_RULES_FAILED = 0x8CE,
SATELLITE_ENABLED = 0x8CF,
} }

View file

@ -1306,4 +1306,8 @@ enum DataCallFailCause {
* If connection failed for all matching URSP rules. * If connection failed for all matching URSP rules.
*/ */
ALL_MATCHING_RULES_FAILED = 0x8CE, ALL_MATCHING_RULES_FAILED = 0x8CE,
/**
* Data call is not allowed as device is connected to satellite.
*/
SATELLITE_ENABLED = 0x8CF,
} }