Messaging: Remove unused code
Change-Id: I8093bb3e305ae323f7069bf42f9e83f8c8647cc7
This commit is contained in:
@@ -35,7 +35,6 @@ import android.net.Uri;
|
||||
import android.provider.MediaStore;
|
||||
import androidx.annotation.Nullable;
|
||||
import android.text.TextUtils;
|
||||
import android.view.View;
|
||||
|
||||
import com.android.messaging.Factory;
|
||||
import com.android.messaging.datamodel.MediaScratchFileProvider;
|
||||
@@ -169,15 +168,6 @@ public class ImageUtils {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets a drawable to the background of a view. setBackgroundDrawable() is deprecated since
|
||||
* JB and replaced by setBackground().
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public static void setBackgroundDrawableOnView(final View view, final Drawable drawable) {
|
||||
view.setBackground(drawable);
|
||||
}
|
||||
|
||||
/**
|
||||
* Based on the input bitmap bounds given by BitmapFactory.Options, compute the required
|
||||
* sub-sampling size for loading a scaled down version of the bitmap to the required size
|
||||
|
||||
Reference in New Issue
Block a user