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

Commit e723ade6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Better error message for missing job services." into sc-dev am: c562b93a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14443406

Change-Id: Ia5035d6e0731d2e23d9aca7357e0777c13a2b52e
parents 6f8660fc c562b93a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2629,8 +2629,7 @@ public class JobSchedulerService extends com.android.server.SystemService
                }
            } catch (NameNotFoundException e) {
                throw new IllegalArgumentException(
                        "Tried to schedule job for non-existent package: "
                                + service.getPackageName());
                        "Tried to schedule job for non-existent component: " + service);
            }
        }

+1 −2
Original line number Diff line number Diff line
@@ -4802,8 +4802,7 @@ public abstract class PackageManager {
     * @param flags Additional option flags to modify the data returned.
     * @return A {@link ServiceInfo} object containing information about the
     *         service.
     * @throws NameNotFoundException if a package with the given name cannot be
     *             found on the system.
     * @throws NameNotFoundException if the component cannot be found on the system.
     */
    @NonNull
    public abstract ServiceInfo getServiceInfo(@NonNull ComponentName component,