aboutsummaryrefslogtreecommitdiff
path: root/en/devices/architecture/hidl/services.html
diff options
context:
space:
mode:
Diffstat (limited to 'en/devices/architecture/hidl/services.html')
-rw-r--r--en/devices/architecture/hidl/services.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/en/devices/architecture/hidl/services.html b/en/devices/architecture/hidl/services.html
index 1d2deccb..c7ddd8f6 100644
--- a/en/devices/architecture/hidl/services.html
+++ b/en/devices/architecture/hidl/services.html
@@ -55,8 +55,8 @@ version, calling <code>getService</code> on the desired HAL class:</p>
sp&lt;V1_1::IFooService&gt; service = V1_1::IFooService::getService();
sp&lt;V1_1::IFooService&gt; alternateService = V1_1::IFooService::getService("another_foo_service");
// Java
-V1_1.IFooService; service = V1_1.IFooService.getService(true /* retry */);
-V1_1.IFooService; alternateService = V1_1.IFooService.getService("another", true /* retry */);
+V1_1.IFooService service = V1_1.IFooService.getService(true /* retry */);
+V1_1.IFooService alternateService = V1_1.IFooService.getService("another", true /* retry */);
</pre>
<p>Each version of a HIDL interface is treated as a separate interface. Thus,