| Index: base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
|
| diff --git a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
|
| index a119acb79f1167be4bc43d1ef8e446a509403c9d..39ac0c8accf27224d4b45f9767ebb7d8facdab70 100644
|
| --- a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
|
| +++ b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
|
| @@ -352,24 +352,6 @@ public class ApiCompatibilityUtils {
|
|
|
| /**
|
| * @see android.view.Window#setStatusBarColor(int color).
|
| - * TODO(ianwen): remove this method after downstream rolling.
|
| - */
|
| - public static void setStatusBarColor(Activity activity, int statusBarColor) {
|
| - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
| - // If both system bars are black, we can remove these from our layout,
|
| - // removing or shrinking the SurfaceFlinger overlay required for our views.
|
| - Window window = activity.getWindow();
|
| - if (statusBarColor == Color.BLACK && window.getNavigationBarColor() == Color.BLACK) {
|
| - window.clearFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
|
| - } else {
|
| - window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
|
| - }
|
| - window.setStatusBarColor(statusBarColor);
|
| - }
|
| - }
|
| -
|
| - /**
|
| - * @see android.view.Window#setStatusBarColor(int color).
|
| */
|
| public static void setStatusBarColor(Window window, int statusBarColor) {
|
| if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
|
|