Reverting that patch allows CactusPlayer to build under KK, but fails to run on an "-eng" build for me with this error message:
E/AndroidRuntime( 3729): FATAL EXCEPTION: main
E/AndroidRuntime( 3729): Process: com.freescale.cactusplayer, PID: 3729
E/AndroidRuntime( 3729): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.freescale.cactusplayer/com.freescale.cactusplayer.VideoMenu}: java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_MOUNTED from pid=3729, uid=10047
This patch seems to fix things:
diff --git a/CactusPlayer/AndroidManifest.xml b/CactusPlayer/AndroidManifest.xml
index 92fa422..ca34f5f 100755
--- a/CactusPlayer/AndroidManifest.xml
+++ b/CactusPlayer/AndroidManifest.xml
@@ -63,5 +63,8 @@
</intent-filter>
</activity>
</application>
-
+ <receiver
+ android:name=".CustomReceiver"
+ android:exported="true" >
+ </receiver>
</manifest>
I got the clues from this post:
android - Permission Denial:broadcasting Intent is not exported - Stack Overflow