Backed out changeset ea215735bd48 (bug 1848008) for causing lint failures. CLOSED TREE

This commit is contained in:
Butkovits Atila 2023-08-10 20:21:38 +03:00
parent 7ede5d882a
commit b3caf29870
2 changed files with 4 additions and 4 deletions

View File

@ -979,8 +979,8 @@ package org.mozilla.geckoview {
method @UiThread public void releaseDisplay(@NonNull GeckoDisplay);
method @AnyThread public void reload();
method @AnyThread public void reload(int);
method @AnyThread @NonNull public GeckoResult<GeckoSession.ReviewAnalysis> requestAnalysis(@NonNull String);
method @AnyThread @NonNull public GeckoResult<List<GeckoSession.Recommendation>> requestRecommendations(@NonNull String);
method @NonNull @UiThread public GeckoResult<GeckoSession.ReviewAnalysis> requestAnalysis(@NonNull String);
method @NonNull @UiThread public GeckoResult<List<GeckoSession.Recommendation>> requestRecommendations(@NonNull String);
method @AnyThread public void restoreState(@NonNull GeckoSession.SessionState);
method @AnyThread @NonNull public GeckoResult<InputStream> saveAsPdf();
method @AnyThread public void setActive(boolean);

View File

@ -2907,7 +2907,7 @@ public class GeckoSession {
* @param url The URL of the product page.
* @return a {@link GeckoResult} result of review analysis object.
*/
@AnyThread
@UiThread
public @NonNull GeckoResult<ReviewAnalysis> requestAnalysis(@NonNull final String url) {
final GeckoBundle bundle = new GeckoBundle(1);
bundle.putString("url", url);
@ -2922,7 +2922,7 @@ public class GeckoSession {
* @param url The URL of the product page.
* @return a {@link GeckoResult} result of product recommendations.
*/
@AnyThread
@UiThread
public @NonNull GeckoResult<List<Recommendation>> requestRecommendations(
@NonNull final String url) {
final GeckoBundle bundle = new GeckoBundle(1);