Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e9fec511 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

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
parent b8504259
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment