void onManifestCheckDone() { boolean isUpdated = isManifestUpdated(); if (isUpdated) { writeManifest(); NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); Notification n = new Notification(R.drawable.icon, "Rom List Updated", System.currentTimeMillis()); n.flags |= Notification.FLAG_AUTO_CANCEL; PendingIntent i = PendingIntent.getActivity(this, 0, new Intent(this, RomKeeperActivity.class), 0); n.setLatestEventInfo(this, "RomKeeper", "Rom List Updated", i); nm.notify(1, n); } if (mCallback != null) { mCallback.onManifestCheckComplete(isUpdated); mCallback = null; } mFetcher = null; }