mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 02:48:10 +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:

committed by
Moxie Marlinspike

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 String TAG = ConversationAdapter.class.getName();
|
||||
private static final String TAG = ConversationAdapter.class.getSimpleName();
|
||||
private final Map<String,SoftReference<MessageRecord>> messageRecordCache =
|
||||
Collections.synchronizedMap(new LRUCache<String, SoftReference<MessageRecord>>(MAX_CACHE_SIZE));
|
||||
|
||||
|
Reference in New Issue
Block a user