Merge "Revert "Fix ContentObserver unregister issue"" am: 31419a4ad4

am: 8625194c19

Change-Id: I5025d99e35dd267ffc3a0c0393a24ebb87cc0546
This commit is contained in:
Fyodor Kupolov
2017-07-13 03:56:09 +00:00
committed by android-build-merger

View File

@@ -193,11 +193,6 @@ public abstract class ContentObserver {
*/
private void dispatchChange(boolean selfChange, Uri uri, int userId) {
if (mHandler == null) {
synchronized (mLock) {
if (mTransport == null) {
return;
}
}
onChange(selfChange, uri, userId);
} else {
mHandler.post(new NotificationRunnable(selfChange, uri, userId));
@@ -218,11 +213,6 @@ public abstract class ContentObserver {
@Override
public void run() {
synchronized (mLock) {
if (mTransport == null) {
return;
}
}
ContentObserver.this.onChange(mSelfChange, mUri, mUserId);
}
}