Skip to content
Commit 06ec50d6 authored by Zhengyu Zhan's avatar Zhengyu Zhan Committed by Denis Hsu
Browse files

Fix NetworkPolicyManagerService deadlock

When NetworkPolicyManagerService binder call Phone process
while holding a lock, the lock will block Applications binder
call, then system_server's binder will exhaust, may cause
dead lock.

The solution is don't call phone process while holding a lock.

Bug: 146537388
Test: com.android.server.net.NetworkPolicyManagerServiceTest
com.android.cts.net.HostsideRestrictBackgroundNetworkTests

Change-Id: I57aac7f8f5c115ce68a69f84286c58c80c22fb55
parent 3c3baf16
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment