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

Wrong set as ringtone/notification/alarm functionality on filtered items #13

Open
xtonousou opened this issue Dec 27, 2017 · 1 comment

Comments

@xtonousou
Copy link
Owner

While searching, long click or hold an item and set it as notification for example. It takes the index of the category list and not the actual searched item.

@xtonousou xtonousou added the bug label Dec 27, 2017
@xtonousou xtonousou added this to the v.1.2.0 milestone Dec 27, 2017
@xtonousou xtonousou self-assigned this Dec 27, 2017
@xtonousou xtonousou changed the title Wrong set as ringtone/notification/alarm functionality on searched items, when searching Wrong set as ringtone/notification/alarm functionality on filtered items Dec 30, 2017
@xtonousou
Copy link
Owner Author

Possible Solution

Create a HashMap (Title - R.raw.category_some_file.mp3) in order to have a same global identifier. In addition, replace the ToneManager's logic with the logic of the HashMap. enum can also be used for better speed.

The context is to find a sound by title as quick as we can. So, a key-pair map should be OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant