mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
Clean
This commit is contained in:
parent
d976861cb9
commit
019af3e7ee
@ -22,13 +22,14 @@ import android.content.res.Resources;
|
||||
import android.content.res.Resources.Theme;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.TypedValue;
|
||||
|
||||
import androidx.annotation.ArrayRes;
|
||||
import androidx.annotation.AttrRes;
|
||||
import androidx.annotation.DimenRes;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import android.util.TypedValue;
|
||||
|
||||
import org.thoughtcrime.securesms.logging.Log;
|
||||
|
||||
@ -57,7 +58,7 @@ public class ResUtil {
|
||||
int drawableRes = getDrawableRes(c, attr);
|
||||
if (drawableRes == 0) {
|
||||
Log.e(TAG, "Cannot find a drawable resource associated with the attribute: " + attr,
|
||||
new Resources.NotFoundException());
|
||||
new Resources.NotFoundException());
|
||||
return null;
|
||||
}
|
||||
return ContextCompat.getDrawable(c, drawableRes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user