@Test public void checkWebViewSdkActivitiesDeclared_shouldIncludeFourActivityDeclarations() throws Exception { ShadowLog.setupLogging(); ManifestUtils.checkWebViewActivitiesDeclared(context); assertLogIncludes( "com.mopub.mobileads.MoPubActivity", "com.mopub.mobileads.MraidActivity", "com.mopub.mobileads.MraidVideoPlayerActivity", "com.mopub.common.MoPubBrowser" ); }
public static void checkWebViewActivitiesDeclared(@NonNull final Context context) { if (!Preconditions.NoThrow.checkNotNull(context, "context is not allowed to be null")) { return; } displayWarningForMissingActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); displayWarningForMisconfiguredActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); }
ManifestUtils { public static void checkWebViewActivitiesDeclared(@NonNull final Context context) { if (!Preconditions.NoThrow.checkNotNull(context, "context is not allowed to be null")) { return; } displayWarningForMissingActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); displayWarningForMisconfiguredActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); } }
ManifestUtils { public static void checkWebViewActivitiesDeclared(@NonNull final Context context) { if (!Preconditions.NoThrow.checkNotNull(context, "context is not allowed to be null")) { return; } displayWarningForMissingActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); displayWarningForMisconfiguredActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); } private  ManifestUtils(); }
ManifestUtils { public static void checkWebViewActivitiesDeclared(@NonNull final Context context) { if (!Preconditions.NoThrow.checkNotNull(context, "context is not allowed to be null")) { return; } displayWarningForMissingActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); displayWarningForMisconfiguredActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); } private  ManifestUtils(); static void checkWebViewActivitiesDeclared(@NonNull final Context context); static void checkNativeActivitiesDeclared(@NonNull final Context context); static boolean isDebuggable(@NonNull final Context context); }
ManifestUtils { public static void checkWebViewActivitiesDeclared(@NonNull final Context context) { if (!Preconditions.NoThrow.checkNotNull(context, "context is not allowed to be null")) { return; } displayWarningForMissingActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); displayWarningForMisconfiguredActivities(context, REQUIRED_WEB_VIEW_SDK_ACTIVITIES); } private  ManifestUtils(); static void checkWebViewActivitiesDeclared(@NonNull final Context context); static void checkNativeActivitiesDeclared(@NonNull final Context context); static boolean isDebuggable(@NonNull final Context context);  }