- When preference goes back from pause state, it doesn't call through onBindViewHolder, caused surface view doesn't attach to Mediaplayer. Call attachView in initAnimationController and set SurfaceView to MediaPlayer when onSurfaceTextureUpdated to fix the issue. Fixes: 143905693 Test: manual, robolectric Change-Id: I0eceead2e4c90ca176ef0f35937898f9b9be6232
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.