title: Android 7.0 : Custom notification sound not working anymore
body: <p>So, my code was working perfectly 1 month ago. But now my custom sound does not play at all.</p>
  
  <p><strong>My device</strong> : Mi note 4</p>
  
  <p><strong>Android version</strong> 7.0 NRD90M</p>
  
  <p>I have spent entire day searching on the internet but could not find any working solution. Is there any update regarding my issue ?</p>
  
  <p><strong>Payload</strong></p>
  
  <pre><code>{body={"notification_type":"","booking_id":"","booking_no_text":"","guest_mobile":"","ride_date":"","guest_name":"","pickup_longitude":"","reporting_time":"","fyear":"","pickup_latitude":"","pickup_address":""}, icon=, sound=, title=Booking Notification}
  </code></pre>
  
  <p><strong>Notification builder</strong></p>
  
  <pre><code>final Intent service = new Intent(this, MessagingService.class);
              service.putExtra("msg", "New Trip Request");
              startService(service);
  
              NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this)
                      .setSmallIcon(R.drawable.ic_launcher)
                      .setContentTitle(title)
                      .setContentText(msg_content)
                      .setAutoCancel(true)
                      .setSound(sound)
                      .setVibrate(new long[]{500, 0000, 0000, 500, 000});
  
              if (android.os.Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.LOLLIPOP) {
                  mBuilder.setSmallIcon(R.drawable.ic_launcher);
                  mBuilder.setColor(ContextCompat.getColor(mContext,R.color.colorPrimary));
              } else {
                  mBuilder.setSmallIcon(R.drawable.ic_launcher);
              }
  
              NotificationManager mnNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
  
              if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O) {
                  String channelId = mContext.getString(R.string.default_notification_channel_id);
                  NotificationChannel channel = new NotificationChannel(channelId, title, NotificationManager.IMPORTANCE_DEFAULT);
                  mnNotificationManager.createNotificationChannel(channel);
                  mBuilder.setChannelId(channelId);
              }
  
              mnNotificationManager.notify(0, mBuilder.build());
  
              stopService(service);
  </code></pre>
  
  <p>Earlier the sound was playing perfectly. But suddenly it stopped working.</p>