Merge "[Safer intents] System" into main

This commit is contained in:
Jason Chiu
2024-03-27 02:02:26 +00:00
committed by Android (Google) Code Review
3 changed files with 5 additions and 3 deletions

View File

@@ -195,7 +195,7 @@ public class GraphicsDriverEnableAngleAsSystemDriverController
@VisibleForTesting
void rebootDevice(Context context) {
final Intent intent = new Intent(Intent.ACTION_REBOOT);
final Intent intent = new Intent(Intent.ACTION_REBOOT).setPackage("android");
context.startActivity(intent);
}