Loading framework/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,9 @@ java_sdk_library { "error_prone_android_framework", ], lint: { error_checks: [ "SupportAnnotationUsage", ], strict_updatability_linting: true, baseline_filename: "lint-baseline.xml", }, Loading framework/java/android/bluetooth/le/DistanceMeasurementMethod.java +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ public final class DistanceMeasurementMethod implements Parcelable { @FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING_25Q2_APIS) @Deprecated @SystemApi public @DistanceMeasurementMethodId double getId() { public double getId() { return mId; } Loading framework/lint-baseline.xml +0 −11 Original line number Diff line number Diff line Loading @@ -375,15 +375,4 @@ column="16"/> </issue> <issue id="SupportAnnotationUsage" message="This annotation does not apply for type double; expected int" errorLine1=" public @DistanceMeasurementMethodId double getId() {" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementMethod.java" line="97" column="12"/> </issue> </issues> Loading
framework/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,9 @@ java_sdk_library { "error_prone_android_framework", ], lint: { error_checks: [ "SupportAnnotationUsage", ], strict_updatability_linting: true, baseline_filename: "lint-baseline.xml", }, Loading
framework/java/android/bluetooth/le/DistanceMeasurementMethod.java +1 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ public final class DistanceMeasurementMethod implements Parcelable { @FlaggedApi(Flags.FLAG_CHANNEL_SOUNDING_25Q2_APIS) @Deprecated @SystemApi public @DistanceMeasurementMethodId double getId() { public double getId() { return mId; } Loading
framework/lint-baseline.xml +0 −11 Original line number Diff line number Diff line Loading @@ -375,15 +375,4 @@ column="16"/> </issue> <issue id="SupportAnnotationUsage" message="This annotation does not apply for type double; expected int" errorLine1=" public @DistanceMeasurementMethodId double getId() {" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="packages/modules/Bluetooth/framework/java/android/bluetooth/le/DistanceMeasurementMethod.java" line="97" column="12"/> </issue> </issues>