title: window.setStatusBarColor doesn't work?
body: <p>In onCreate I do this:</p>
  
  <pre><code>    this.setTheme(getTheme());
  
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.LOLLIPOP) {
          Window w = getWindow();
          w.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION, WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
          w.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS, WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
          w.setFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS , WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS );
  
          w.setStatusBarColor(Color.GREEN);
      }
  </code></pre>
  
  <p>What I want to achieve is after applying my usual theme I want to set the Status bar green. But that doesn't happen. The line is executed, but the color doesn't change. Anything I could be doing wrong here?</p>