Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39070490 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

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
parent 4ecc9d2d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.