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

Commit cbdb04b8 authored by Eric Biggers's avatar Eric Biggers
Browse files

SystemUI: Remove unused method SecurityController#getDeviceOwnerType()

Following http://ag/32928330 ("Remove ADD_ISFINANCED_DEVICE_FLAG") and
http://ag/34817750 ("Switch to SecurityController#isFinancedDevice()"),
SecurityController#getDeviceOwnerType() is no longer used.  Remove it
from the interface, remove all implementations and mocking of it, and
remove the mocking of DevicePolicyManager#getDeviceOwnerType() which was
needed only for SecurityControllerImpl#getDeviceOwnerType().

Also change KeyguardIndicationControllerBaseTest#DEVICE_OWNER_COMPONENT
from protected to private, since this change removes the only use of it
from a subclass (KeyguardIndicationControllerTest).

Bug: 259908270
Test: m; m SystemUITests
Flag: EXEMPT removing unused code following a flag removal
Change-Id: Iaa989969b05391253d910ef5a1387ebee2fc18be
parent 27743398
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