Merge "Optimize AttributionSource tokens - base" into sc-dev am: 2b90cc827b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15247205 Change-Id: Id2435469fff42a22018a0d08370a987a76eb42b4
This commit is contained in:
@@ -3149,7 +3149,8 @@ class ContextImpl extends Context {
|
||||
// If we want to access protected data on behalf of another app we need to
|
||||
// tell the OS that we opt in to participate in the attribution chain.
|
||||
if (nextAttributionSource != null) {
|
||||
getSystemService(PermissionManager.class).registerAttributionSource(attributionSource);
|
||||
attributionSource = getSystemService(PermissionManager.class)
|
||||
.registerAttributionSource(attributionSource);
|
||||
}
|
||||
return attributionSource;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user