diff options
author | Yabin Cui <yabinc@google.com> | 2015-01-26 19:43:58 -0800 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2015-01-26 22:32:38 -0800 |
commit | 1610486d371b867c0a842ede38e64774c18ba5d9 (patch) | |
tree | 0c48396116094b6642fbc86973c3939d800ca7d3 /cmds/bootanimation | |
parent | 82a1a2c63959adc0c7e3208c6ffa6985a346ae57 (diff) | |
download | frameworks_base-1610486d371b867c0a842ede38e64774c18ba5d9.zip frameworks_base-1610486d371b867c0a842ede38e64774c18ba5d9.tar.gz frameworks_base-1610486d371b867c0a842ede38e64774c18ba5d9.tar.bz2 |
kill HAVE_PTHREADS.
Bug: 19083585
Change-Id: Ib466949bb6cd6d1bbc4680e989f0f9fae62ca564
Diffstat (limited to 'cmds/bootanimation')
-rw-r--r-- | cmds/bootanimation/bootanimation_main.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/cmds/bootanimation/bootanimation_main.cpp b/cmds/bootanimation/bootanimation_main.cpp index 6550d22..48a34e7 100644 --- a/cmds/bootanimation/bootanimation_main.cpp +++ b/cmds/bootanimation/bootanimation_main.cpp @@ -16,20 +16,14 @@ #define LOG_TAG "BootAnimation" -#include <cutils/properties.h> - #include <binder/IPCThreadState.h> #include <binder/ProcessState.h> #include <binder/IServiceManager.h> - +#include <cutils/properties.h> +#include <sys/resource.h> #include <utils/Log.h> #include <utils/threads.h> -#if defined(HAVE_PTHREADS) -# include <pthread.h> -# include <sys/resource.h> -#endif - #include "BootAnimation.h" using namespace android; @@ -38,9 +32,7 @@ using namespace android; int main() { -#if defined(HAVE_PTHREADS) setpriority(PRIO_PROCESS, 0, ANDROID_PRIORITY_DISPLAY); -#endif char value[PROPERTY_VALUE_MAX]; property_get("debug.sf.nobootanimation", value, "0"); |