diff options
| author | Craig Mautner <cmautner@google.com> | 2013-03-13 21:20:22 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-03-13 21:20:22 +0000 |
| commit | dc50ba187ece96052bfc5e7ce39e466837a58b64 (patch) | |
| tree | 8906a20a588d9d42fe07f3da1617a52f3d6f28dd /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 24943bf19d3d000f9f5840513526b48523b62c71 (diff) | |
| parent | 6efb4c746f89458ffb3da21d7d70af0b220a4876 (diff) | |
Merge "Put debug back in for b/b8263462." into jb-mr2-dev
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
| -rw-r--r-- | core/java/android/inputmethodservice/InputMethodService.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java index 99624cc817fc..288cefff55df 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -39,6 +39,7 @@ import android.text.method.MovementMethod; import android.util.Log; import android.util.PrintWriterPrinter; import android.util.Printer; +import android.util.Slog; import android.view.KeyCharacterMap; import android.view.KeyEvent; import android.view.LayoutInflater; @@ -351,6 +352,7 @@ public class InputMethodService extends AbstractInputMethodService { * Take care of attaching the given window token provided by the system. */ public void attachToken(IBinder token) { + Slog.i(TAG, "attachToken: Existing token=" + mToken + " new token=" + token); if (mToken == null) { mToken = token; mWindow.setToken(token); @@ -417,7 +419,7 @@ public class InputMethodService extends AbstractInputMethodService { * Handle a request by the system to show the soft input area. */ public void showSoftInput(int flags, ResultReceiver resultReceiver) { - if (DEBUG) Log.v(TAG, "showSoftInput()"); + if (true || DEBUG) Slog.v(TAG, "showSoftInput()"); boolean wasVis = isInputViewShown(); mShowInputFlags = 0; if (onShowInputRequested(flags, false)) { @@ -1388,7 +1390,7 @@ public class InputMethodService extends AbstractInputMethodService { } public void showWindow(boolean showInput) { - if (DEBUG) Log.v(TAG, "Showing window: showInput=" + showInput + if (true || DEBUG) Slog.v(TAG, "Showing window: showInput=" + showInput + " mShowInputRequested=" + mShowInputRequested + " mWindowAdded=" + mWindowAdded + " mWindowCreated=" + mWindowCreated |
