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

Commit 1162a22f authored by Joao Victor Mendes Freire's avatar Joao Victor Mendes Freire
Browse files

Clear identity for SupervisionManager check.

Previously the isSupervisionEnabled call was being called with app
identity. This resulted in broken tests. This commit fixes by clearing
the identity before using the manager.

Flag: android.content.pm.protect_supervision_packages
Bug: 408407211
Test: atest FrameworksMockingServicesTests:com.android.server.pm.ProtectedPackagesMockedTest
Change-Id: I50c5ac7e7bf33e5ca7e3467297f1a3287192c917
parent b60c4cf8
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