[Safer intents] Input method
To avoid implicit intents, make intents launch explicitly. Test: build Bug: 323061508 Change-Id: I8d9e8e2b70c3ef913087b72800cd40e0c3df8164
This commit is contained in:
@@ -53,6 +53,7 @@ public class KeyboardSettingsPreferenceController extends BasePreferenceControll
|
||||
for (HardKeyboardDeviceInfo hardKeyboardDeviceInfo : newHardKeyboards) {
|
||||
if (mCachedDevice.getAddress().equals(hardKeyboardDeviceInfo.mBluetoothAddress)) {
|
||||
Intent intent = new Intent(Settings.ACTION_HARD_KEYBOARD_SETTINGS);
|
||||
intent.setPackage(mContext.getPackageName());
|
||||
intent.putExtra(
|
||||
Settings.EXTRA_ENTRYPOINT, SettingsEnums.CONNECTED_DEVICES_SETTINGS);
|
||||
intent.putExtra(
|
||||
|
||||
Reference in New Issue
Block a user