Skip to content
Snippets Groups Projects
Commit bac270a9 authored by Flavio Fiszman's avatar Flavio Fiszman Committed by Android (Google) Code Review
Browse files

Merge "Stop deleting app widget id because of crash."

parents f7cc14c1 5e42dc34
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ import android.app.PendingIntent;
import android.app.people.ConversationChannel;
import android.app.people.IPeopleManager;
import android.app.people.PeopleSpaceTile;
import android.appwidget.AppWidgetHost;
import android.appwidget.AppWidgetManager;
import android.content.Context;
import android.content.Intent;
......@@ -120,8 +119,7 @@ public class PeopleSpaceUtils {
e -> e.getValue().getId().equals(shortcutId)).findFirst();
if (!entry.isPresent() || shortcutId == null) {
if (DEBUG) Log.d(TAG, "Matching conversation not found for shortcut ID");
AppWidgetHost host = new AppWidgetHost(context, 0);
host.deleteAppWidgetId(appWidgetId);
//TODO: Delete app widget id when crash is fixed (b/175486868)
continue;
}
PeopleSpaceTile tile = entry.get().getValue();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment