diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-01-10 00:28:26 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-01-10 00:28:26 +0000 |
commit | 865aa68ba09f238e5b80c738e28b6b5262316a1c (patch) | |
tree | 009d777191ba178478bfafb00cf5681740a3b057 | |
parent | 85b936de24744509af65de87941f452027a6268b (diff) | |
parent | c5c04e9b9118b32365815bd66faf5d768a4c482a (diff) | |
download | libhardware_legacy-865aa68ba09f238e5b80c738e28b6b5262316a1c.tar.gz |
Merge "Snap for 11292864 from ce4e1d99adc16d63bd99a3199f8c5131ab448696 to sdk-release" into sdk-release
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | uevent.c | 12 |
2 files changed, 0 insertions, 13 deletions
@@ -79,7 +79,6 @@ cc_library_shared { shared_libs: [ "android.system.suspend-V1-ndk", "libdl", - "liblog", ], header_libs: [ @@ -16,8 +16,6 @@ #include <hardware_legacy/uevent.h> -#include <log/log.h> - #include <malloc.h> #include <string.h> #include <unistd.h> @@ -96,16 +94,6 @@ int uevent_next_event(char* buffer, int buffer_length) return count; } } - - if (nr > 0 && (fds.revents & POLLERR)) { - int error = 0; - socklen_t errlen = sizeof(error); - getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &errlen); - - // see b/300009377, this used to be an infinite loop - // abort to try to recover - LOG_ALWAYS_FATAL("Uevent POLLERR: %s, on FD %d", strerror(error), fd); - } } // won't get here |