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
Context.getDrawable(): use the current theme
This commit is contained in:
@@ -637,7 +637,7 @@ public class Context extends Object {
|
||||
}
|
||||
|
||||
public final Drawable getDrawable(int resId) {
|
||||
return getResources().getDrawable(resId);
|
||||
return getResources().getDrawable(resId, getTheme());
|
||||
}
|
||||
|
||||
public boolean isRestricted() { return false; }
|
||||
|
||||
Reference in New Issue
Block a user