Loading core/java/android/app/ActivityThread.java +5 −7 Original line number Diff line number Diff line Loading @@ -4408,7 +4408,6 @@ public final class ActivityThread extends ClientTransactionHandler ActivityManager.getService().waitForNetworkStateUpdate(mNetworkBlockSeq); mNetworkBlockSeq = INVALID_PROC_STATE_SEQ; } catch (RemoteException ignored) {} if (Flags.clearDnsCacheOnNetworkRulesUpdate()) { // InetAddress will cache UnknownHostException failures. If the rules got // updated and the app has network access now, we need to clear the negative // cache to ensure valid dns queries can work immediately. Loading @@ -4417,7 +4416,6 @@ public final class ActivityThread extends ClientTransactionHandler } } } } private ContextImpl createBaseContextForActivity(ActivityClientRecord r) { final int displayId = ActivityClient.getInstance().getDisplayId(r.token); Loading core/java/android/app/network-policy.aconfigdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line package: "android.app" container: "system" flag { namespace: "backstage_power" name: "clear_dns_cache_on_network_rules_update" description: "Clears the DNS cache when the network rules update" bug: "237556596" metadata { purpose: PURPOSE_BUGFIX } } No newline at end of file Loading
core/java/android/app/ActivityThread.java +5 −7 Original line number Diff line number Diff line Loading @@ -4408,7 +4408,6 @@ public final class ActivityThread extends ClientTransactionHandler ActivityManager.getService().waitForNetworkStateUpdate(mNetworkBlockSeq); mNetworkBlockSeq = INVALID_PROC_STATE_SEQ; } catch (RemoteException ignored) {} if (Flags.clearDnsCacheOnNetworkRulesUpdate()) { // InetAddress will cache UnknownHostException failures. If the rules got // updated and the app has network access now, we need to clear the negative // cache to ensure valid dns queries can work immediately. Loading @@ -4417,7 +4416,6 @@ public final class ActivityThread extends ClientTransactionHandler } } } } private ContextImpl createBaseContextForActivity(ActivityClientRecord r) { final int displayId = ActivityClient.getInstance().getDisplayId(r.token); Loading
core/java/android/app/network-policy.aconfigdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line package: "android.app" container: "system" flag { namespace: "backstage_power" name: "clear_dns_cache_on_network_rules_update" description: "Clears the DNS cache when the network rules update" bug: "237556596" metadata { purpose: PURPOSE_BUGFIX } } No newline at end of file