Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92b81a3e authored by Selim Gurun's avatar Selim Gurun
Browse files

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
parent a6d16993
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
    }