From 071dfe86914ac296346e022a8dc2a34aa478aeb1 Mon Sep 17 00:00:00 2001 From: Jason Chiu Date: Wed, 27 Mar 2024 11:49:33 +0800 Subject: [PATCH] [Safer intents] Applications To avoid implicit intents, make intents launch explicitly. Test: build, robotest Bug: 323061508 Change-Id: I9bf4eb102550f4afd8d14a6799940d37fc0ab9a7 --- res/xml/apps.xml | 4 +++- .../appinfo/AppButtonsPreferenceController.java | 3 +++ .../appinfo/AppInfoDashboardFragment.java | 1 + .../appinfo/TimeSpentInAppPreferenceController.java | 1 + .../applications/manageapplications/CloneBackend.java | 3 +++ src/com/android/settings/spa/app/AppUtil.kt | 2 ++ .../TimeSpentInAppPreferenceControllerTest.java | 11 +++++++++-- 7 files changed, 22 insertions(+), 3 deletions(-) diff --git a/res/xml/apps.xml b/res/xml/apps.xml index c4313f645e4..646c1a508fe 100644 --- a/res/xml/apps.xml +++ b/res/xml/apps.xml @@ -72,7 +72,9 @@ - +