Fix for potential null access.
Test: refactor CL, presubmit passes Change-Id: I6908bb0686186df3f8f99247c4cc099224c48e2b
This commit is contained in:
@@ -225,9 +225,6 @@ public class DataLoaderManagerService extends SystemService {
|
||||
private void remove() {
|
||||
synchronized (mLock) {
|
||||
mServiceConnections.remove(mId);
|
||||
if (mServiceConnections.size() == 0) {
|
||||
mServiceConnections = null;
|
||||
}
|
||||
}
|
||||
mParams.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user