mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Backed out changeset ea215735bd48 (bug 1848008) for causing lint failures. CLOSED TREE
This commit is contained in:
parent
7ede5d882a
commit
b3caf29870
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user