Loading core/java/android/content/AttributionSource.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -152,6 +152,10 @@ public final class AttributionSource implements Parcelable { AttributionSource(@NonNull Parcel in) { AttributionSource(@NonNull Parcel in) { this(AttributionSourceState.CREATOR.createFromParcel(in)); this(AttributionSourceState.CREATOR.createFromParcel(in)); // Since we just unpacked this object as part of it transiting a Binder // call, this is the perfect time to enforce that its UID can be trusted enforceCallingUid(); } } /** @hide */ /** @hide */ Loading Loading
core/java/android/content/AttributionSource.java +4 −0 Original line number Original line Diff line number Diff line Loading @@ -152,6 +152,10 @@ public final class AttributionSource implements Parcelable { AttributionSource(@NonNull Parcel in) { AttributionSource(@NonNull Parcel in) { this(AttributionSourceState.CREATOR.createFromParcel(in)); this(AttributionSourceState.CREATOR.createFromParcel(in)); // Since we just unpacked this object as part of it transiting a Binder // call, this is the perfect time to enforce that its UID can be trusted enforceCallingUid(); } } /** @hide */ /** @hide */ Loading