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

Commit 58bd7cf5 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Accept non-EA jobs while user is locked." into nyc-dev

parents 751b5cc5 12c0da41
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1146,7 +1146,8 @@ public final class JobSchedulerService extends com.android.server.SystemService
            final ComponentName service = job.getService();
            try {
                ServiceInfo si = pm.getServiceInfo(service,
                        PackageManager.MATCH_DEBUG_TRIAGED_MISSING, UserHandle.getUserId(uid));
                        PackageManager.MATCH_ENCRYPTION_AWARE_AND_UNAWARE,
                        UserHandle.getUserId(uid));
                if (si == null) {
                    throw new IllegalArgumentException("No such service " + service);
                }