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

Commit 9e93d572 authored by David Brazdil's avatar David Brazdil
Browse files

Exempt system apps from hidden API warnings

Bug: 64382372
Test: make
Change-Id: Ib9bb92f29858dea4f53b0b1ba3b40bdf22b897c9
parent b04b70c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1601,7 +1601,7 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
     * @hide
     */
    public boolean isAllowedToUseHiddenApi() {
        return false;
        return isSystemApp();
    }

    /**