add missing Context attribute to all View constructors

This commit is contained in:
Julian Winkler
2023-07-14 18:02:04 +02:00
parent 151eb334cc
commit 6b79adb2c3
12 changed files with 46 additions and 26 deletions

View File

@@ -12,8 +12,8 @@ public class ImageView extends View {
private Bitmap bitmap;
public ImageView(AttributeSet attrs) {
super(attrs);
public ImageView(Context context, AttributeSet attrs) {
super(context, attrs);
native_constructor(attrs);
int resource = attrs.getAttributeResourceValue("http://schemas.android.com/apk/res/android", "src", 0);