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

Commit 4e04695c authored by Sunny Goyal's avatar Sunny Goyal Committed by Android (Google) Code Review
Browse files

Merge "Giving proper workspace description when the launcher is not loaded."...

Merge "Giving proper workspace description when the launcher is not loaded." into ub-launcher3-burnaby-nyc
parents f47e5cea 850a9431
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -4476,7 +4476,11 @@ public class Workspace extends PagedView
            }
            nScreens--;
        }
        return String.format(getContext().getString(R.string.workspace_scroll_format),
        if (nScreens == 0) {
            // When the workspace is not loaded, we do not know how many screen will be bound.
            return getContext().getString(R.string.all_apps_home_button_label);
        }
        return getContext().getString(R.string.workspace_scroll_format,
                page + 1 - delta, nScreens);

    }