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

Commit 207d4e2b authored by Iliyan Malchev's avatar Iliyan Malchev Committed by android-build-merger
Browse files

Route GNSS HAL libbinder traffic to /dev/vndbinder am: 2dd67a43

am: bc640cb9

Change-Id: I10097a2adc65f66b4acef486d61e432eb0ce1af5
parents 4b3f7f13 bc640cb9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ LOCAL_SHARED_LIBRARIES := \
    libutils \
    libhardware_legacy \
    libhardware \
    libbinder \

LOCAL_SHARED_LIBRARIES += \
    libhidlbase \
+5 −0
Original line number Diff line number Diff line
@@ -4,9 +4,14 @@

#include <hidl/LegacySupport.h>

#include <binder/ProcessState.h>

using android::hardware::gnss::V1_0::IGnss;
using android::hardware::defaultPassthroughServiceImplementation;

int main() {
    // The GNSS HAL may communicate to other vendor components via
    // /dev/vndbinder
    android::ProcessState::initWithDriver("/dev/vndbinder");
    return defaultPassthroughServiceImplementation<IGnss>();
}