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

Commit 1c403eef authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak
Browse files

Remove PRODUCT_SERVICES from PackageManagerNative.getLocation.

It's not used in next android release and its causing issues
with cherry-picking to AOSP.

Bug: 120483623
Test: Flashed crosshatch, NNAPI cts tests
Change-Id: I651796b7f2a79b6236e01bf52d9a80927805f217
parent 5ee4a752
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -66,15 +66,12 @@ interface IPackageManagerNative {
    const int LOCATION_VENDOR = 0x2;
    /*  ApplicationInfo.isProduct() == true */
    const int LOCATION_PRODUCT = 0x4;
    /*  ApplicationInfo.isProductServices() == true */
    const int LOCATION_PRODUCT_SERVICES = 0x8;

    /**
     * Returns a set of bitflags about package location.
     * LOCATION_SYSTEM: getApplicationInfo(packageName).isSystemApp()
     * LOCATION_VENDOR: getApplicationInfo(packageName).isVendor()
     * LOCATION_PRODUCT: getApplicationInfo(packageName).isProduct()
     * LOCATION_PRODUCT_SERVICES: getApplicationInfo(packageName).isProductService()
     */
    int getLocationFlags(in @utf8InCpp String packageName);
}