- private int handleProvisioningCommand(
- final ProvisioningCommand command,
- final File dataPath,
- final SignalServiceConfiguration serviceConfiguration
- ) {
- ProvisioningManager pm = new ProvisioningManager(dataPath, serviceConfiguration, BaseConfig.USER_AGENT);
- return command.handleCommand(ns, pm);
+ private void handleProvisioningCommand(
+ final ProvisioningCommand command, final File dataPath, final ServiceEnvironment serviceEnvironment
+ ) throws CommandException {
+ var pm = ProvisioningManager.init(dataPath, serviceEnvironment, BaseConfig.USER_AGENT);
+ command.handleCommand(ns, pm);