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

Commit 0e761b8c authored by Andres Morales's avatar Andres Morales Committed by Android Git Automerger
Browse files

am 07f0aef8: am a5c8358a: am 787c3764: Merge "[gatekeeperd] fix use of...

am 07f0aef8: am a5c8358a: am 787c3764: Merge "[gatekeeperd] fix use of uninitialized memory" into mnc-dev

* commit '07f0aef8':
  [gatekeeperd] fix use of uninitialized memory
parents 5767a723 07f0aef8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -50,6 +50,8 @@ class GateKeeperProxy : public BnGateKeeperService {
public:
    GateKeeperProxy() {
        int ret = hw_get_module_by_class(GATEKEEPER_HARDWARE_MODULE_ID, NULL, &module);
        device = NULL;

        if (ret < 0) {
            ALOGW("falling back to software GateKeeper");
            soft_device.reset(new SoftGateKeeperDevice());