GMD: 屏蔽单个app改回default时,程序崩溃的Logcat

——— beginning of main

06-13 23:28:21.042 819 24706 D NetlinkSocketObserver: NeighborEvent{elapsedMs=3647330183, 192.168.137.1, [488AD21337DB], RTM_NEWNEIGH, NUD_STALE}

06-13 23:28:25.168 3566 3566 D AndroidRuntime: Shutting down VM

——— beginning of crash

06-13 23:28:25.181 3566 3566 E AndroidRuntime: FATAL EXCEPTION: main

06-13 23:28:25.181 3566 3566 E AndroidRuntime: Process: com.goodmooddroid.gesturecontrol, PID: 3566

06-13 23:28:25.181 3566 3566 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method ‘com.gmd.gc.launch.LaunchTypeEnum com.gmd.gc.launch.Launch.getType()’ on a null object reference

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at com.gmd.gc.gesture.CustomGesture.setPerAppAction(CustomGesture.java:1069)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at com.gmd.gc.gesture.ui.PerAppGestureActionFragment$1$1.onAddLaunchResult(PerAppGestureActionFragment.java:122)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at com.gmd.gc.launch.AddLaunchDialogFragment.onAddLaunchResult(AddLaunchDialogFragment.java:158)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at com.gmd.gc.launch.AddLaunchArrayAdapter.onItemClick(AddLaunchArrayAdapter.java:80)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at com.gmd.gc.launch.AddLaunchDialogFragment$1.onItemClick(AddLaunchDialogFragment.java:124)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at android.widget.AdapterView.performItemClick(AdapterView.java:310)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at android.widget.AbsListView.performItemClick(AbsListView.java:1145)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at android.widget.AbsListView$PerformClick.run(AbsListView.java:3066)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at android.widget.AbsListView$3.run(AbsListView.java:3903)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

06-13 23:28:25.181 3566 3566 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)

——— beginning of system

06-13 23:28:25.188 819 1280 W ActivityManager: Force finishing activity com.goodmooddroid.gesturecontrol/com.gmd.gc.view.GestureActivity

06-13 23:28:25.290 32329 5593 D DropBoxEntryAddedChimeraService: User is not opted-in to Usage & Diagnostics.

06-13 23:28:25.300 819 6861 I OpenGLRenderer: Initialized EGL, version 1.4

06-13 23:28:25.403 819 828 I art : Background partial concurrent mark sweep GC freed 58535(2MB) AllocSpace objects, 2(40KB) LOS objects, 22% free, 54MB/70MB, paused 1.998ms total 194.744ms

06-13 23:28:25.722 819 836 W ActivityManager: Activity pause timeout for ActivityRecord{7487738 u0 com.goodmooddroid.gesturecontrol/com.gmd.gc.view.GestureActivity t4387 f}

06-13 23:28:25.734 819 567 W ActivityManager: Bad activity token: android.os.BinderProxy@5183f2b

06-13 23:28:25.734 819 567 W ActivityManager: java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

06-13 23:28:25.734 819 567 W ActivityManager: at com.android.server.am.ActivityRecord.forTokenLocked(ActivityRecord.java:424)

06-13 23:28:25.734 819 567 W ActivityManager: at com.android.server.am.ActivityRecord.isInStackLocked(ActivityRecord.java:1121)

06-13 23:28:25.734 819 567 W ActivityManager: at com.android.server.am.ActivityManagerService.getActivityOptions(ActivityManagerService.java:11104)

06-13 23:28:25.734 819 567 W ActivityManager: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1734)

06-13 23:28:25.734 819 567 W ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2483)

06-13 23:28:25.734 819 567 W ActivityManager: at android.os.Binder.execTransact(Binder.java:453)

06-13 23:28:26.287 12149 24853 D MSF.C.NetConnTag: netRecv ssoSeq:-1060493467 uin:*1999 cmd:-316037937 -1060493142

06-13 23:28:26.296 26509 26551 D Q.msg.TroopMsgProxy: insertToList MessageRecord=friendUin:2181senderuin:6031,istroop:1,msgType:-1000,time:1465831706,shmsgseq:207246

06-13 23:28:28.834 12149 12228 D MSF.C.NetConnTag: pa ok: 61375

06-13 23:28:28.834 12149 12228 D MSF.C.NetConnTag: netSend ssoSeq:61375 uin:*1999 cmd:-2080616503 61600

06-13 23:28:28.919 12149 24853 D MSF.C.NetConnTag: netRecv ssoSeq:61375 uin:*1999 cmd:-2080616503 66036