Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 001db4af authored by David Duarte's avatar David Duarte Committed by Gerrit Code Review
Browse files

Merge "framework: Run google-java-format" into main

parents 0088cb9b ee52b7e8
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -23,9 +23,9 @@ import android.content.AttributionSource;
import java.util.List;

/**
 * Marker interface for a class which can have an {@link AttributionSource}
 * assigned to it; these are typically {@link android.os.Parcelable} classes
 * which need to be updated after crossing Binder transaction boundaries.
 * Marker interface for a class which can have an {@link AttributionSource} assigned to it; these
 * are typically {@link android.os.Parcelable} classes which need to be updated after crossing
 * Binder transaction boundaries.
 *
 * @hide
 */
@@ -35,8 +35,7 @@ public interface Attributable {

    /** @hide */
    static @Nullable <T extends Attributable> T setAttributionSource(
            @Nullable T attributable,
            @NonNull AttributionSource attributionSource) {
            @Nullable T attributable, @NonNull AttributionSource attributionSource) {
        if (attributable != null) {
            attributable.setAttributionSource(attributionSource);
        }
@@ -45,8 +44,7 @@ public interface Attributable {

    /** @hide */
    static @Nullable <T extends Attributable> List<T> setAttributionSource(
            @Nullable List<T> attributableList,
            @NonNull AttributionSource attributionSource) {
            @Nullable List<T> attributableList, @NonNull AttributionSource attributionSource) {
        if (attributableList != null) {
            final int size = attributableList.size();
            for (int i = 0; i < size; i++) {
Loading