summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sadaf Ebrahimi <sadafebrahimi@google.com> 2023-10-30 16:07:53 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-10-30 16:07:53 +0000
commitd5873fc5ebe267d765d64b7f5a8d980540de0742 (patch)
tree1a056e712f1cb1876490da460b9759fc03ae6064
parent4d73736a976eb8866c4ce416e233c2a4dee4fd4c (diff)
parentfdbc3037c7b3bae35ce1f710d47e8d2378d3ff45 (diff)
Merge "Adjust with changes in libxml2 upgrade" into main am: da32cbba40 am: c5ce4fa75c am: fdbc3037c7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2772645 Change-Id: If0131d4a13325514d88d8855193a42f2b3ee76d9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--native/android/system_fonts.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/native/android/system_fonts.cpp b/native/android/system_fonts.cpp
index de7ea701b26d..91f78ce6f950 100644
--- a/native/android/system_fonts.cpp
+++ b/native/android/system_fonts.cpp
@@ -21,22 +21,20 @@
#include <android/font.h>
#include <android/font_matcher.h>
#include <android/system_fonts.h>
-
-#include <memory>
-#include <string>
-#include <vector>
-
#include <errno.h>
#include <fcntl.h>
-#include <libxml/tree.h>
-#include <log/log.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
#include <hwui/MinikinSkia.h>
+#include <libxml/parser.h>
+#include <log/log.h>
#include <minikin/FontCollection.h>
#include <minikin/LocaleList.h>
#include <minikin/SystemFonts.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
+#include <memory>
+#include <string>
+#include <vector>
struct XmlCharDeleter {
void operator()(xmlChar* b) { xmlFree(b); }