Re:Android: I don't need your permission
by gabemart on Tuesday December 16, 2014 @09:00PM
(#8760691)
This simply doesn't work for pausing audio when the phone rings. The ringer doesn't request audio focus.
[ Parent
| on HN ]
Re:Android: I don't need your permission
by leni536 on Wednesday December 17, 2014 @03:34AM
(#8761584)
The ringer doesn't request audio focus.
I would think that this is a bug in the ringer and not an overall limitation of the Android permission system.
Which doesn't really help the users stuck on Android versions that never get any update or bugfixes. In which case apps have to take the pragmatic route and just work around the issue. Even if that requires a scary permission.
No user would point to Google and say »VLC doesn't pause when the phone rings, fix the ringer, please.«. Rather they point to VLC and say »VLC doesn't pause when the phone rings, fix VLC please.«
Re:Android: I don't need your permission
by tripzilch on Wednesday December 17, 2014 @06:44AM
(#8761945)
Would be nice if you could request "you're using an older version of Android so we need more scary permissions".
Re:Android: I don't need your permission
by krschultz on Wednesday December 17, 2014 @11:10AM
(#8762760)
You can.
Split your APK based on SDK version. Have different manifests with different permissions & code for the respective versions. The new Gradle toolchain makes all of that easy to do, but it is tough to maintain lots of version specific code long term.