AnderWeb / android_packages_apps_Launcher

Android Launcher (almostNexus mod)
http://forum.xda-developers.com/showthread.php?t=645550
Other
321 stars 151 forks source link

Icons not loading on homescreens if app is on sdcard (Gingerbread) #67

Closed overbarg closed 13 years ago

overbarg commented 13 years ago

Not sure if this is the correct place, project (I notice that there is an ADWLauncher2), but here goes.

The symptom is that when booting the phone, the homescreen icons of apps that have been moved to the SDCard are the default android app icon.

I realize that this has been addressed before and that the previous issue was closed, however having looked through the latest standalone branch (and froyo branch), I can see no place where the code would be effective to fix this.

I have looked at commit https://github.com/AnderWeb/android_packages_apps_Launcher/commit/542e782dbf8583fde669c52d704acdab397991bf

which is where I thought the fix would be.

ADW isn't listening at all for android.intent.action.MEDIA_MOUNTED - so I'm not sure how it will know when to load icons for apps that are on the sdcard.

Having just helped to fix the same issue for k9mail in gingerbread - I think the paralellism that they introduced for Gingerbread changed the timing of the loads - i.e. it's much easier now for an application to start running without the sdcard having been mounted - I would be more than happy to help fix this as well - just need to know whether or not the issue has been fixed in which branch and what product.

overbarg commented 13 years ago

ok, This isn't specifically the mounting problem, it does have to do with shortcuts for actions that resolve to apps that are on external storage (i.e. a shortcut that is not ACTION_MAIN or a few other parameters). Anyone who wants a fix let me know.