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

Commit 1843d887 authored by RD Babiera's avatar RD Babiera
Browse files

Update getComplianceWarnings() javadoc

getComplianceWarnings() currently uses the wrong @return constants.
Change to proper links using COMPLIANCE_WARNING_ interface.

Test: Presubmit, manual verification
Bug: 278895094
Change-Id: Ib4573bcce9accb0b3154e53a6bcbd7a7492673fc
parent 4a88a91a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -588,10 +588,10 @@ public final class UsbPortStatus implements Parcelable {
     * Returns non compliant reasons, if any, for the connected
     * charger/cable/accessory/USB port.
     *
     * @return array including {@link #NON_COMPLIANT_REASON_DEBUG_ACCESSORY},
     *         {@link #NON_COMPLIANT_REASON_BC12},
     *         {@link #NON_COMPLIANT_REASON_MISSING_RP},
     *         or {@link #NON_COMPLIANT_REASON_TYPEC}
     * @return array including {@link #COMPLIANCE_WARNING_OTHER},
     *         {@link #COMPLIANCE_WARNING_DEBUG_ACCESSORY},
     *         {@link #COMPLIANCE_WARNING_BC_1_2},
     *         or {@link #COMPLIANCE_WARNING_MISSING_RP}
     */
    @CheckResult
    @NonNull