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

Commit 55e59eb4 authored by Steven Thomas's avatar Steven Thomas Committed by android-build-merger
Browse files

Fix client creation failure in vr_hwc am: 14c461a4

am: 7f6d7b47

Change-Id: I2f997a5d06545bd0228dcca8a51d3d432900a8bd
parents a5f61831 7f6d7b47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -868,7 +868,7 @@ Return<void> VrHwc::createClient(createClient_cb hidl_cb) {

  Error status = Error::NONE;
  sp<VrComposerClient> client;
  if (client_ == nullptr) {
  if (!client_.promote().get()) {
    client = new VrComposerClient(*this);
  } else {
    ALOGE("Already have a client");