summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Suprabh Shukla <suprabh@google.com> 2024-03-11 14:04:18 -0700
committer Suprabh Shukla <suprabh@google.com> 2024-03-11 14:37:01 -0700
commitc431def111f22952fe43aa04d48439c6432d50b6 (patch)
tree1bb017ee2162ad4395d29625b05d7ac4b52464ca /libs/androidfw/StringPool.cpp
parent4faa2d19f61e4076d40cb21f4dec6d9013318c6c (diff)
Clear dns cache when restoring network access
Sometimes apps need to wait for network rules to be updated before some of their lifecycle events can be dispatched. This happens specifically before resuming activities today. Because the process-level InetAddress library can cache dns failures, we need to clear its cache so that the app can resume making valid dns queries as soon as any of its activities resume. Test: Manual Bug: 237556596 Change-Id: Ia99a43731801078ec8d67cf17fbfee9c329b6e96
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions