|
|
@ -1350,7 +1350,12 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements |
|
|
|
final int color = DrawableUtils.mixColor(interpolatedTime, mCurrentUiColor, finalColor); |
|
|
|
final int color = DrawableUtils.mixColor(interpolatedTime, mCurrentUiColor, finalColor); |
|
|
|
if (mShowTabsInDrawer) { |
|
|
|
if (mShowTabsInDrawer) { |
|
|
|
mBackground.setColor(color); |
|
|
|
mBackground.setColor(color); |
|
|
|
|
|
|
|
Handlers.MAIN.post(new Runnable() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void run() { |
|
|
|
window.setBackgroundDrawable(mBackground); |
|
|
|
window.setBackgroundDrawable(mBackground); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
} else if (tabBackground != null) { |
|
|
|
} else if (tabBackground != null) { |
|
|
|
tabBackground.setColorFilter(color, PorterDuff.Mode.SRC_IN); |
|
|
|
tabBackground.setColorFilter(color, PorterDuff.Mode.SRC_IN); |
|
|
|
} |
|
|
|
} |
|
|
|