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

Commit 8aaf798a authored by lijilou's avatar lijilou Committed by Chris Li
Browse files

Remove redundant assignment operation.

The mClientToken var is final and Nonnull,so we can not change it and use it directly.

Bug: none
Flag: EXEMPT minor optimization
Change-Id: Ic7efc7c6ca9a28324e0547d58e9d7ecf1717654b
parent f5d7074e
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -287,11 +287,10 @@ class WindowContextListenerController {
        }

        private void register(boolean shouldDispatchConfig) {
            final IBinder token = mClientToken;
            if (mDeathRecipient == null) {
                throw new IllegalStateException("Invalid client token: " + token);
                throw new IllegalStateException("Invalid client token: " + mClientToken);
            }
            mListeners.putIfAbsent(token, this);
            mListeners.putIfAbsent(mClientToken, this);
            mContainer.registerWindowContainerListener(this, shouldDispatchConfig);
        }