Bug 1480813 - [1.0] Use non-animated setProgress method to avoid API level 24 dependency. r=snorp
authorEugen Sawin <esawin@mozilla.com>
Mon, 06 Aug 2018 18:48:39 +0200
changeset 485937 43fd4a3dbdc7bdc9e5bcc1a30e71ffee0d85545c
parent 485936 0e7fa66a761c242203eddb68a3f713ada4a1a8a5
child 485938 b0cdb1cc6d65a2e3c02aa6fe2ea84258121ecc04
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1480813
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1480813 - [1.0] Use non-animated setProgress method to avoid API level 24 dependency. r=snorp
mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java
--- a/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java
+++ b/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java
@@ -437,17 +437,17 @@ public class GeckoViewActivity extends A
                   " - page load stop");
             mTp.logCounters();
         }
 
         @Override
         public void onProgressChange(GeckoSession session, int progress) {
             Log.i(LOGTAG, "onProgressChange " + progress);
 
-            mProgressView.setProgress(progress, true);
+            mProgressView.setProgress(progress);
 
             if (progress > 0 && progress < 100) {
                 mProgressView.setVisibility(View.VISIBLE);
             } else {
                 mProgressView.setVisibility(View.GONE);
             }
         }