Pass device-user in machine mode (#107747)
This commit is contained in:
@@ -499,6 +499,7 @@ class AppDomain extends Domain {
|
||||
bool multidexEnabled = false,
|
||||
String? isolateFilter,
|
||||
bool machine = true,
|
||||
String? userIdentifier,
|
||||
}) async {
|
||||
if (!await device.supportsRuntimeMode(options.buildInfo.mode)) {
|
||||
throw Exception(
|
||||
@@ -517,6 +518,7 @@ class AppDomain extends Domain {
|
||||
target: target,
|
||||
buildInfo: options.buildInfo,
|
||||
platform: globals.platform,
|
||||
userIdentifier: userIdentifier,
|
||||
);
|
||||
|
||||
ResidentRunner runner;
|
||||
|
||||
@@ -605,6 +605,7 @@ class RunCommand extends RunCommandBase {
|
||||
dillOutputPath: stringArgDeprecated('output-dill'),
|
||||
ipv6: ipv6 ?? false,
|
||||
multidexEnabled: boolArgDeprecated('multidex'),
|
||||
userIdentifier: userIdentifier,
|
||||
);
|
||||
} on Exception catch (error) {
|
||||
throwToolExit(error.toString());
|
||||
|
||||
Reference in New Issue
Block a user