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

Commit b23ec4ea authored by Tetsutoki Shiozawa's avatar Tetsutoki Shiozawa Committed by android-build-merger
Browse files

Merge "Fix: Double-free error on RemoteFillService"

am: 5b04f893

Change-Id: I7e8872a28ee01f29710945ac692236fa94f3c13a
parents b351b63c 5b04f893
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -342,7 +342,8 @@ final class RemoteFillService implements DeathRecipient {
        @Override
        public void onServiceConnected(ComponentName name, IBinder service) {
            if (mDestroyed || !mBinding) {
                mContext.unbindService(mServiceConnection);
                // This is abnormal. Unbinding the connection has been requested already.
                Slog.wtf(LOG_TAG, "onServiceConnected was dispatched after unbindService.");
                return;
            }
            mBinding = false;