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

Skip to content
Commit 586a4e71 authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Remove mActiveAdmin from EnforcingAdmin

The field was only set when EnforcingAdmin was created for authorization
purposes, but not when it was loaded from XML, so the getter can't be
reliably used on all instances. All EnfrocingAdmins created for a DPC or
DA have component name set, which can be used to recover ActiveAdmin if
necessary.

Bug: 335663055
Test: btest a.d.c.WipeDataTest
Test: btest a.d.c.LockTest
Test: btest a.d.c.PasswordComplexityTest
Flag: android.app.admin.flags.active_admin_cleanup
Change-Id: Iabd5a4e9ee4a309ef4e781faaf2900a55004772b
parent 913ca7a3
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