commit | d3beed3bb0571d08da1bc6a07bbca49e4403cd35 | [log] [tgz] |
---|---|---|
author | Yeabkal Wubshit <yeabkal@google.com> | Mon Aug 19 03:53:19 2024 +0000 |
committer | Yeabkal Wubshit <yeabkal@google.com> | Mon Aug 19 03:53:19 2024 +0000 |
tree | 220778f2e00f4b33e06f5f3600380833ed88a19e | |
parent | 310588ddf8e4aec4128e3e9616d2766cec53a6c3 [diff] |
Return null instead of throwing ServiceNotFoundException when VPN_MANAGEMENT_SERVICE is not available. This is to fix the issue that the system service registry throws an exception when the service is not available. There's a wtf log that happens if the UID of the app is a system UID. Related CL: ag/28292869 Bug: 359924233 Change-Id: I041beac94395e4213443a026e5dbb038a09fa5c8 Test: manual Flag: android.server.allow_removing_vpn_service