title: How to get window from a Service?
body: <p>I made a <code>View</code> without an <code>Activity</code> by using the <code>WindowManager</code>.</p>
  <p>I want to change the state of the view like below:</p>
  <pre><code>getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
  WindowManager.LayoutParams.FLAG_FULLSCREEN);
  
  getWindow().setFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN, WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
  </code></pre>
  <p>but I cannot use <code>getWindow()</code> in a <code>Service</code>.</p>
  <p>Is there a way to do this?</p>