[Android Software/Hacking General [Developers Only]] notriddle:
I'm writing a music player with support for the equalizer in Android 3.0 and later. I've tested it on several devices, and it works.

However, I'm getting crash reports that look like this:

java.lang.SecurityException: Permission Denial: starting Intent {
act=android.media.action.DISPLAY_AUDIO_EFFECT_CONTROL_PANEL
cmp=com.sonyericsson.music/.equalizer.EqualizerActivity (has extras) }
from ProcessRecord{408ad5e0 2932:com.myskyspark.music/10114} (pid=2932,
uid=10114) requires null
at android.os.Parcel.readException(Parcel.java:1322)
at android.os.Parcel.readException(Parcel.java:1276)
at
android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1351)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1374)
at android.app.Activity.startActivityForResult(Activity.java:2827)
at
com.myskyspark.music.OpenActivity.onOptionsItemSelected(OpenActivity.java:864)
at android.app.Activity.onMenuItemSelected(Activity.java:2205)
at
com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:748)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:143)
at
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)
at
com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:532)
at
com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122)
at android.view.View$PerformClick.run(View.java:9210)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3701)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
at dalvik.system.NativeStart.main(Native Method)

And this (basically identical, only com.TEST.android.lvh instead of com.sonyericsson.music):

java.lang.SecurityException: Permission Denial: starting Intent {
act=android.media.action.DISPLAY_AUDIO_EFFECT_CONTROL_PANEL
cmp=com.TEST.android.lvh/.activity.Manager (has extras) } from
ProcessRecord{409cba50 17260:com.myskyspark.music/10075} (pid=17260,
uid=10075) requires null
at android.os.Parcel.readException(Parcel.java:1322)
at android.os.Parcel.readException(Parcel.java:1276)
at
android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1351)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1374)
at android.app.Activity.startActivityForResult(Activity.java:2827)
at
com.myskyspark.music.OpenActivity.onOptionsItemSelected(OpenActivity.java:864)
at android.app.Activity.onMenuItemSelected(Activity.java:2205)
at
com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:758)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:143)
at
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)
at
com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:532)
at
com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122)
at android.view.View$PerformClick.run(View.java:9080)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)

Any ideas? Looks like the same problem as this one in Spotify, but the thread was never resolved. SecurityException means I didn't declare some permission it wanted, but "requires null"?

And source code is attached (warning: it may cause the more talented devs here to cry; I'm still learning).