News for hackers. Stuff that matters.
Re:Show HN: Open source music player in beta by libeclipse on Sunday December 04, 2016 @09:18AM (#13100053)
I'm slightly concerned at the permissions it requires. A music player should not ask for the power to make phone calls, and then refuse to work when it's denied.
Re:Show HN: Open source music player in beta by St_Alfonzo on Sunday December 04, 2016 @09:29AM (#13100085)
Same here, the music player asks for permission to make phone calls and record audio. Maybe I have a different understanding of a music 'player', or this is a bug in the android permissions list.
Re:Show HN: Open source music player in beta by bcook on Sunday December 04, 2016 @10:07AM (#13100167)
AFAIK, apps need this permission so that they can mute/stop when there is an incoming call.
Re:Show HN: Open source music player in beta by halflings on Sunday December 04, 2016 @12:19PM (#13100702)
No permission seems to be required to listen on a call being done:

https://developer.android.com/reference/android/telephony/Ph...

There's one permission (READ_PHONE_STATE) required for some other methods, but it is different from the permission to initiate a a phone call.

Re:Show HN: Open source music player in beta by bcook on Sunday December 04, 2016 @12:54PM (#13100877)
READ_PHONE_STATE is precisely what the app in question uses.

https://github.com/harjot-oberai/MusicStreamer/blob/master/a...

Re:Show HN: Open source music player in beta by ianlevesque on Sunday December 04, 2016 @12:58PM (#13100898)
This used to be correct, in Android 1/2.x. It no longer is, there is no compelling reason for it to need it now that there are audio focus APIs.
Re:Show HN: Open source music player in beta by libeclipse on Sunday December 04, 2016 @10:59AM (#13100331)
I don't recall any other media player I've used requiring it.
Re:Show HN: Open source music player in beta by bcook on Sunday December 04, 2016 @11:20AM (#13100418)
Did they pause when there was an incoming call?
Re:Show HN: Open source music player in beta by libeclipse on Sunday December 04, 2016 @11:22AM (#13100434)
Yes