running in release mode
when click on widget, add, on my widget icon
the app crashes
FATAL EXCEPTION: main
java.lang.NullPointerException
at com.sec.android.app.twlauncher.Workspace.updateDragInfo(Workspace.java:2525)
at com.sec.android.app.twlauncher.AddWidgetDialog$2.onLongClick(AddWidgetDialog.java:657)
at android.view.View.performLongClick(View.java:2556)
at android.view.View$CheckForLongPress.run(View.java:9128)
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:3691)
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:907)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
at dalvik.system.NativeStart.main(Native Method)
Force finishing activity com.sec.android.app.twlauncher/.Launcher
My code very simple, meaning nothing different from the example
only panel with image
tried everything nothing works, while the widget example is working fine
when click on widget, add, on my widget icon
the app crashes
FATAL EXCEPTION: main
java.lang.NullPointerException
at com.sec.android.app.twlauncher.Workspace.updateDragInfo(Workspace.java:2525)
at com.sec.android.app.twlauncher.AddWidgetDialog$2.onLongClick(AddWidgetDialog.java:657)
at android.view.View.performLongClick(View.java:2556)
at android.view.View$CheckForLongPress.run(View.java:9128)
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:3691)
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:907)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
at dalvik.system.NativeStart.main(Native Method)
Force finishing activity com.sec.android.app.twlauncher/.Launcher
My code very simple, meaning nothing different from the example
only panel with image
tried everything nothing works, while the widget example is working fine