Update HostEndpointInfo struct

Bug: 213474931
Test: Compile
Change-Id: Id0430303693c80e3085a0ca6db207fd030edaa8a
This commit is contained in:
Arthur Ishiguro
2022-01-06 20:07:19 +00:00
parent 0bd7594ce8
commit 45b002a809

View File

@@ -896,8 +896,8 @@ public class ContextHubClientBroker extends IContextHubClient.Stub
info.packageName = mPackage;
info.attributionTag = mAttributionTag;
info.type = (mUid == Process.SYSTEM_UID)
? HostEndpointInfo.Type.TYPE_FRAMEWORK
: HostEndpointInfo.Type.TYPE_APP;
? HostEndpointInfo.Type.FRAMEWORK
: HostEndpointInfo.Type.APP;
mContextHubProxy.onHostEndpointConnected(info);
}