diff options
author | Jamie Gennis <jgennis@google.com> | 2012-08-21 17:03:18 -0700 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2012-08-21 19:07:30 -0700 |
commit | 9f54ac38860761ef62d9bb8282d54ff51a1a68a3 (patch) | |
tree | 523fa44114ec0ad898d7acef6f38931d32c8f3b6 /include/ui | |
parent | 04930445031c5f41707806182bb7a152e64ddede (diff) | |
download | frameworks_native-9f54ac38860761ef62d9bb8282d54ff51a1a68a3.zip frameworks_native-9f54ac38860761ef62d9bb8282d54ff51a1a68a3.tar.gz frameworks_native-9f54ac38860761ef62d9bb8282d54ff51a1a68a3.tar.bz2 |
ui/Fence: change the TIMEOUT_NEVER value to -1
Change-Id: I3ef0a4c06f80990b53a8bf2eda6edbfcbefd0f34
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/Fence.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/ui/Fence.h b/include/ui/Fence.h index 17cb018..b516a22 100644 --- a/include/ui/Fence.h +++ b/include/ui/Fence.h @@ -18,7 +18,6 @@ #define ANDROID_FENCE_H #include <stdint.h> -#include <limits.h> #include <sys/types.h> #include <ui/ANativeObjectBase.h> @@ -65,7 +64,7 @@ public: // TIMEOUT_NEVER may be passed to the wait method to indicate that it // should wait indefinitely for the fence to signal. - enum { TIMEOUT_NEVER = UINT_MAX }; + enum { TIMEOUT_NEVER = -1 }; // merge combines two Fence objects, creating a new Fence object that // becomes signaled when both f1 and f2 are signaled (even if f1 or f2 is |