} catch (IllegalStateException e) {
Timber.e("Unable to initialize torch.", e);
die(getString(R.string.error_camera_unavailable));
}
Timber.d("Registering with the event bus.");
<BUG>mBus.register(this);
Timber.d("Notifying subscribers of initial torch state.");
mBus.post(new TorchStateEvent(mTorch.isOn()));</BUG>
}
@Override

} catch (IllegalStateException e) {
Timber.e("Unable to initialize torch.", e);
die(getString(R.string.error_camera_unavailable));
}
Timber.d("Registering with the event bus.");
mBus.register(this);
updateUi(mTorch.isOn());
}
@Override
