@@ -0,0 +1,1207 @@
+package org.ccci.gto.android.common.util.content;%0A%0Aimport android.app.Activity;%0Aimport android.content.ComponentName;%0Aimport android.content.Context;%0Aimport android.content.Intent;%0Aimport android.content.pm.PackageManager;%0Aimport android.net.Uri;%0Aimport android.support.annotation.NonNull;%0A%0Apublic class ComponentNameUtils %7B%0A    /**%0A     * Returns whether this is the default component for the specified Uri.%0A     *%0A     * @param manager   The PackageManager%0A     * @param component The component being tested%0A     * @param uri       The target uri%0A     * @return true if the target uri will resolve to the specified component%0A     */%0A    public static boolean isDefaultComponentFor(@NonNull final PackageManager manager,%0A                                                @NonNull final ComponentName component, @NonNull final Uri uri) %7B%0A        return component.equals(new Intent(Intent.ACTION_VIEW, uri).resolveActivity(manager));%0A    %7D%0A%0A    public static boolean isDefaultComponentFor(@NonNull final Context context, @NonNull final Class%3C? extends Activity%3E clazz, @NonNull final Uri uri) %7B%0A        return isDefaultComponentFor(context.getPackageManager(), new ComponentName(context, clazz), uri);%0A    %7D%0A%7D%0A

create a ComponentNameUtils class