[Safer intents] Input method
To avoid implicit intents, make intents launch explicitly. Test: build Bug: 323061508 Change-Id: I8d9e8e2b70c3ef913087b72800cd40e0c3df8164
This commit is contained in:
@@ -191,7 +191,8 @@ public class UserDictionaryListPreferenceController extends BasePreferenceContro
|
||||
private Preference createUserDictionaryPreference(String locale) {
|
||||
final String KEY_LOCALE = "locale";
|
||||
final Preference newPref = new Preference(mScreen.getContext());
|
||||
final Intent intent = new Intent(USER_DICTIONARY_SETTINGS_INTENT_ACTION);
|
||||
final Intent intent = new Intent(USER_DICTIONARY_SETTINGS_INTENT_ACTION)
|
||||
.setPackage(mContext.getPackageName());
|
||||
if (locale == null) {
|
||||
newPref.setTitle(Locale.getDefault().getDisplayName());
|
||||
newPref.setKey(Locale.getDefault().toString());
|
||||
|
||||
Reference in New Issue
Block a user