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

Commit 0d149e6f authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Exposing the layout URI builder method, so that it can be used in tests

Bug: 286558846
Test: N/A
Flag: N/A
Change-Id: Ib39c0477bb977ac2eb3e484463bc3ea770dc4069
parent 735b18ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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")