You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Annotations are part of methods identity in apilint, which causes apilint to not recognize when annotations are added or removed and instead causing apilint to think that the method has been removed giving a confusing error.
E.g. apilint gives this error:
Error: Method removed or incompatible change
in method public org.mozilla.geckoview.GeckoResult<org.mozilla.gecko.util.GeckoBundle> getSnapshots(boolean)
in public final class RuntimeTelemetry
in package org.mozilla.geckoview
at line 846
for this change
public final class RuntimeTelemetry {
- method public org.mozilla.geckoview.GeckoResult<org.mozilla.gecko.util.GeckoBundle> getSnapshots(boolean);
+ method @android.support.annotation.AnyThread public org.mozilla.geckoview.GeckoResult<org.mozilla.gecko.util.GeckoBundle> getSnapshots(boolean);
}
While really what we would want is "Annotation added" which should probably not be a compat issue.
The text was updated successfully, but these errors were encountered:
Annotations are part of methods identity in apilint, which causes apilint to not recognize when annotations are added or removed and instead causing apilint to think that the method has been removed giving a confusing error.
E.g. apilint gives this error:
for this change
While really what we would want is "Annotation added" which should probably not be a compat issue.
The text was updated successfully, but these errors were encountered: