Automated import from //branches/master/...@142018,142018

This commit is contained in:
Romain Guy
2009-03-24 21:22:28 -07:00
committed by The Android Open Source Project
parent 232f15682d
commit d4185fdddc
3 changed files with 23 additions and 2 deletions
@@ -22,6 +22,7 @@ import android.content.Intent;
import android.content.ContentResolver;
import android.database.Cursor;
import android.net.Uri;
import android.widget.Toast;
import java.net.URISyntaxException;
@@ -62,7 +63,11 @@ public class UninstallShortcutReceiver extends BroadcastReceiver {
c.close();
}
if (changed) cr.notifyChange(LauncherSettings.Favorites.CONTENT_URI, null);
if (changed) {
cr.notifyChange(LauncherSettings.Favorites.CONTENT_URI, null);
Toast.makeText(context, context.getString(R.string.shortcut_uninstalled, name),
Toast.LENGTH_SHORT).show();
}
}
}
}