[Safer intents] Connectivity
To avoid implicit intents, make intents launch explicitly. Bug: 323061508 Test: build Change-Id: I44ff8a789d933f11ba7e68e52055575245276224
This commit is contained in:
@@ -45,7 +45,8 @@ public class SpatialAudioSettings extends DashboardFragment {
|
||||
footerPreference.setLearnMoreText(
|
||||
getString(R.string.spatial_audio_footer_learn_more_text));
|
||||
footerPreference.setLearnMoreAction(
|
||||
view -> startActivity(new Intent(Settings.ACTION_BLUETOOTH_SETTINGS)));
|
||||
view -> startActivity(new Intent(Settings.ACTION_BLUETOOTH_SETTINGS)
|
||||
.setPackage(getContext().getPackageName())));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user