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

Commit 2dd5018a authored by Jerome Gaillard's avatar Jerome Gaillard Committed by Android (Google) Code Review
Browse files

Merge "Add missing ServiceNotFoundException class"

parents 03221c24 e3607d2c
Loading
Loading
Loading
Loading
+14 −0
Original line number Original line Diff line number Diff line
@@ -71,4 +71,18 @@ public final class ServiceManager {
    public static void initServiceCache(Map<String, IBinder> cache) {
    public static void initServiceCache(Map<String, IBinder> cache) {
        // pass
        // pass
    }
    }

    /**
     * Exception thrown when no service published for given name. This might be
     * thrown early during boot before certain services have published
     * themselves.
     *
     * @hide
     */
    public static class ServiceNotFoundException extends Exception {
        // identical to the original implementation
        public ServiceNotFoundException(String name) {
            super("No service published for: " + name);
        }
    }
}
}