diff options
| author | lpeter <lpeter@google.com> | 2020-07-10 18:00:29 +0800 |
|---|---|---|
| committer | lpeter <lpeter@google.com> | 2020-07-10 18:00:29 +0800 |
| commit | ba98170effa6079d381e6f2cb8ebbd5eabc679de (patch) | |
| tree | 0d3ed60814b770b53c82072bc8e82171c57fc62b /core/java/android/inputmethodservice/InlineSuggestionSession.java | |
| parent | e9a117eb8542f279e5aae98794f818134a8c4d85 (diff) | |
Use Log.w(String, String, Throwable tr) instead of Log.w(String, String)
Use Log.w(String, String, Throwable tr) instead of Log.w(String, String)
to give a bit better performance.
Bug: 160931064
Test: manual verification
Change-Id: I3622f306f706f1cb327c4d974b678b700a1d1d20
Diffstat (limited to 'core/java/android/inputmethodservice/InlineSuggestionSession.java')
| -rw-r--r-- | core/java/android/inputmethodservice/InlineSuggestionSession.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/inputmethodservice/InlineSuggestionSession.java b/core/java/android/inputmethodservice/InlineSuggestionSession.java index 90d0ff0a5026..20bf6e0024e3 100644 --- a/core/java/android/inputmethodservice/InlineSuggestionSession.java +++ b/core/java/android/inputmethodservice/InlineSuggestionSession.java @@ -152,7 +152,7 @@ class InlineSuggestionSession { try { mCallback.onInlineSuggestionsSessionInvalidated(); } catch (RemoteException e) { - Log.w(TAG, "onInlineSuggestionsSessionInvalidated() remote exception:" + e); + Log.w(TAG, "onInlineSuggestionsSessionInvalidated() remote exception", e); } if (mResponseCallback != null) { consumeInlineSuggestionsResponse(EMPTY_RESPONSE); |
