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

Commit d89566cb authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "hidl getService throw correct exceptions." am: 5d5ace5e

am: 197b62d3

Change-Id: I720e34630733e27734f050d6546be4df1a1948ab
parents fb46f6a0 197b62d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -370,7 +370,7 @@ static jobject JHwBinder_native_getService(
    if (transport != IServiceManager::Transport::HWBINDER && !vintfLegacy) {
        LOG(ERROR) << "service " << ifaceName << " declares transport method "
                   << toString(transport) << " but framework expects hwbinder.";
        signalExceptionForError(env, UNKNOWN_ERROR, true /* canThrowRemoteException */);
        signalExceptionForError(env, NAME_NOT_FOUND, true /* canThrowRemoteException */);
        return NULL;
    }