tag | e7d585196b33ae09278daf6ec54a2c4d72959d52 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Dec 06 11:31:33 2018 -0800 |
object | a2e4a7f17d6bdc643b27173a1747ad75857f8eb6 |
Android Wear 8.0.0 Release 2 (OWDS.181106.001)
commit | a2e4a7f17d6bdc643b27173a1747ad75857f8eb6 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Mon Dec 03 09:21:32 2018 -0800 |
committer | Tyler Gunn <tgunn@google.com> | Tue Dec 04 14:22:02 2018 -0800 |
tree | d67849cb45657720715a3425be096974a09e0fcd | |
parent | dd1abf62139be12c342eee84a65497184411ef07 [diff] |
Change InCallTonePlayerTest to use mock MediaPlayer. This was causing flakes. Using a mock will prevent that. Unfortunately the startPlaying method on MediaPlayer is native, so had to abstract out access to MediaPlayer. Bug: 120289096 Bug: 120422950 Test: Ran unit tests. Merged-In: If5462ae23978238e948f8693c95813b0dc4a1850 Change-Id: If5462ae23978238e948f8693c95813b0dc4a1850