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

Commit cf4bd05e authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "getTransport checks interface and instance names." am: 7f0300f1

am: 7719c1ad

Change-Id: I8fcb35bdd7325e9bcae169f03142499b2490dd19
parents fd0e1a9d 7719c1ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ static jobject JHwBinder_native_getService(
              << serviceName;

    ::android::vintf::Transport transport =
            ::android::hardware::getTransport(ifaceName);
            ::android::hardware::getTransport(ifaceName, serviceName);
    if (   transport != ::android::vintf::Transport::EMPTY
        && transport != ::android::vintf::Transport::HWBINDER) {
        LOG(ERROR) << "service " << ifaceName << " declares transport method "