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

Commit e102c97b authored by tiansiming [田思明]'s avatar tiansiming [田思明]
Browse files

Remove duplicated code in IMMS



There is no need to judge mIsInteractive again

Bug: N/A
Test: N/A

Change-Id: I887b5fdd16e4c39ff2dcf13902dfed69741635f8
Signed-off-by: default avatartiansiming [田思明] <tiansiming@xiaomi.com>
parent f493c66f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1788,8 +1788,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub

            // If the screen is on, inform the new client it is active
            if (mIsInteractive) {
                executeOrSendMessage(cs.client, mCaller.obtainMessageIO(
                        MSG_SET_ACTIVE, mIsInteractive ? 1 : 0, cs));
                executeOrSendMessage(cs.client, mCaller.obtainMessageIO(MSG_SET_ACTIVE, 1, cs));
            }
        }