mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-16 16:41:29 +00:00
Debloat ConversationAdapter's tag
getName() includes the full package name, which adds a ridiculous amount of text to the debug log. Using getSimpleName() is in line with the rest of the repository. Closes #6202 // FREEBIE
This commit is contained in:
parent
0f820e6beb
commit
e1f09e0437
@ -72,7 +72,7 @@ public class ConversationAdapter <V extends View & BindableConversationItem>
|
|||||||
{
|
{
|
||||||
|
|
||||||
private static final int MAX_CACHE_SIZE = 40;
|
private static final int MAX_CACHE_SIZE = 40;
|
||||||
private static final String TAG = ConversationAdapter.class.getName();
|
private static final String TAG = ConversationAdapter.class.getSimpleName();
|
||||||
private final Map<String,SoftReference<MessageRecord>> messageRecordCache =
|
private final Map<String,SoftReference<MessageRecord>> messageRecordCache =
|
||||||
Collections.synchronizedMap(new LRUCache<String, SoftReference<MessageRecord>>(MAX_CACHE_SIZE));
|
Collections.synchronizedMap(new LRUCache<String, SoftReference<MessageRecord>>(MAX_CACHE_SIZE));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user