Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a491a766 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add param null-check + error return"

parents 9df27381 ae2d58b1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -32,6 +32,9 @@ namespace dvr {
VrFlinger::VrFlinger() {}

int VrFlinger::Run(Hwc2::Composer* hidl) {
  if (!hidl)
    return EINVAL;

  std::shared_ptr<android::pdx::Service> service;

  ALOGI("Starting up VrFlinger...");