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
api-impl: misc fixes and additions to make Telegram launch
This commit is contained in:
@@ -12,6 +12,7 @@ import android.content.res.Resources.Theme;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
import android.graphics.Shader;
|
||||
@@ -61,4 +62,8 @@ public class BitmapDrawable extends Drawable {
|
||||
}
|
||||
|
||||
public void setTileModeX(Shader.TileMode mode) {}
|
||||
|
||||
public Paint getPaint() {
|
||||
return new Paint();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,6 @@ public class Shape {
|
||||
protected RectF rect() {
|
||||
return new RectF();
|
||||
}
|
||||
|
||||
public void resize(float width, float height) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user