Merge "Fix the getWidgetsByPackageItem method to return a copy" into main