diff options
| author | 2024-07-12 12:22:56 -0700 | |
|---|---|---|
| committer | 2024-07-19 15:44:42 +0000 | |
| commit | e9fec51157e7d1a662ce2ad3b25cccd17ed0f2f1 (patch) | |
| tree | 37970388e80568814ac38adbb476bf2ea691256a /api/api.go | |
| parent | b8504259a4c26aaa88aee8a1071a63f9d953613f (diff) | |
Do null-checks before accessing VpnManager in DevicePolicyManagerService
Wear devices do not start the VpnManagerService, which would make
VpnManager unavailable. Thus, we now need to check if the VpnManager is
available before trying to use it.
Bug: 352669332
Bug: 340928692
Test: manual
Flag: android.server.allow_removing_vpn_service
Change-Id: I0e6ce00a6e5a87f983720656e5f11369d76ecfc1
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions