I’m having a problem creating widgets.

I’m having a problem creating widgets. I’m currently on stable, but this occurred on earlier alpha, also. It’s actually WHY I switched back to stable. I receive an error, “Unfortunately Settings has Stopped.”

In logcat, (link below), it appears to be a java error, but I’m not sure if it’s LL or my ROM (MM-based Resurrection Remix).

It seems to go away after a clean flash of the ROM, but then comes back within a few days of use (and LL tweaking).

Also of note: the problem is specific to LL. I do not have any problem creating widgets in Trebuchet (stock Cyanogen launcher) or Nova.

Update: I’ve also tried changing back to (the latest, now) alpha, and the problem persists in LL.

Any guidance/insight would be GREATLY appreciated.

—–

Logcat: https://www.dropbox.com/s/7yfqy6e24v3c2ok/2016-09-15-23-14-52.txt?dl=0

https://www.dropbox.com/s/7yfqy6e24v3c2ok/2016-09-15-23-14-52.txt?dl=0
]]>

6 Commentsto I’m having a problem creating widgets.

  1. Anonymous says:

    < ![CDATA[

    Why the Settings app is crashing, I can’t tell, this is an issue with the ROM. But I can explain why it crashes when using Lightning Launcher.


    In order to display the list of widgets Lightning uses a public API. This public API is implemented by the Settings app (don’t know why), and unfortunately the Settings app is broken on some firmwares. Other launchers simply don’t use the public API and have re-implemented their own private widget picker, and hence doesn’t trigger the crash in Lightning.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Pierre Hébert​, thank you for clearing this up for me. The last official build of the ROM must be the culprit, then, as this is a relatively new issue. I will pursue the matter on that end.



    I understand what an API is…but not (specifically) how it works. Is there a name or address to this API, which I can share with the ROM dev, to help them troubleshoot?

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Yes, here are the infos that could help to fix the bug:



    In your log file, the error info start at line 7900 and stop at 7943. It is a stack trace that can be used to understand the issue in the settings app.



    Additionally, the Settings app is launched because Lightning starts an activity for result using this code:


    Intent pickIntent = new Intent(AppWidgetManager.ACTION_APPWIDGET_PICK);


    pickIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAllocatedAppWidgetId);


    ArrayList customInfo = new ArrayList(); pickIntent.putParcelableArrayListExtra(AppWidgetManager.EXTRA_CUSTOM_INFO, customInfo);


    ArrayList customExtras = new ArrayList();


    pickIntent.putParcelableArrayListExtra(AppWidgetManager.EXTRA_CUSTOM_EXTRAS, customExtras);



    By looking at the error lines, I think it might be possible that the issue is linked with theming. Not sure at all about that.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Pierre Hébert thank you SO much. You’ve gone above and beyond the call of duty, here.



    It wouldn’t surprise me, if it is theming, as Resurrection Remix has quite a few built-in theming elements.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    No problem, but again I’ve seen this on other firmwares, so that’s not necessarily a bug from RR customizations.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Pierre Hébert​, it may not be, but it has only occurred since the 2016-08-29 build was released, and not on prior builds.



    I hope it’s fixable, as I REALLY love both RR & LL.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *