Adding a mock for MSDLPlayerWrapper to DeleteDropTargetTest.
The mock makes sure we don't rely on a device hardware for tests. Test: DeleteDropTargetTest Flag: com.android.launcher3.msdl_feedback Bug: 379958544 Change-Id: I202b81f3dd16af1c0985980d0b962be0000bf31f
This commit is contained in:
@@ -69,6 +69,7 @@ public class MSDLPlayerWrapper {
|
||||
|
||||
/** Print the latest history of MSDL tokens played */
|
||||
public void dump(String prefix, PrintWriter writer) {
|
||||
writer.println(prefix + mMSDLPlayer.toString());
|
||||
writer.println(prefix + "MSDLPlayerWrapper history of latest events:");
|
||||
List<MSDLEvent> events = getHistory();
|
||||
for (MSDLEvent event: events) {
|
||||
|
||||
Reference in New Issue
Block a user