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

Commit 5b2a141a authored by Anh Pham's avatar Anh Pham
Browse files

Add support for retrieving the Debuggable flag.

Adds support for retrieving the debuggable flag through the
IPackageManagerNative interface.

Bug: 136069189
Test: Builds, verified applications debuggable flag is returned
      properly
Change-Id: I615ed0f7cfcae7d7c0d0d44f40fe8d1849980ad1
parent 2804272f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -108,4 +108,10 @@ interface IPackageManagerNative {
     * has been set to {@link PackageManager#CERT_INPUT_SHA256}.
     */
    boolean hasSha256SigningCertificate(in @utf8InCpp String packageName, in byte[] certificate);

    /**
     * Returns the debug flag for the given package.
     * Unknown packages will cause the call to fail.
     */
     boolean isPackageDebuggable(in String packageName);
}