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

Commit 019f359d authored by Yu-Chi Cheng's avatar Yu-Chi Cheng Committed by Android (Google) Code Review
Browse files

Merge "Added hasSha256SigningCertificate to the PackageManager aidl Interface." into sc-dev

parents 1c69780e 89db64ac
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -101,4 +101,11 @@ interface IPackageManagerNative {
     * This does nothing if this observer was not already registered.
     */
    void unregisterPackageChangeObserver(in IPackageChangeObserver observer);

    /**
     * Returns true if the package has the SHA 256 version of the signing certificate.
     * @see PackageManager#hasSigningCertificate(String, byte[], int), where type
     * has been set to {@link PackageManager#CERT_INPUT_SHA256}.
     */
    boolean hasSha256SigningCertificate(in @utf8InCpp String packageName, in byte[] certificate);
}