[Android Apps and Games] jahlex:
Crash when long press on home button

Hi.

I have a problem that I don't understand with this app : when it is installed, the long press on home button to get the list of running apps is not working anymore, it makes sytem UI crash. If I uninstall the app, the long press works just as it is supposed to.

I am using a S3 and have the same problem with several Android 4.3 Sammy based ROM (IE Omega or Revolution HD).

Here is the logcat :

E/AndroidRuntime( 7587): FATAL EXCEPTION: main
E/AndroidRuntime( 7587): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.systemui/com.android.systemui.recent.RecentsActivity}: java.lang.ClassCastException: android.graphics.drawable.StateListDrawable cannot be cast to android.graphics.drawable.BitmapDrawable
E/AndroidRuntime( 7587):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2295)
E/AndroidRuntime( 7587):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349)
E/AndroidRuntime( 7587):	at android.app.ActivityThread.access$700(ActivityThread.java:159)
E/AndroidRuntime( 7587):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
E/AndroidRuntime( 7587):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7587):	at android.os.Looper.loop(Looper.java:176)
E/AndroidRuntime( 7587):	at android.app.ActivityThread.main(ActivityThread.java:5419)
E/AndroidRuntime( 7587):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7587):	at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 7587):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
E/AndroidRuntime( 7587):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
E/AndroidRuntime( 7587):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 7587): Caused by: java.lang.ClassCastException: android.graphics.drawable.StateListDrawable cannot be cast to android.graphics.drawable.BitmapDrawable
E/AndroidRuntime( 7587):	at com.android.systemui.recent.RecentsPanelView.replaceGoogleButtonTo3rdAppTextAndIcon(RecentsPanelView.java:1494)
E/AndroidRuntime( 7587):	at com.android.systemui.recent.RecentsPanelView.replaceGoogleButtonTextAndIcon(RecentsPanelView.java:1428)
E/AndroidRuntime( 7587):	at com.android.systemui.recent.RecentsPanelView.showImpl(RecentsPanelView.java:502)
E/AndroidRuntime( 7587):	at com.android.systemui.recent.RecentsPanelView.showIfReady(RecentsPanelView.java:448)
E/AndroidRuntime( 7587):	at com.android.systemui.recent.RecentsPanelView.show(RecentsPanelView.java:434)
E/AndroidRuntime( 7587):	at com.android.systemui.recent.RecentsActivity.handleIntent(RecentsActivity.java:302)
E/AndroidRuntime( 7587):	at com.android.systemui.recent.RecentsActivity.onCreate(RecentsActivity.java:257)
E/AndroidRuntime( 7587):	at android.app.Activity.performCreate(Activity.java:5372)
E/AndroidRuntime( 7587):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)
E/AndroidRuntime( 7587):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2257)
E/AndroidRuntime( 7587):	... 11 more

Can you please help me ?

EDIT

Solved doing this :