Added device filtering on recommendation API (bug 1101896)