Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Meteor0id enhance ringing sounds #12390

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ public enum Type {
public OutgoingRinger(@NonNull Context context) {
this.context = context;
}

public void start(Type type) {
int soundId;

if (type == Type.RINGING) soundId = R.raw.redphone_outring;
else if (type == Type.BUSY) soundId = R.raw.redphone_busy;
if (type == Type.RINGING) soundId = R.raw.signal_call_outring;
else if (type == Type.BUSY) soundId = R.raw.signal_call_busy;
else throw new IllegalArgumentException("Not a valid sound type");

if( mediaPlayer != null ) {
Expand Down
Binary file removed app/src/main/res/raw/redphone_busy.mp3
Binary file not shown.
Binary file removed app/src/main/res/raw/redphone_outring.mp3
Binary file not shown.
Binary file added app/src/main/res/raw/signal_call_busy.mp3
Binary file not shown.
Binary file added app/src/main/res/raw/signal_call_outring.mp3
Binary file not shown.