public boolean isMatch(int flags) {
        if ((flags & android.content.pm.PackageManager.MATCH_SYSTEM_ONLY) != 0) {
            return isSystemApp();
        }
        return true;
    }
Filtered set of {@link #getAllCodePaths()} that excludes
resource-only APKs.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/Package.java