Não consigo exibir notificação local

estou tentando exibir um notificação local no click de um botão, mas aparece essas messagens no logcat

12-26 16:17:57.496 12348-12348/com.example.rafaelprogramador.login W/Notification: Use of stream types is deprecated for operations other than volume control
12-26 16:17:57.496 12348-12348/com.example.rafaelprogramador.login W/Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case

esse é o código que estou usando, api 28

NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
                .setSmallIcon( R.drawable.ic_android_black_24dp )
                .setTicker( "Título ticker de teste" )
                .setContentTitle( "Título de teste" )
                .setContentText( "Texto de corpo - teste" )
                .setAutoCancel( true );

        int id = 1;

        NotificationManager notifyManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
        notifyManager.notify( id, builder.build() );

você conseguiu resolver isso