title: Enable Sound button in Notification Channel
body: <p>In <strong>MI Note 5 Pro</strong> which has latest <strong>MI UI 10.0 with Oreo</strong>, so when I try to send <strong>push notification</strong> by default <strong>sound</strong> is disable, so i am not able to <strong>enable sound</strong> programmatically when I am creating a <strong>channel</strong> for that.</p>
  <p>In other Oreo devices notification sound is coming but in MI custom Oreo OS Sound is by default disable</p>
  <p><em>Let me show my code for notification</em> :</p>
  <pre><code>    var intent = Intent(mContext, HomeActivity::class.java)
      intent.putExtra(Constants.EXTRA_FROM_NOTIFICATION, true)
      var pendingIntent = PendingIntent.getActivity(mContext, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT)
  
      var uri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION)
  
      var mBuilder = NotificationCompat.Builder(mContext, NOTIFICATION_CHANNEL_ID)
              .setContentTitle(mContext.getString(R.string.app_name))
              .setContentText(mFirstContactName + &quot; : &quot; + mListChatWindow[0].message)
              .setPriority(if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O) NotificationManager.IMPORTANCE_HIGH else Notification.PRIORITY_HIGH)
              .setContentIntent(pendingIntent)
              .setSound(uri)
              .setSmallIcon(R.drawable.ic_app_icon)
              .setColor(ContextCompat.getColor(mContext, R.color.colorPrimary))
              .setVibrate(longArrayOf(0, 100, 1000, 300))
              .setAutoCancel(true)
  
      if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O) {
          var channel = NotificationChannel(NOTIFICATION_CHANNEL_ID, &quot;NOTIFICATION_CHANNEL_NAME&quot;, NotificationManager.IMPORTANCE_HIGH)
          channel.description = &quot;NOTIFICATION_DESCRIPTION&quot;
          channel.lightColor = Color.LTGRAY
          channel.enableVibration(true)
          channel.lockscreenVisibility = Notification.VISIBILITY_PUBLIC
  
          val attributes = AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_NOTIFICATION).build()
          channel.setSound(uri, attributes)
          var notificationManager = mContext.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
          notificationManager.createNotificationChannel(channel)
      }
  
      var notificationManager = NotificationManagerCompat.from(mContext)
      notificationManager.notify(NOTIFICATION_CHAT_ID, mBuilder.build())
  </code></pre>
  <p>I am also set <strong>channel.setSound(uri, attributes)</strong> in cannel but sound not coming</p>
  <p>Here is the screenshot of Notification channel see there sound icon is disabled, how to enable?</p>
  <p>Plz help</p>
  <p><a href="https://i.stack.imgur.com/Zznsg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Zznsg.png" alt="enter image description here" /></a></p>