element-hq / element-hq/element-android

Selection of Ringtone for incoming call limited by short "Alert Tones" or cut track if selected custom file

Open
#7,002 2 comments 3 reactions 0 assignees View on GitHub
O-Occasional S-Minor T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

In Android App:
Main Settings -> Notifications -> Configure Call Notifications -> Ringtone
On screenshot we will see ringtone select. But application suggests to select only from ALERT TONES (also if we will scroll down - that's all).
More over - if we will select custom file on device - incoming call sound track will be cut to 3-4 sec (without loop, looks like force cut to alert tone max length).
So, problem in some restrictions/filter when android api was used to select sound for incoming call, I think.

![scr](https://user-images.githubusercontent.com/24420926/188329159-63e6d60e-f88a-40a2-a7b3-9dfbe2806735.jpg)

### Outcome

I expect, that we must choose incoming call ringtone from system RINGTONES, not from ALERT TONES.
As example - call ringtone select on same phone for another app:

![scr2](https://user-images.githubusercontent.com/24420926/188329483-ee480602-dde1-4ba4-887e-95d9d470c11f.jpg)

So we can select ringtone from RINGTONES or from custom file (in this case sound track will be played fully).

### Your phone model

Realme GT NEO 2T

### Operating system version

Android 12

### Application version and app store

Element 1.4.34 [40104342](G-b10600) from Play Market

### Homeserver

matrix.org

### Will you send logs?

No

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.