[Safer intents] Device info
To avoid implicit intents, make intents launch explicitly. Bug: 323061508 Test: build Change-Id: I053372e15f6353578b7646e17f0a8205728945be
This commit is contained in:
@@ -29,7 +29,8 @@ public class SafetyInfoPreferenceController extends AbstractPreferenceController
|
||||
PreferenceControllerMixin {
|
||||
|
||||
private static final Intent INTENT_PROBE =
|
||||
new Intent("android.settings.SHOW_SAFETY_AND_REGULATORY_INFO");
|
||||
new Intent("android.settings.SHOW_SAFETY_AND_REGULATORY_INFO")
|
||||
.setPackage("com.android.safetyregulatoryinfo");
|
||||
|
||||
private final PackageManager mPackageManager;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user