google / mobly-bundled-snippets

Snippets to allow Mobly tests to control Android devices by exposing a simplified Android API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kotlin as an implementation language

yschimke opened this issue · comments

Will you accept PRs for new snippets in Kotlin? or just Java?

commented

As long as it can be used together with the existing code :)

But we are a bit strict in terms of what to add in this repo, because we don't want it to become a dump ground of each team's test logic like sl4a.

So I'd suggest making a quick proposal before sending PRs to make sure the addition is aligned with this repo's purpose, which is a thin layer on top of commonly used Android APIs.

Thinking about things like controlling a media session.

commented

There's a MediaSnippet today. Should be ok to add to it?

They seems like very different things, with different APIs, playing audio locally vs controlling a Media Session. But let's discuss with a PR. I'll raise an issue to track.

commented

Sounds good. Closing this one as the question is answered.