MobileFrontend: pick https://gerrit.wikimedia.org/r/171778

Change-Id: I8a2188055ff2267b974908f28e366da680ccf317