kopia lustrzana https://github.com/ryukoposting/Signal-Android
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 // FREEBIEfork-5.53.8
rodzic
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));
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue