org.robolectric.shadows.ShadowWallpaperManager Maven / Gradle / Ivy
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.internal.Shadow;
/**
* Shadow for {@link android.app.WallpaperManager}.
*/
@Implements(WallpaperManager.class)
public class ShadowWallpaperManager {
@Implementation
public static WallpaperManager getInstance(Context context) {
return Shadow.newInstanceOf(WallpaperManager.class);
}
@Implementation
public void sendWallpaperCommand(IBinder windowToken, String action, int x, int y, int z, Bundle extras) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy