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

Skip to content
Commit c431def1 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

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
parent 4faa2d19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment