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

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

Issue 1364043003: Move status bar color setting to ChromeActivity. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add javadoc Created 5 years, 3 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
Index: chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java
index 70f4eccffa1eb1efd4e9b008d307977f940cae4a..a9f69c35831005269b8e8302d4aadd1f1e547757 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java
@@ -790,11 +790,11 @@ public class DocumentActivity extends ChromeActivity {
updateTaskDescription(label, bitmap);
}
- protected void updateTaskDescription(String label, Bitmap icon) {
+ private void updateTaskDescription(String label, Bitmap icon) {
int color = mDefaultThemeColor;
if (getActivityTab() != null) color = getActivityTab().getThemeColor();
boolean useDefaultStatusBarColor = isIncognito() || color == mDefaultThemeColor;
- DocumentUtils.updateTaskDescription(this, label, icon, color, useDefaultStatusBarColor);
+ ApiCompatibilityUtils.setTaskDescription(this, label, icon, color);
}
/**

Powered by Google App Engine
This is Rietveld 408576698