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

Commit 54538b0f authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by android-build-merger
Browse files

Merge "Revert "Fix ContentObserver unregister issue"" am: 31419a4a am: 8625194c am: cd816c18

am: c2a76d16

Change-Id: I6916fbf80f86419a264b4645d29c9167777543e8
parents 917a6411 c2a76d16
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);
        }
    }