Closed YAJATapps closed 7 years ago
You have to set package name in edit text, show me screenshot of your dialog.
N.B Shortcuts added by dialog isn't persistent, so if you restart launcher they disappear!
I add link from opera like this
It appeared on launcher
When I long clicked it crashed (unfortunately ... Stopped)
They don't disappear on restart or crash. That log is of that crash only
When it is clicked it is OK opening right page problem is in long click only
Maybe the shortcuts has brick..you must uninstall the launcher to reset preference...
Tried that uninstalling reinstalling clearing data Still crashing on long clicking. I think It is problem with shortcut manager. Because when I am long clicking any other thing it is not crashing . and when I moved that shortcut to a folder then it not crashed on long click so it does not crash in folder because shortcuts are not opened in folder.
Fixed! next update 0.1.0 Alpha 50
When I add a shortcut from opera to home screen and longclick on that shortcut the launcher crashes.
This is log of crash java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.ComponentName.getPackageName()' on a null object reference 03-30 20:55:58.864 E/AndroidRuntime( 7157): at com.android.launcher3.util.ShortcutsManager.getShortcutsBasedOnTag(ShortcutsManager.java:47) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at com.android.launcher3.Launcher.onLongClick(Launcher.java:3290) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at android.view.View.performLongClick(View.java:5243) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at android.widget.TextView.performLongClick(TextView.java:9225) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at com.android.launcher3.CheckLongPressHelper$CheckForLongPress.run(CheckLongPressHelper.java:41) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at android.os.Handler.handleCallback(Handler.java:739) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at android.os.Handler.dispatchMessage(Handler.java:95) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at android.os.Looper.loop(Looper.java:148) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at android.app.ActivityThread.main(ActivityThread.java:5471) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at java.lang.reflect.Method.invoke(Native Method) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 03-30 20:55:58.864 E/AndroidRuntime( 7157): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)