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

Commit 281e180c authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix NPE

Change-Id: Ie4b8b657fc6cc5a819d4ea3a0ca4536e6fdf6825
parent d8850ae1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -514,6 +514,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
        super.setInputView(view);
        mCandidateViewContainer = view.findViewById(R.id.candidates_container);
        mCandidateView = (CandidateView) view.findViewById(R.id.candidates);
        if (mCandidateView != null)
            mCandidateView.setListener(this, view);
        mCandidateStripHeight = (int)mResources.getDimension(R.dimen.candidate_strip_height);
    }