Automated import from //branches/master/...@142018,142018
This commit is contained in:
committed by
The Android Open Source Project
parent
232f15682d
commit
d4185fdddc
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user