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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java

Issue 2680723004: Android: Fix values to use standard type (Closed)
Patch Set: Created 3 years, 10 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 | « chrome/android/java/res/values/values.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java b/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java
index b490a8693809b0406b6855486053af7c4a862460..9f15f0e4de57c60a5070307c4d374c8ea5332aea 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ApplicationInitialization.java
@@ -35,10 +35,10 @@ public final class ApplicationInitialization {
if (commandLine.hasSwitch(ChromeSwitches.DISABLE_FULLSCREEN)) return;
TypedValue threshold = new TypedValue();
- resources.getValue(R.floats.top_controls_show_threshold, threshold, true);
+ resources.getValue(R.dimen.top_controls_show_threshold, threshold, true);
commandLine.appendSwitchWithValue(
ContentSwitches.TOP_CONTROLS_SHOW_THRESHOLD, threshold.coerceToString().toString());
- resources.getValue(R.floats.top_controls_hide_threshold, threshold, true);
+ resources.getValue(R.dimen.top_controls_hide_threshold, threshold, true);
commandLine.appendSwitchWithValue(
ContentSwitches.TOP_CONTROLS_HIDE_THRESHOLD, threshold.coerceToString().toString());
}
« no previous file with comments | « chrome/android/java/res/values/values.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698