Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ibcc35dacfb2e3fb45b5effe373769837d777bbe6
diff --git a/EmojiFactory.cpp b/EmojiFactory.cpp
index 36ee052..3693314 100644
--- a/EmojiFactory.cpp
+++ b/EmojiFactory.cpp
@@ -79,7 +79,7 @@
if (error_str) {
error_str = "Unknown reason";
}
- LOGE("Failed to load shared library %s: %s", library_name, error_str);
+ ALOGE("Failed to load shared library %s: %s", library_name, error_str);
return;
}
EmojiFactory *(*get_emoji_factory)() =
@@ -90,14 +90,14 @@
if (error_str) {
error_str = "Unknown reason";
}
- LOGE("Failed to call GetEmojiFactory: %s", error_str);
+ ALOGE("Failed to call GetEmojiFactory: %s", error_str);
dlclose(handle);
return;
}
EmojiFactory *factory = (*get_emoji_factory)();
if (NULL == factory) {
- LOGE("Returned factory is NULL");
+ ALOGE("Returned factory is NULL");
dlclose(handle);
return;
}
@@ -108,7 +108,7 @@
for (size_t i = 0; i < size; ++i) {
EmojiFactory *f = g_factories->itemAt(i);
if (!strcmp(name, f->Name())) {
- LOGE("Same EmojiFactory was found: %s", name);
+ ALOGE("Same EmojiFactory was found: %s", name);
delete factory;
dlclose(handle);
return;