You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
This allows us to use GskCanvas for Bitmap rendering This increases the required GTK version to >= 4.14.
19 lines
357 B
Java
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);
|
|
|
|
}
|