Loading tools/aapt2/LoadedApk.h +6 −8 Original line number Diff line number Diff line Loading @@ -40,10 +40,8 @@ enum ApkFormat { }; // Info about an APK loaded in memory. class LoadedApk { class LoadedApk final { public: virtual ~LoadedApk() = default; // Loads both binary and proto APKs from disk. static std::unique_ptr<LoadedApk> LoadApkFromPath(android::StringPiece path, android::IDiagnostics* diag); Loading Loading @@ -96,7 +94,7 @@ class LoadedApk { * Writes the APK on disk at the given path, while also removing the resource * files that are not referenced in the resource table. */ virtual bool WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options, bool WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options, IArchiveWriter* writer); /** Loading @@ -108,7 +106,7 @@ class LoadedApk { * original manifest will be written. The manifest is only required if the contents of the new APK * have been modified in a way that require the AndroidManifest.xml to also be modified. */ virtual bool WriteToArchive(IAaptContext* context, ResourceTable* split_table, bool WriteToArchive(IAaptContext* context, ResourceTable* split_table, const TableFlattenerOptions& options, FilterChain* filters, IArchiveWriter* writer, xml::XmlResource* manifest = nullptr); Loading Loading
tools/aapt2/LoadedApk.h +6 −8 Original line number Diff line number Diff line Loading @@ -40,10 +40,8 @@ enum ApkFormat { }; // Info about an APK loaded in memory. class LoadedApk { class LoadedApk final { public: virtual ~LoadedApk() = default; // Loads both binary and proto APKs from disk. static std::unique_ptr<LoadedApk> LoadApkFromPath(android::StringPiece path, android::IDiagnostics* diag); Loading Loading @@ -96,7 +94,7 @@ class LoadedApk { * Writes the APK on disk at the given path, while also removing the resource * files that are not referenced in the resource table. */ virtual bool WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options, bool WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options, IArchiveWriter* writer); /** Loading @@ -108,7 +106,7 @@ class LoadedApk { * original manifest will be written. The manifest is only required if the contents of the new APK * have been modified in a way that require the AndroidManifest.xml to also be modified. */ virtual bool WriteToArchive(IAaptContext* context, ResourceTable* split_table, bool WriteToArchive(IAaptContext* context, ResourceTable* split_table, const TableFlattenerOptions& options, FilterChain* filters, IArchiveWriter* writer, xml::XmlResource* manifest = nullptr); Loading