String displayQuery = query.equals(DEFAULT_QUERY) ? "" : query;
List<InboxDisplayRecord> waveRecords = searcher.searchWaves(query,
page * RESULTS_PER_PAGE, RESULTS_PER_PAGE);
boolean embedded = "true".equals(req.getParameter("embedded"));
NoSkin.write(resp.getWriter(), new GxpContext(getLocale(req)),
"Walkaround", analyticsAccount,
InboxFragment.getGxpClosure(xsrfHelper.createToken(XSRF_ACTION), displayQuery,
embedded, embedded ? "wave" : "", waveRecords,
// Only show announcement if mobile.
RequestUtil.isMobile(req) ? announcementHtml() : null,