Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java

Issue 2742563003: customtabs: Respect delayToLaunchUrl even without delayToMayLaunchUrl. (Closed)
Patch Set: Respect delayToLaunchUrl even without delayToMayLaunchUrl. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java
diff --git a/tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java b/tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java
index 9c493b3d793beab476d2e78623263cbf6fd6af5f..a816e72c41955e3fffb50e9d38ca3e5aa1cbc664 100644
--- a/tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java
+++ b/tools/android/customtabs_benchmark/java/src/org/chromium/customtabs/test/MainActivity.java
@@ -357,7 +357,7 @@ public class MainActivity extends Activity implements View.OnClickListener {
if (delayToMayLaunchUrl != NONE) {
mHandler.postDelayed(mayLaunchRunnable, delayToMayLaunchUrl);
} else {
- launchRunnable.run();
+ mHandler.postDelayed(launchRunnable, delayToLaunchUrl);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698