OSDN Git Service

Make the icon caching for SD cards actually work.
authorJoe Onorato <joeo@google.com>
Wed, 9 Feb 2011 01:26:11 +0000 (17:26 -0800)
committerJoe Onorato <joeo@google.com>
Thu, 10 Feb 2011 19:41:57 +0000 (11:41 -0800)
commit17a8922e2ab2ad599df3750d398a095473ccd1b4
tree41edae60e7878803880c832fe8937e7fa7712199
parent43e21ac570286cc647ae2458c1a4e640882affcb
Make the icon caching for SD cards actually work.

We need to save the icon *after* we have loaded all the other information about it.

Also, add a check that if apps on SD aren't possible, don't even bother saving the icon.  This saves
~200 ms on each run of the loader.

Bug: 3240615
Change-Id: Idc2329a868ab970b51deec341ffa8a47a344e110
src/com/android/launcher2/LauncherModel.java