MainActivity now logs resolution.