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

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

The newest version!
package org.robolectric.shadows;

import com.android.internal.compat.ChangeReporter;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.versioning.AndroidVersions.R;

@Implements(value = ChangeReporter.class, isInAndroidSdk = false, minSdk = R.SDK_INT)
public class ShadowChangeReporter {

  /** Don't write any compat change to logs, as its spammy in Robolectric. */
  @Implementation
  protected boolean shouldWriteToDebug(int uid, long changeId, int state) {
    return false;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy