title: object not locked by thread before notify() in Foreground Service Notification
body: <p>From android O you cant create simple background service, it has to be foreground, so I followed a tutorial and built one, but, I got this error:</p>
  
  <pre><code>    Unable to start service ...SMSService@302fa17 with Intent 
  { cmp=...SMSService (has extras) }: java.lang.IllegalMonitorStateException: 
  object not locked by thread before notify()
  </code></pre>
  
  <p>I saw some other topics on this, but those are all for old Notifications</p>
  
  <p>Here is my code:</p>
  
  <pre><code>Intent notificationIntent = new Intent(this, MainActivity.class);
          PendingIntent mPendingIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
  
          Notification mNotification = new NotificationCompat.Builder(this, CHANNEL_ID)
                  .setContentTitle("Content Title")
                  .setContentText("Content Text")                                                                                 
                  .setSmallIcon(R.drawable.ic_check)
                  .setContentIntent(mPendingIntent)
                  .build();
  
              startForeground(1, mNotification);
              mNotification.notify();
  </code></pre>