From 3e17686c682f4e320d46048d99e07eea2d38e7cf Mon Sep 17 00:00:00 2001
From: "Tadashi G. Takaoka" <takaoka@google.com>
Date: Wed, 25 May 2011 17:55:41 +0900
Subject: [PATCH] Fix missing setService call for CandaiteView

This bug has been introduced by I95f379b9.

Bug: 4486388
Change-Id: I23fd3abe05946d4709b4593efa4713cd19723479
---
 java/src/com/android/inputmethod/latin/LatinIME.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 6cb928321e..dc2fe4c538 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -484,6 +484,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
         final View inputView = mKeyboardSwitcher.onCreateInputView();
         mCandidateViewContainer = inputView.findViewById(R.id.candidates_container);
         mCandidateView = (CandidateView) inputView.findViewById(R.id.candidates);
+        mCandidateView.setService(this);
         mCandidateStripHeight = (int)mResources.getDimension(R.dimen.candidate_strip_height);
         return inputView;
     }
-- 
GitLab