aboutsummaryrefslogtreecommitdiff
path: root/en/devices/architecture/hidl
diff options
context:
space:
mode:
authorClay Murphy <claym@google.com>2018-08-15 01:15:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-15 01:15:13 +0000
commit080e50de3cb31822de0ba5b649e11924086b7817 (patch)
tree59d30bb760f8a421a134b30b0b3fe429b6918516 /en/devices/architecture/hidl
parentabcf037c51ed49ed1a33187b9329beadce22271a (diff)
parent1731f4ad91051c17b9c66913c56283c55751df41 (diff)
downloadsource.android.com-080e50de3cb31822de0ba5b649e11924086b7817.tar.gz
Merge "Docs: Changes to source.android.com"
Diffstat (limited to 'en/devices/architecture/hidl')
-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,