In android, why getCurrentInputEditorInfo() = null?
<p>When clicking a flowWindow button, the application starts a Service extends InputMethodService as follow,public void onStart(Intent intent, int a){super.onStart(intent , a);EditorInfo ed=getCurrentInputEditorInfo();}The question is, no matter what the current activity(from other application) is, the "ed" equals "null", of course the following codes such as "Log.d("tag",ed.hintText+"")" makes an error.Is the grammer incorrect, or the apllication lacks some permission?</p>
