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 lots of java APIs needed for Whatsapp
This commit is contained in:
@@ -162,7 +162,8 @@ public class LayerDrawable extends Drawable implements Drawable.Callback {
|
||||
dr = Drawable.createFromXmlInner(r, parser, attrs);
|
||||
}
|
||||
|
||||
addLayer(dr, id, left, top, right, bottom);
|
||||
if (dr != null)
|
||||
addLayer(dr, id, left, top, right, bottom);
|
||||
}
|
||||
|
||||
ensurePadding();
|
||||
|
||||
Reference in New Issue
Block a user