summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author tiansiming [田思明] <tiansiming@xiaomi.com> 2018-04-18 02:28:14 -0700
committer android-build-merger <android-build-merger@google.com> 2018-04-18 02:28:14 -0700
commit7eb7fa6cebf0ffb7e385f984abcef452922e23d5 (patch)
treeae33bd2443d3a56c24b957066e513656472d9e48
parent5a2d94e93b0c72510251c73222ca59ae3fc6637b (diff)
parentd54852ab769212f0a060cfe1225340502098f532 (diff)
Merge "Remove duplicated code in IMMS" am: 5ab0fe1f56
am: d54852ab76 Change-Id: Ia84f00aec9ab7f98804f583f9567ddd3216f7360
-rw-r--r--services/core/java/com/android/server/InputMethodManagerService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/InputMethodManagerService.java b/services/core/java/com/android/server/InputMethodManagerService.java
index f678eed8305c..0fd1a1a2ecf9 100644
--- a/services/core/java/com/android/server/InputMethodManagerService.java
+++ b/services/core/java/com/android/server/InputMethodManagerService.java
@@ -1880,8 +1880,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));
}
}