title: noHistory vs finish() - Which is preferred?
body: <p>I don't want my application to show few <code>Activity</code> (say <code>SplashScreenActivity</code>) when pressing <code>back</code> button. So I've used <code>noHistory=true</code> in my <code>Manifest.xml</code> for that <code>Activity</code> as show below:</p>
  
  <pre><code>&lt;activity
      android:name="com.gokul.SplashScreenActivity"
      android:noHistory="true" &gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p>Instead of setting <code>noHistory</code>, I can also call <code>finish()</code> in my <code>SplashActivity.onPause()</code> method or wherever I want, as shown below:</p>
  
  <pre><code>@Override
  protected void onPause() {
      super.onPause();
      finish();
  }
  </code></pre>
  
  <p>Both does the job perfectly. But which one is better to use, to use <code>noHistory</code> or call <code>finish()</code>?</p>