From 92b81a3e4b793aa139c002c110dae4285240412f Mon Sep 17 00:00:00 2001 From: Selim Gurun Date: Tue, 21 Aug 2012 17:32:35 -0700 Subject: [PATCH] Fix onFindResultReceived API This is to fix open source bug 36509, i.e. http://code.google.com/p/android/issues/detail?id=36509 the parameters are swapped. Change-Id: I6245d254943c7c97e847a241d0069d85118763f7 --- core/java/android/webkit/WebView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index 436762d66caa7..82635d76f0284 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -310,15 +310,15 @@ public class WebView extends AbsoluteLayout /** * Notifies the listener about progress made by a find operation. * - * @param numberOfMatches how many matches have been found * @param activeMatchOrdinal the zero-based ordinal of the currently selected match + * @param numberOfMatches how many matches have been found * @param isDoneCounting whether the find operation has actually completed. The listener * may be notified multiple times while the * operation is underway, and the numberOfMatches * value should not be considered final unless * isDoneCounting is true. */ - public void onFindResultReceived(int numberOfMatches, int activeMatchOrdinal, + public void onFindResultReceived(int activeMatchOrdinal, int numberOfMatches, boolean isDoneCounting); }