Who assigns identifiers to the homescreen widget instances?

58 views Asked by At

Is the identifier (which is an Integer) given by the launcher or the Android framework? The reason I'm asking this is that so I know where to look (or file a bug-report if necessary.)

I have a few home screen widgets that I've been developing. Each of these have a settings-activity and store store their configuration data in individual preference files identified by INSTANCE_ID.xml. This works perfectly but this morning when I restarted my phone into safe mode and then rebooted it normally, none of the widgets worked because they were unable to open their XML preference files since the widgets all have new identifiers. This seems like incorrect behaviour to me. I'm using a custom launcher called Nova and I'm trying to figure out why this is happening?

0

There are 0 answers