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: I98fda5751a7b1d2a6f3ad5b58682ad935fc30fa8
Merged-In: I98fda5751a7b1d2a6f3ad5b58682ad935fc30fa8
(cherry picked from commit e1f8449bde)
This commit is contained in:
Przemyslaw Szczepaniak
2019-04-04 13:55:55 +01:00
parent 36844cc4b8
commit b06b10177d

View File

@@ -23703,9 +23703,7 @@ public class PackageManagerService extends IPackageManager.Stub
}
return ((appInfo.isSystemApp() ? IPackageManagerNative.LOCATION_SYSTEM : 0)
| (appInfo.isVendor() ? IPackageManagerNative.LOCATION_VENDOR : 0)
| (appInfo.isProduct() ? IPackageManagerNative.LOCATION_PRODUCT : 0)
| (appInfo.isProductServices()
? IPackageManagerNative.LOCATION_PRODUCT_SERVICES : 0));
| (appInfo.isProduct() ? IPackageManagerNative.LOCATION_PRODUCT : 0));
}
}