Fix Intent API tests for android