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

Commit faba558b authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Suppress MissingGetterMatchingBuilder warning

Bug: b/340874436
Flag: EXEMPT DOCS_ONLY
Test: presubmit
Change-Id: I803587d46b1cf57570716fa05b6d6eef07ef5a65
parent b649fc95
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -904,7 +904,11 @@ public final class RoutingSessionInfo implements Parcelable {
        // The UserHandleName warning suggests the name should be "doFooAsUser". But the UserHandle
        // parameter of this function is stored in a field, and not used to execute an operation on
        // a specific user.
        @SuppressWarnings("UserHandleName")
        // The MissingGetterMatchingBuilder requires a getTransferInitiator function. But said
        // getter is not included because the returned package name and user handle is always either
        // null or the values that correspond to the calling app, and that information is obtainable
        // via RoutingController#wasTransferInitiatedBySelf.
        @SuppressWarnings({"UserHandleName", "MissingGetterMatchingBuilder"})
        @NonNull
        @FlaggedApi(FLAG_ENABLE_BUILT_IN_SPEAKER_ROUTE_SUITABILITY_STATUSES)
        public Builder setTransferInitiator(