Merge "Use the correct object to guard |mConversationsListeners|" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
02c4e4e0ed
@@ -1339,7 +1339,7 @@ public class DataManager {
|
||||
/** Adds {@code listener} to be notified on conversation changes. */
|
||||
public void addConversationsListener(
|
||||
@NonNull PeopleService.ConversationsListener listener) {
|
||||
synchronized (mConversationsListeners) {
|
||||
synchronized (mLock) {
|
||||
mConversationsListeners.add(Objects.requireNonNull(listener));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user