Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8625194c authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by android-build-merger
Browse files

Merge "Revert "Fix ContentObserver unregister issue""

am: 31419a4a

Change-Id: I455be72533c24ceb5ea352774ded30d0c0a2367f
parents d45a0072 31419a4a
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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);
        }
    }