title: startForeground() does not show my Notification
body: <p>I am trying to make my <code>Service</code> running in foreground. I tried to use <a href="https://developer.android.com/guide/components/services" rel="noreferrer">this example</a> (please look for the section "<em>Running a Service in the Foreground</em>"), but <code>startForeground()</code> does not actually show my notification. And no exceptions is thrown. To make it shown, I need to use <code>NotificationManager</code> like <a href="https://developer.android.com/guide/topics/ui/notifiers/notifications" rel="noreferrer">here</a> explained. With <code>NotificationManager</code> my notification works, but i'm not sure that my <code>Service</code> is foreground after this "silent" call to <code>startForeground()</code>.</p>
  
  <p>What can be wrong?</p>
  
  <p><strong>EDIT</strong>: I just tested <a href="https://github.com/commonsguy/cw-android/tree/master/Notifications/FakePlayer" rel="noreferrer">this sample project</a> that should demonstrate <code>startForeground()</code>, but it does not work! I use API v7.0, I tested it both on emulator and real device (SE Xperia Neo). Notification does not appear.</p>
  
  <p><strong>EDIT2</strong>: if i try to call <code>setForeground()</code> then i got a warning <code>setForeground: ignoring old API call</code>.</p>
  
  <p>I also tried to use <code>startForegroundCompat()</code> as described <a href="https://developer.android.com/samples/" rel="noreferrer">here</a>, but effect is absolutelly the same. I check if my service is foreground using <code>ActivityManager.RunningServiceInfo</code> as described <a href="https://stackoverflow.com/questions/6452466/how-to-determine-if-an-android-service-is-running-in-the-foreground">here</a>, and I see that my service is <strong>not</strong> foreground.</p>