NanoAppFilter: Workaround HubId issues
There's no API to set mContextHubId, but testMatch() uses this. We can't add API at this point of the release cycle, so instead we default mContextHubId to HUB_ANY, which makes it always match. Bug:30018518 Change-Id: I4e08afc65889dc109a4da1bd99a027345da865ca
This commit is contained in:
@@ -43,7 +43,8 @@ public class NanoAppFilter {
|
||||
private long mAppIdVendorMask;
|
||||
|
||||
// Id of the context hub this instance is expected on
|
||||
private int mContextHubId;
|
||||
// TODO: Provide an API which will let us change this HubId.
|
||||
private int mContextHubId = HUB_ANY;
|
||||
|
||||
/**
|
||||
* Flag indicating any version. With this flag set, all versions shall match provided version.
|
||||
|
||||
Reference in New Issue
Block a user