mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-23 00:17:34 +00:00
Improve logs in SingleRecipientNotificationBuilder
This commit is contained in:
parent
e1e5c5937b
commit
309293df63
@ -99,7 +99,7 @@ public class SingleRecipientNotificationBuilder extends AbstractNotificationBuil
|
|||||||
.get();
|
.get();
|
||||||
setLargeIcon(iconBitmap);
|
setLargeIcon(iconBitmap);
|
||||||
} catch (InterruptedException | ExecutionException e) {
|
} catch (InterruptedException | ExecutionException e) {
|
||||||
Log.w(TAG, e);
|
Log.w(TAG, "get iconBitmap in getThread failed", e);
|
||||||
setLargeIcon(getPlaceholderDrawable(context, recipient));
|
setLargeIcon(getPlaceholderDrawable(context, recipient));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -298,7 +298,7 @@ public class SingleRecipientNotificationBuilder extends AbstractNotificationBuil
|
|||||||
.submit(64, 64)
|
.submit(64, 64)
|
||||||
.get();
|
.get();
|
||||||
} catch (InterruptedException | ExecutionException e) {
|
} catch (InterruptedException | ExecutionException e) {
|
||||||
Log.w(TAG, e);
|
Log.w(TAG, "getBigPicture failed", e);
|
||||||
return Bitmap.createBitmap(64, 64, Bitmap.Config.RGB_565);
|
return Bitmap.createBitmap(64, 64, Bitmap.Config.RGB_565);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user