|
|
|
@ -42,6 +42,7 @@ import android.net.Network;
|
|
|
|
|
import android.net.NetworkCapabilities;
|
|
|
|
|
import android.net.Uri;
|
|
|
|
|
import android.os.Build;
|
|
|
|
|
import android.os.Handler;
|
|
|
|
|
import android.text.TextUtils;
|
|
|
|
|
import android.util.Base64;
|
|
|
|
|
import android.util.DisplayMetrics;
|
|
|
|
@ -417,7 +418,7 @@ class ImageHelper {
|
|
|
|
|
private void post(final Drawable d, String source) {
|
|
|
|
|
Log.i("Posting image=" + source);
|
|
|
|
|
|
|
|
|
|
view.post(new Runnable() {
|
|
|
|
|
new Handler(context.getMainLooper()).post(new Runnable() {
|
|
|
|
|
@Override
|
|
|
|
|
public void run() {
|
|
|
|
|
Rect bounds = d.getBounds();
|
|
|
|
@ -427,6 +428,7 @@ class ImageHelper {
|
|
|
|
|
lld.setLevel(0);
|
|
|
|
|
|
|
|
|
|
view.requestLayout();
|
|
|
|
|
view.invalidate();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|