merge from open-source master
Change-Id: I1612bf92bf47eb88299ed0e627e6662b23adc35a
This commit is contained in:
@@ -537,6 +537,9 @@ public final class ContentService extends IContentService.Stub {
|
||||
|
||||
// Look to see if the proper child already exists
|
||||
String segment = getUriSegment(uri, index);
|
||||
if (segment == null) {
|
||||
throw new IllegalArgumentException("Invalid Uri (" + uri + ") used for observer");
|
||||
}
|
||||
int N = mChildren.size();
|
||||
for (int i = 0; i < N; i++) {
|
||||
ObserverNode node = mChildren.get(i);
|
||||
|
||||
Reference in New Issue
Block a user