Loading fastboot/device/fastboot_device.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -151,7 +151,8 @@ std::string FastbootDevice::GetCurrentSlot() { } } BootControlClient* FastbootDevice::boot1_1() const { BootControlClient* FastbootDevice::boot1_1() const { if (boot_control_hal_->GetVersion() >= android::hal::BootControlVersion::BOOTCTL_V1_1) { if (boot_control_hal_ && boot_control_hal_->GetVersion() >= android::hal::BootControlVersion::BOOTCTL_V1_1) { return boot_control_hal_.get(); return boot_control_hal_.get(); } } return nullptr; return nullptr; Loading Loading
fastboot/device/fastboot_device.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -151,7 +151,8 @@ std::string FastbootDevice::GetCurrentSlot() { } } BootControlClient* FastbootDevice::boot1_1() const { BootControlClient* FastbootDevice::boot1_1() const { if (boot_control_hal_->GetVersion() >= android::hal::BootControlVersion::BOOTCTL_V1_1) { if (boot_control_hal_ && boot_control_hal_->GetVersion() >= android::hal::BootControlVersion::BOOTCTL_V1_1) { return boot_control_hal_.get(); return boot_control_hal_.get(); } } return nullptr; return nullptr; Loading