Merge "Exposing the layout URI builder method, so that it can be used in tests" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ef52e37e5f
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user