Samsung ignores FLAG_REMOVE_SOUND_AND_VIBRATE when setting volume to 0

Hi everyone,

I change the device’s volume using setStreamVolume() from AudioManager. According to the Android Developer documentation:
:link: setStreamVolume() - Android Developers

One of the available flags is FLAG_REMOVE_SOUND_AND_VIBRATE, which, as stated in the documentation, should clear any queued or ongoing sounds and vibrations when changing the volume:
:link: FLAG_REMOVE_SOUND_AND_VIBRATE - Android Developers

Unfortunately, this flag does not work on Samsung devices, while it works correctly on others like Pixel and Xiaomi.

The problem:

When setting the ring volume to zero, Samsung devices still produce a buzz/vibration, which is frustrating for users—especially at night when the phone is on a bedside table.

My app automatically adjusts volumes using a scheduler, and this change often happens while the user is already asleep. On Samsung devices, the unwanted vibration wakes them up—not ideal!

Any solutions?

Has anyone found a way to properly suppress this vibration on Samsung devices?

Thanks in advance!

Hello @antonioromero0174,

Welcome to Samsung Developer Forum.

Could you please create a support ticket in the Samsung Developer Technical Support portal detailing the issue with a sample app and reproduction steps?

Best Regards,
Ahsan
Samsung Developer Relations