Android new task problem
<p>I have two activities in my application.one of the activity started by service class ,so i have set the flag <strong>FLAG_ACTIVITY_NEW_TASK</strong> and start the activity.</p>

<p>in that activity i hide the status bar by using the following code .</p>

<blockquote>
  <p>getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN)</p>
</blockquote>

<p>The problem is some time the activity not hiding the statusbar.After doing several testing i found that the <strong>FLAG_ACTIVITY_NEW_TASK</strong> is creating problem.</p>

<p>how to solve this? </p>
