title: Android system killed my service when I clear all recent app
body: <p>I already using <code>startforeground()</code> at my <code>Service</code>, but Android keeps killing my <code>Service</code> when I clear all the recent apps.</p>
  
  <p>Here's the code of my Service:</p>
  
  <pre><code>@Override
  public int onStartCommand(Intent intent, int flags, int startId) {
  
      Notification notification = new NotificationCompat.Builder(this)
              .setContentTitle("Text")
              .setTicker("Text")
              .setContentText("Text")
              .setSmallIcon(R.drawable.icon)
              .setLargeIcon(BitmapFactory.decodeResource(getResources(), R.drawable.icon))
              .build();
  
      startForeground(100, notification);
  
      return START_STICKY;
  }
  </code></pre>
  
  <p>Is there something wrong I did with this code?</p>