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

Commit 5a095ea7 authored by Jiyong Park's avatar Jiyong Park
Browse files

ICameraServiceDefault is not available

<IfaceName>Default class was automatically generated, but a change in
the AIDL compiler is scheduled to generate the class only when the aidl
file is compiled with `-version` option, because the default class is
only useful for the versioned AIDL case.

Stop using ICameraServiceDefault since it will be removed. Instead use
ICameraService class instead.

Test: build
Change-Id: Ifa06e5580f62878d498d9773c81da910ee84acd1
parent 00fe64e7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@
#include <algorithm>

using namespace android;
using ::android::hardware::ICameraServiceDefault;
using ::android::hardware::ICameraService;
using ::android::hardware::camera2::ICameraDeviceUser;

#define ASSERT_NOT_NULL(x) \
@@ -507,7 +507,7 @@ TEST_F(CameraClientBinderTest, CheckBinderCameraDeviceUser) {
        bool queryStatus;
        res = device->isSessionConfigurationSupported(sessionConfiguration, &queryStatus);
        EXPECT_TRUE(res.isOk() ||
                (res.serviceSpecificErrorCode() == ICameraServiceDefault::ERROR_INVALID_OPERATION))
                (res.serviceSpecificErrorCode() == ICameraService::ERROR_INVALID_OPERATION))
                << res;
        if (res.isOk()) {
            EXPECT_TRUE(queryStatus);