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

Commit b32933c3 authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "Frameworks: Let GuardedBy accept multiple locks"

am: 940a9e95

Change-Id: Ic74f0c274873d4573bb2ae9a38e91d43df79280d
parents ec99ee19 940a9e95
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,10 +23,10 @@ import java.lang.annotation.Target;

/**
 * Annotation type used to mark a method or field that can only be accessed when
 * holding the referenced lock.
 * holding the referenced locks.
 */
@Target({ ElementType.FIELD, ElementType.METHOD })
@Retention(RetentionPolicy.CLASS)
public @interface GuardedBy {
    String value();
    String[] value();
}