Do not crash appwdiget host when a pending intent send fails.

Change-Id: Id29ec50dcb4d51589b9732ace6d505fcea9cc787
This commit is contained in:
Romain Guy
2009-09-28 16:24:35 -07:00
parent 279ba94355
commit 995d8561a6

View File

@@ -143,7 +143,7 @@ public class RemoteViews implements Parcelable, Filter {
Intent.FLAG_ACTIVITY_NEW_TASK,
Intent.FLAG_ACTIVITY_NEW_TASK, 0);
} catch (IntentSender.SendIntentException e) {
throw new ActionException(e.toString());
android.util.Log.e(LOG_TAG, "Cannot send pending intent: ", e);
}
}
};