+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Components within an application are often a good boundary for developers to declare "attribution" information, such as an Activity or Service used to offer a specific sub-feature. This change expands the "android:attributionTags" manifest attribute to apply to all component types, and it then automatically configures the associated Context with Context.createAttributionContext() with no additional developer action required. Developers can still manually use Context.createAttributionContext() to adjust the attribution tag again if desired. Bug: 187097694 Test: atest CtsAppOpsTestCases:AttributionTest Test: atest CtsAppTestCases:android.app.cts.AttributionTagsTest Change-Id: Ia16c66e7b63bcbfb8c0d7348e9b5d4adb2a1f45d