title: which is better add flag or set flag regard full screen and screen on
body: <p>I wonder which is better in <strong>performance</strong> and <strong>behavior</strong> between the following ways in achieving:</p>
  
  <ol>
  <li><p>Full Screen.</p></li>
  <li><p>Screen On.</p></li>
  </ol>
  
  <p>or both is the same </p>
  
  <p>First:</p>
  
  <pre><code>getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
  
  getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
              WindowManager.LayoutParams.FLAG_FULLSCREEN); 
  </code></pre>
  
  <p>OR </p>
  
  <pre><code>getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN |
  WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
  </code></pre>
  
  <p>MAYBE this is easy question but I'm still learning android development,</p>
  
  <p>Any help will be appreciated,</p>
  
  <p>Thanks.</p>