Fix typo in HostEndpointInfo definition

Package name/attribution tag should be a single String.

Bug: 194287786
Test: Compile
Change-Id: I6747add3254eef9f7fd0a0b291ad374096979e11
This commit is contained in:
Arthur Ishiguro 2021-11-22 21:35:20 +00:00
parent c9f9a745ac
commit ed9e12378d
2 changed files with 4 additions and 4 deletions

View file

@ -36,8 +36,8 @@ package android.hardware.contexthub;
parcelable HostEndpointInfo {
char hostEndpointId;
android.hardware.contexthub.HostEndpointInfo.Type type;
@nullable String[] packageName;
@nullable String[] attributionTag;
@nullable String packageName;
@nullable String attributionTag;
@Backing(type="int") @VintfStability
enum Type {
TYPE_FRAMEWORK = 1,

View file

@ -28,10 +28,10 @@ parcelable HostEndpointInfo {
Type type;
/** The (optional) package name of the host. */
@nullable String[] packageName;
@nullable String packageName;
/** The (optional) attribution tag associated with this host. */
@nullable String[] attributionTag;
@nullable String attributionTag;
@VintfStability
@Backing(type="int")