-
Notifications
You must be signed in to change notification settings - Fork 9
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
Setting a song as ringtone crashes the app #5
Comments
Hi, Thank you for the report. WRITE_SETTINGS permission must be explicitly granted for the app since M. I will fix it in the next release. Thank you. dwi336 |
You are welcome.
You're doing a nice job
…On Sun, Mar 11, 2018, 21:46 dwi336 ***@***.***> wrote:
Hi,
Thank you for the report.
WRITE_SETTINGS permission must be explicitly granted for the app since M.
I will fix it in the next release.
Thank you.
dwi336
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AhrOEqkeF_oUWtOr_l5lGZYCkT4PH6Zjks5tdY0JgaJpZM4SlX1Y>
.
|
Changed
// Check since M whether has the write settings permission or not. In my tests it works. dwi336 |
Well the function didn't work on my phone android 7.0 and I just recently
upgraded to Oreo still same issue
…On Sun, Mar 11, 2018, 22:38 dwi336 ***@***.***> wrote:
Changed
https://github.com/dwi336/Eleven/blob/a1dd9d8d27079828840b830d8f3e133f8e8f227a/src/main/java/org/lineageos/eleven/utils/MusicUtils.java#L1203
// Check since M whether has the write settings permission or not.
boolean settingsCanWrite = true;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M){
settingsCanWrite = Settings.System.canWrite(context);
if (!settingsCanWrite) {
// If do not have write settings permission then open the Can modify
system settings panel.
Intent intent = new Intent(Settings.ACTION_MANAGE_WRITE_SETTINGS);
context.startActivity(intent);
}
}
if ( settingsCanWrite ) {
Settings.System.putString(resolver, Settings.System.RINGTONE,
uri.toString());
final String message = context.getString(R.string.set_as_ringtone,
cursor.getString(2));
Toast.makeText((Activity)context, message, Toast.LENGTH_SHORT).show();
}
In my tests it works.
dwi336
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AhrOEn9ZqRvcLP3OjSSf7ftdsDV8XI2Nks5tdZlygaJpZM4SlX1Y>
.
|
Okay.
…On Wed, Mar 14, 2018, 23:10 dwi336 ***@***.***> wrote:
Reopened #5 <#5>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AhrOEjLe9OOeG66hT1lAVDU1YYAk7Plfks5teZVcgaJpZM4SlX1Y>
.
|
I'm not a person per say.
I just reported the issue so you could work a fix.
Screenshots of what do you need
…On Wed, Mar 14, 2018, 23:44 dwi336 ***@***.***> wrote:
On physical devices I only use custom ROMs. So I tested the function with
Android emulator. Nougat for example:
[image: screenshot_1521067095]
<https://user-images.githubusercontent.com/30302193/37434875-6e130e50-27e1-11e8-8312-22da6d495d31.png>
[image: screenshot_1521067095]
<https://user-images.githubusercontent.com/30302193/37434896-7d14a88c-27e1-11e8-9328-a24c6c833b80.png>
Could you please post screenshots or logcat?
Thank you
dwi336
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AhrOEgOE59CixYeVHXIYzkCBi_SRZ-1xks5teZ07gaJpZM4SlX1Y>
.
|
|
Yes I did that.
I always allow permissions for all my apps
I recently upgraded to Android 8.0
And I'm still experiencing the bug
…On Thu, Mar 15, 2018, 00:07 dwi336 ***@***.***> wrote:
1. What happened, if you click on the pop up menu entry? Did the app
call up and switch to the system settings menu (activity)?
2. In the system settings menu, did you allow the app to modify the
system settings?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AhrOEjU1iYIhzhusGi9uFxjGdTV-xYTBks5teaLIgaJpZM4SlX1Y>
.
|
Hello, I'm writing this mail irrespective of my bug reports.
Recently I've been doing promotion for several open source projects. I'm a
huge fan of your app especially because it's the default music player on my
lineage 9s custom rom.
I'll love to do a visibility campaign of your project so that people who
don't have utilize custom roms where your app is present to know about it.
…On Thu, Mar 15, 2018, 00:11 Otunji Favour ***@***.***> wrote:
Yes I did that.
I always allow permissions for all my apps
I recently upgraded to Android 8.0
And I'm still experiencing the bug
On Thu, Mar 15, 2018, 00:07 dwi336 ***@***.***> wrote:
>
> 1. What happened, if you click on the pop up menu entry? Did the app
> call up and switch to the system settings menu (activity)?
> 2. In the system settings menu, did you allow the app to modify the
> system settings?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#5 (comment)>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AhrOEjU1iYIhzhusGi9uFxjGdTV-xYTBks5teaLIgaJpZM4SlX1Y>
> .
>
|
Hello, Thank for your praise, but I just building the upstream app from https://github.com/LineageOS/android_packages_apps_Eleven Nevertheless I am happy that someone else like the app. I will try to find more devices to adjust the bug on different stock roms. I am very sorry, but unfortunately this will take some time. dwi336 |
No qualms
…On Fri, Mar 16, 2018, 21:58 dwi336 ***@***.***> wrote:
Hello,
Thank for your praise, but I just building the upstream app from
https://github.com/LineageOS/android_packages_apps_Eleven
Nevertheless I am happy that someone else like the app. I will try to find
more devices to adjust the bug on different stock roms. I am very sorry,
but unfortunately this will take some time.
dwi336
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AhrOEmc-JDnbdRhVVUNd9phvWVM476QVks5tfCdugaJpZM4SlX1Y>
.
|
Expected behavior
I expected to be able to set a track as ringtone
Actual behavior
When I select a track to set as ringtone, the app crashes
How to reproduce
Recording Of The Bug
https://youtu.be/tu0mZtv-lqM
Posted on Utopian.io - Rewarding Open Source Contributors
The text was updated successfully, but these errors were encountered: