summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2023-01-10 15:46:56 -0500
committer Evan Laird <evanlaird@google.com> 2023-01-12 13:32:09 -0500
commit7f894afe510888414cd45277ae7789ac2f7e6c17 (patch)
tree6d82d30f1025027964fdd9a89578c41471e5c5d1 /libs/androidfw/AttributeResolution.cpp
parent5ceb454c8e8465ddd6df1e046f46719b3bb1702d (diff)
[Sb refactor] Implement 2s grace period for data switching
The old mobile pipeline supported this particular use case. Given that there are 2 mobile subscriptions, A and B, then when data switches from A to B, we will consider B to be validated (see NetworkCapabilities) for up to 2 seconds under the conditions: 1. A was validated before the switch 2. A and B are both in the same group (i.e. they have the same group UUID) This CL implements the same exact criteria by monitoring for data switching in the same group and maintaining a validated state for 2 seconds for the default subscription. Test: MobileIconsInteractorTest Bug: 238425913 Change-Id: I8e798197beda562634c137377145dea510cbda4c
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions