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

Commit 808809de authored by Brian Stack's avatar Brian Stack Committed by android-build-merger
Browse files

Add support for retrieving targetSdkVersion

am: 7aa40b64

Change-Id: Ie41ba25991ff5c3f2587d971a1e0434b84ccfcf2
parents 31746983 7aa40b64
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -74,4 +74,11 @@ interface IPackageManagerNative {
     * LOCATION_PRODUCT: getApplicationInfo(packageName).isProduct()
     */
    int getLocationFlags(in @utf8InCpp String packageName);

    /**
     * Returns the target SDK version for the given package.
     * Unknown packages will cause the call to fail. The caller must check the
     * returned Status before using the result of this function.
     */
    int getTargetSdkVersionForPackage(in String packageName);
}