Merge "Exposing the layout URI builder method, so that it can be used in tests" into udc-qpr-dev am: ef52e37e5f

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24083957

Change-Id: I305872007824607d3ea8aaf6228b409dc76af702
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2023-07-14 23:06:43 +00:00
committed by Automerger Merge Worker
@@ -466,7 +466,7 @@ public class ModelDbController {
() -> parser, AutoInstallsLayout.TAG_WORKSPACE);
}
private static Uri getLayoutUri(String authority, Context ctx) {
public static Uri getLayoutUri(String authority, Context ctx) {
InvariantDeviceProfile grid = LauncherAppState.getIDP(ctx);
return new Uri.Builder().scheme("content").authority(authority).path("launcher_layout")
.appendQueryParameter("version", "1")