Fix the behavior of preference in IME Settings
Change-Id: I41f7c36fb73730248dcc98abbf4276ef6d772f36
This commit is contained in:
@@ -104,6 +104,7 @@ public class InputMethodPreference extends CheckBoxPreference
|
||||
mSummaryText = (TextView)view.findViewById(android.R.id.summary);
|
||||
final boolean hasSubtypes = mImi.getSubtypeCount() > 1;
|
||||
final String imiId = mImi.getId();
|
||||
if (hasSubtypes) {
|
||||
mInputMethodPref.setOnLongClickListener(new OnLongClickListener() {
|
||||
@Override
|
||||
public boolean onLongClick(View arg0) {
|
||||
@@ -114,6 +115,7 @@ public class InputMethodPreference extends CheckBoxPreference
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (mSettingsIntent != null) {
|
||||
mInputMethodSettingsButton.setOnClickListener(
|
||||
|
Reference in New Issue
Block a user