commit | 06ec50d68354a00f3f3e0e55fe42e9d13b6fbba6 | [log] [tgz] |
---|---|---|
author | Zhengyu Zhan <zhengyu.zhan@mediatek.com> | Mon Aug 10 11:25:14 2020 +0800 |
committer | Denis Hsu <denis.hsu@mediatek.com> | Mon Nov 02 11:02:25 2020 +0800 |
tree | df565ae3c2d04d0998351e83a6bbb988c086fce1 | |
parent | 3c3baf163a39e95defc343194ee750b5c169327f [diff] |
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