Android dns permission block with xiaomi devices

I have a problem with my own app only with Xiaomi phone with latest official firmware.

When my app goes to background state (service, etc.), xiaomi firmware? blocked any DNS request.

Where can I resolve the DNS query for my application? Is it a safety feature or a bug?

07-12 23:15:31.690 273-663/? D/DnsProxyBlocker: hasUid: restrict uid(10213)
07-12 23:15:31.690 273-663/? E/DnsProxyListener: block dns query from uid = 10213
07-12 23:15:31.691 11572-11619/? I/System.out: [CDS][DNS]Unable to resolve host "microsoft.com": No address associated with hostname

      

Thank!

+3


source to share





All Articles