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

Commit 5fc8dcb2 authored by Grace Cheng's avatar Grace Cheng
Browse files

Unflag AuthenticationPolicyManager in SystemServiceRegistry

Unflags creation of AuthenticationPolicyManager in SystemServiceRegistry
since it should not be dependent on secureLockdown flag

Flag: EXEMPT bugfix
Test: N/A
Fixes: 422788408
Change-Id: I63b3edf8c8af8f4587030728f97e22fecde82279
parent 5ff6e9bb
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1062,11 +1062,6 @@ public final class SystemServiceRegistry {
                    @Override
                    public AuthenticationPolicyManager createService(ContextImpl ctx)
                            throws ServiceNotFoundException {
                        if (!android.security.Flags.secureLockdown()) {
                            throw new ServiceNotFoundException(
                                    Context.AUTHENTICATION_POLICY_SERVICE);
                        }

                        final IBinder binder = ServiceManager.getServiceOrThrow(
                                Context.AUTHENTICATION_POLICY_SERVICE);
                        final IAuthenticationPolicyService service =