
org.robolectric.shadows.ShadowWallpaperManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shadows-framework Show documentation
Show all versions of shadows-framework Show documentation
An alternative Android testing framework.
package org.robolectric.shadows;
import android.app.WallpaperManager;
import android.content.Context;
import android.os.Bundle;
import android.os.IBinder;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.shadow.api.Shadow;
@Implements(WallpaperManager.class)
public class ShadowWallpaperManager {
@Implementation
protected static WallpaperManager getInstance(Context context) {
return Shadow.newInstanceOf(WallpaperManager.class);
}
@Implementation
protected void sendWallpaperCommand(
IBinder windowToken, String action, int x, int y, int z, Bundle extras) {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy