From 68e6b5055b916f70ba81790603636168f444c6db Mon Sep 17 00:00:00 2001 From: Svet Ganov Date: Mon, 20 Apr 2015 08:28:30 -0700 Subject: DO NOT MERGE Don't take flags when creating app widget config activity. bug:19618745 Change-Id: I7973ebfc67ebf52f14890dda9eb891a7b8a5a095 --- core/java/android/appwidget/AppWidgetHost.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/java/android/appwidget/AppWidgetHost.java') diff --git a/core/java/android/appwidget/AppWidgetHost.java b/core/java/android/appwidget/AppWidgetHost.java index 8e86824..7eb4b2f 100644 --- a/core/java/android/appwidget/AppWidgetHost.java +++ b/core/java/android/appwidget/AppWidgetHost.java @@ -221,10 +221,10 @@ public class AppWidgetHost { int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) { try { IntentSender intentSender = sService.createAppWidgetConfigIntentSender( - mContextOpPackageName, appWidgetId, intentFlags); + mContextOpPackageName, appWidgetId); if (intentSender != null) { - activity.startIntentSenderForResult(intentSender, requestCode, null, 0, 0, 0, - options); + activity.startIntentSenderForResult(intentSender, requestCode, null, 0, + intentFlags, intentFlags, options); } else { throw new ActivityNotFoundException(); } -- cgit v1.1