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

Commit 6aa48872 authored by Nate Myren's avatar Nate Myren
Browse files

Fix typo in PermissionPolicyService exception

It should be an IllegalStateException, not an IllegalArgumentException

Fixes: 389602014
Test: build
Change-Id: I20e732f26a83c7cc37999c26ec0cf201dbd4ae91
parent ff7876bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ public final class PermissionPolicyService extends SystemService {
                    try {
                        manager = new PermissionControllerManager(
                                getUserContext(getContext(), user), PermissionThread.getHandler());
                    } catch (IllegalArgumentException exception) {
                    } catch (IllegalStateException exception) {
                        // There's a possible race condition when a user is being removed
                        Log.e(LOG_TAG, "Could not create PermissionControllerManager for user"
                                        + user, exception);