Files
android_translation_layer/src/api-impl/android/app/WallpaperManager.java
Julian Winkler cd2c69cf73 reimplement Bitmap and Path using GdkTexture and GskPath
This allows us to use GskCanvas for Bitmap rendering

This increases the required GTK version to >= 4.14.
2024-12-22 12:30:29 +01:00

19 lines
357 B
Java

package android.app;
import android.content.Context;
import android.graphics.Bitmap;
public class WallpaperManager {
public static WallpaperManager getInstance(Context context) {
return new WallpaperManager();
}
public void setBitmap(Bitmap bitmap) {
set_bitmap(bitmap.getTexture());
}
private static native void set_bitmap(long texture);
}