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

Commit dddef157 authored by Michael Jurka's avatar Michael Jurka Committed by Android (Google) Code Review
Browse files

Merge "Fix bug: allow users to select "none" for lockscreen widget" into jb-mr1-dev

parents 220b06b1 74dffa1b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -593,9 +593,8 @@ public class SecuritySettings extends SettingsPreferenceFragment
                        // If we selected "none", delete the allocated id
                        AppWidgetHost.deleteAppWidgetIdForSystem(appWidgetId);
                        data.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, -1);
                    } else {
                        onActivityResult(REQUEST_CREATE_APPWIDGET, Activity.RESULT_OK, data);
                    }
                    onActivityResult(REQUEST_CREATE_APPWIDGET, Activity.RESULT_OK, data);
                }
            } else if (
                    requestCode == REQUEST_CREATE_APPWIDGET && resultCode == Activity.RESULT_OK) {