We're updating the issue view to help you get more done. 

Add support for remote ringing/vibrating

Description

Check if the stream is not silent

1 audioManager.getStreamVolume(AudioManager.STREAM_ALARM) != 0

play

1 2 mMediaPlayer.setAudioStreamType(AudioManager.STREAM_ALARM); mMediaPlayer.setLooping(true);

maybe even vibrate

1 mVibrator.vibrate(VIB_PATTERN, 0);

Needs android.permission.VIBRATE, so maybe the whole command "ring start" needs to be in a module-vibrate, or add an extra module-ring that makes use of module-vibrate.

Environment

None

Status

Assignee

Unassigned

Reporter

Florian Schmaus

Labels

None

Expected Effort

Medium

Priority

Minor