Merge "Moving some recents logic into the shared lib."