summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorElliot Sisteron <elliotsisteron@google.com>2021-11-02 16:07:20 +0000
committerElliot Sisteron <elliotsisteron@google.com>2021-11-04 13:05:14 +0000
commit761a6b4cf290c1fd17fc22900da5dd68d9b7be4a (patch)
tree10ab06f6a4b3ac9b727950f4000f886f3fac07d3 /core/java/android
parenta2175c42cab3e242a18e646522eeb14bc881f4ce (diff)
Adding intent action for SafetyCenterActivity.
Test: CTS test in ag/16175491. Bug: 204883906 Change-Id: I5321e0f74cd10c2b62fe381326d255d14917adf5
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/content/Intent.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index e838d93c6cdc..56fcc75b2b2b 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -2367,6 +2367,14 @@ public class Intent implements Parcelable, Cloneable {
public static final String ACTION_VIEW_APP_FEATURES =
"android.intent.action.VIEW_APP_FEATURES";
+ /**
+ * Activity action: Launch UI to open the Safety Center, which highlights the user's security
+ * and privacy status.
+ */
+ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
+ public static final String ACTION_SAFETY_CENTER =
+ "android.intent.action.SAFETY_CENTER";
+
// ---------------------------------------------------------------------
// ---------------------------------------------------------------------
// Standard intent broadcast actions (see action variable).