Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0129b13 authored by Adam Cohen's avatar Adam Cohen
Browse files

Fix bug where cancelling config activity leaves user stuck in bad state

Change-Id: I774cc6e46006f623c97812c85023b228128430fe
parent cae7f573
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -741,7 +741,7 @@ public class Launcher extends Activity
                    data.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1) : -1;
            final int result;
            final Runnable onComplete;
            if (appWidgetId < 0) {
            if (appWidgetId < 0 || resultCode == RESULT_CANCELED) {
                Log.e(TAG, "Error: appWidgetId (EXTRA_APPWIDGET_ID) was not returned from the \\" +
                        "widget configuration activity.");
                result = RESULT_CANCELED;