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

Skip to content
Commit b1bdd1c7 authored by Vladimir Komsiyski's avatar Vladimir Komsiyski
Browse files

Remove redundant CREATE_VIRTUAL_DEVICE permission enforcement

Only keep it for VirtualDeviceManager#createVirtualDevice.

All other references are redundant because there's already a
VirtualDevice object.

Adding checks to all sensitive VD methods that the caller is
in fact the VD owner.

Test: presubmit
Fix: 371938922
Flag: EXEMPT bugfix
Change-Id: Ic3bb36dee41c6b92562d4dfe0e2e85a44bfc0d31
parent b13bfab3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment