showInputMethodPicker from notification not working in Android 9
问题 My app sometimes shows a notification to simplify switching to the app's internal input method. Therefore, I am executing ((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE)).showInputMethodPicker(); when the user clicks the notification. This has worked so far, but does not always work on Android 9: When my app is in foreground, it works. When it is not, nothing happens. On logcat, I see a warning "Warning 889 InputMethodManagerService Ignoring showInputMethodPickerFromClient of uid