title: Why does it say "deprecated" for a method when its the only one I can use for the selected API-level?
body: <p>In my Android manifest, it says this:</p>
  
  <pre><code>&lt;uses-sdk
      android:minSdkVersion="10"
      android:targetSdkVersion="16" /&gt;
  </code></pre>
  
  <p>but when I write this code, the getNotification at the end gets me warning saying that the method is "deprecated":</p>
  
  <pre><code>Notification myNotification = new Notification.Builder(appContext)
  .setContentTitle("SIC")
  .setContentText(tickerText)
  .setWhen(when)
  .setDefaults(Notification.DEFAULT_SOUND)
  .setAutoCancel(true)
  .setContentIntent(contentIntent)
  .getNotification(); // &lt;-- warning here
  </code></pre>
  
  <p>Now, the problem is that for API-level 10, which is the minimum I am developing for, getNotification is the only one there is to use. The newer method called "build()" is for API-level 16.</p>
  
  <p>So why am I getting the deprecated warning even though its the only one I can and should use? One might think that the warning/docs should adapt to the minSdkLevel, not the highets one...</p>