Reland #53153 to attach to existing modules and apps for Android (#53289)

This commit is contained in:
xster
2020-03-25 16:45:49 -07:00
committed by GitHub
parent 72b0f6f544
commit 1376746237
16 changed files with 223 additions and 69 deletions

View File

@@ -60,7 +60,10 @@ class ChromeDevice extends Device {
DeviceLogReader _logReader;
@override
DeviceLogReader getLogReader({ApplicationPackage app}) {
DeviceLogReader getLogReader({
ApplicationPackage app,
bool includePastLogs = false,
}) {
return _logReader ??= NoOpDeviceLogReader(app?.name);
}
@@ -221,7 +224,10 @@ class WebServerDevice extends Device {
DeviceLogReader _logReader;
@override
DeviceLogReader getLogReader({ApplicationPackage app}) {
DeviceLogReader getLogReader({
ApplicationPackage app,
bool includePastLogs = false,
}) {
return _logReader ??= NoOpDeviceLogReader(app?.name);
}