public static void initAlbumArtCache() { try { int id = sService.getMediaMountedCount(); if (id != sArtCacheId) { clearAlbumArtCache(); sArtCacheId = id; } } catch (RemoteException e) { e.printStackTrace(); } }