summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ashwini Oruganti <ashfall@google.com> 2021-04-20 13:22:11 -0700
committer Ashwini Oruganti <ashfall@google.com> 2021-04-20 15:07:19 -0700
commit41c544c5924212b06883991af255e9f220e9296d (patch)
tree7601c8dba9f15ab833d49ff3baa026c84fd429cb
parentc6df2ba06a2fe3e6ed5a79eeb7bc29b234ac1350 (diff)
Make ActivityInfo#attributionTags public.
Bug: 182979908 Test: TH Change-Id: Ifefefe02c27481d3de9a3c1f0b82953278705fcf
-rw-r--r--core/api/current.txt1
-rw-r--r--core/java/android/content/pm/ActivityInfo.java7
2 files changed, 5 insertions, 3 deletions
diff --git a/core/api/current.txt b/core/api/current.txt
index 04207145673f..271c12545e9f 100644
--- a/core/api/current.txt
+++ b/core/api/current.txt
@@ -11862,6 +11862,7 @@ package android.content.pm {
field public static final int SCREEN_ORIENTATION_USER_LANDSCAPE = 11; // 0xb
field public static final int SCREEN_ORIENTATION_USER_PORTRAIT = 12; // 0xc
field public static final int UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW = 1; // 0x1
+ field public String[] attributionTags;
field public int colorMode;
field public int configChanges;
field public int documentLaunchMode;
diff --git a/core/java/android/content/pm/ActivityInfo.java b/core/java/android/content/pm/ActivityInfo.java
index fa9142ca9449..5cca8fe5ec1e 100644
--- a/core/java/android/content/pm/ActivityInfo.java
+++ b/core/java/android/content/pm/ActivityInfo.java
@@ -17,6 +17,7 @@
package android.content.pm;
import android.annotation.IntDef;
+import android.annotation.SuppressLint;
import android.annotation.TestApi;
import android.app.compat.CompatChanges;
import android.compat.annotation.ChangeId;
@@ -1151,10 +1152,10 @@ public class ActivityInfo extends ComponentInfo implements Parcelable {
public WindowLayout windowLayout;
/**
- * Attribution tags for finer grained calls if a {@android.content.Context#sendBroadcast(Intent,
- * String)} is used with a permission.
- * @hide
+ * Attribution tags for finer grained calls if a {@link
+ * android.content.Context#sendBroadcast(Intent, String)} is used with a permission.
*/
+ @SuppressLint("MissingNullability")
public String[] attributionTags;
public ActivityInfo() {