All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robolectric.shadows.ShadowStrictMode Maven / Gradle / Ivy

package org.robolectric.shadows;

import android.os.StrictMode;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;

/**
 * Shadow for {@link android.os.StrictMode}.
 */
@Implements(StrictMode.class)
public class ShadowStrictMode {

  @Implementation
  public static void setVmPolicy(StrictMode.VmPolicy p) {
    // Prevent Robolectric from calling through
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy