summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2024-04-26 12:35:11 -0400
committer Evan Laird <evanlaird@google.com> 2024-04-26 12:39:46 -0400
commit7940c14e6a89930496d833804b7eee0d9f010fd3 (patch)
tree1c9feb7327896ae4a434ef9fc944d3e49d7ea0f4 /libs/androidfw/StringPool.cpp
parent69b03fa374ab2160bcb3348a339bbf7711f10e15 (diff)
[Sat] Use new TelephonyCallback instead of ServiceState
Previously, we were using `ServiceState.isUsingNonTerrestrialNetwork` to know if a given mobile connection was using satellite (non-terrestrial). This single bit was insufficient though, given that there are carrier requirements for hysteresis when losing the connection. This new TelephonyCallback.CarrierRoamingNtnModeListener surfaces the same information as `isUsingNonTerrestrialNetwork`, but it also embeds the hysteresis information along with it. So we should be able to use this single bit instead of modeling the hysteresis ourselves. Test: tests in statusbar/pipeline/mobile Test: demo mode using `-e ntn true` mobile command Bug: 337103875 Flag: NONE Change-Id: Id003d57662c682bab150795782827f600063243e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions