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
add Bitmap.isMutable()
In our implementation all bitmaps are mutable
This commit is contained in:
@@ -184,6 +184,10 @@ public final class Bitmap {
|
|||||||
return getAllocationByteCount();
|
return getAllocationByteCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isMutable() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
@Override
|
@Override
|
||||||
protected void finalize() throws Throwable {
|
protected void finalize() throws Throwable {
|
||||||
|
|||||||
Reference in New Issue
Block a user