[Xposed Framework Modules] v0rt3x:
Description

Fix Google Play Store 4.9.13 crash on Android Jelly Bean 4.1.2 on LG Optimus when tapping on the "hamburger" button at top left corner.

I've written this fix for my LG Optimus 4X HD (P880 aka X3) but it should work for any other Android phones from the LG Optimus series or even from any other brand and model that encounters that bug since the workaround is very simple and in principle safe.

Additional Information

When tapping on the "hamburger" button, the Google Play Store crashes with the following "OK" dialog box:

Unfortunately Google Play Store has stopped.

Here is the error visible using adb logcat *:W:

W/dalvikvm(15097): threadid=1: thread exiting with uncaught exception (group=0x4175d2a0)
E/AndroidRuntime(15097): FATAL EXCEPTION: main
E/AndroidRuntime(15097): java.lang.IllegalArgumentException: Invalid payload item type
E/AndroidRuntime(15097): at android.util.EventLog.writeEvent(Native Method)
E/AndroidRuntime(15097): at android.app.Activity.onMenuItemSelected(Activity.java:2716)
E/AndroidRuntime(15097): at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:373)
E/AndroidRuntime(15097): at com.google.android.finsky.activities.MainActivity.onMenuItemSelected(MainActivity.java:1129)
E/AndroidRuntime(15097): at com.android.internal.widget.ActionBarView$3.onClick(ActionBarView.java:172)
E/AndroidRuntime(15097): at android.view.View.performClick(View.java:4095)
E/AndroidRuntime(15097): at android.view.View$PerformClick.run(View.java:17078)
E/AndroidRuntime(15097): at android.os.Handler.handleCallback(Handler.java:615)
E/AndroidRuntime(15097): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(15097): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(15097): at android.app.ActivityThread.main(ActivityThread.java:4872)
E/AndroidRuntime(15097): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(15097): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(15097): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
E/AndroidRuntime(15097): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
E/AndroidRuntime(15097): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime(15097): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 415): Force finishing activity com.android.vending/.AssetBrowserActivity

Root Cause

The error is due to the resource that contains the menu item condensed title "Applis" which obviously includes some special characters that make the native method android.util.EventLog.writeEvent(int, java.lang.Object[]) to crash.

Resolution

This fix removes any potential special characters from any selected menu item condensed title before the call to android.app.Activity.onMenuItemSelected(int, android.view.MenuItem).

Download Page

Xposed module page

XDA:DevDB Information

LG Optimus Jelly Bean Play Store Fix , Xposed for the LG Optimus 4X HD

Contributors

v0rt3x

Xposed Package Name: vitkin.android.xposed.x3.jellybean.playstorefix

Version Information

Status: Stable

Current Stable Version: 1.0

Stable Release Date: 2014-08-18

Current Beta Version: 1.0-SNAPSHOT

Beta Release Date: 2014-08-18

Created 2014-08-19

Last Updated 2014-08-19