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

Commit b33ef403 authored by Willie Koomson's avatar Willie Koomson Committed by Android (Google) Code Review
Browse files

Merge "Return null from getWidgetPreview instead of throwing error" into main

parents b5ec6f7f 5f4efd3b
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -4025,8 +4025,9 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
                }
                }
            }
            }
        }
        }
        throw new IllegalArgumentException(
        // Either the provider does not exist or the caller does not have permission to access its
                providerComponent + " is not a valid AppWidget provider");
        // previews.
        return null;
    }
    }


    @Override
    @Override