diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-01-23 13:01:18 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-01-23 13:01:18 -0800 |
commit | 86de0590b94bcce27e3038c27464bed510bb564a (patch) | |
tree | 0f192948c6ed5b80d4efd0219bd6c6b74b12ced9 /api/current.txt | |
parent | bd4c9f13022e875c8b420248214482a5f5b46618 (diff) | |
download | frameworks_base-86de0590b94bcce27e3038c27464bed510bb564a.zip frameworks_base-86de0590b94bcce27e3038c27464bed510bb564a.tar.gz frameworks_base-86de0590b94bcce27e3038c27464bed510bb564a.tar.bz2 |
Clean up content observer code.
Improved the documentation a little bit.
Fixed a bug in ContentService wherein if a ContentObserver was
passed as an argument and its deliverSelfNotifications() method
returned true, then notifyChange would tell all observers that
the change was a self-change even though it was only a self-change
from the perspective of the provided observer.
Deprecated ContentObservable.notifyChange since it is never
used and in general it shouldn't be because we want the notification
to be posted to the handler.
Change-Id: Idde49eb40777e011a068f2adae8a32f779dfb923
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt index 7c05ed6..a722b8b 100644 --- a/api/current.txt +++ b/api/current.txt @@ -6792,7 +6792,7 @@ package android.database { public class ContentObservable extends android.database.Observable { ctor public ContentObservable(); method public void dispatchChange(boolean); - method public void notifyChange(boolean); + method public deprecated void notifyChange(boolean); method public void registerObserver(android.database.ContentObserver); } |