diff options
Diffstat (limited to 'libs/utils/Looper.cpp')
| -rw-r--r-- | libs/utils/Looper.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/libs/utils/Looper.cpp b/libs/utils/Looper.cpp index d5dd126065e7..b54fb9dd7353 100644 --- a/libs/utils/Looper.cpp +++ b/libs/utils/Looper.cpp @@ -662,7 +662,8 @@ void Looper::wakeAndLock() {  #endif  void Looper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { -    sendMessageAtTime(LLONG_MIN, handler, message); +    nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); +    sendMessageAtTime(now, handler, message);  }  void Looper::sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler, |