From 28e4f87f38cae799b494e160467d732e988bad89 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 26 Oct 2011 17:56:00 -0700 Subject: Fix bug where CPU could be stuck spinning Required the wallpaper be animating and the system to have run slowly during the last frame when rendering stopped. bug 5180240 Change-Id: I38c2b6f07a1e36019dd05c77a58973e36d12728c --- libs/rs/rsContext.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/rs/rsContext.cpp') diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 2d5120853b8d..948ecf90a732 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -279,6 +279,8 @@ void * Context::threadProc(void *vrsc) { rsc->timerSet(RS_TIMER_INTERNAL); rsc->timerPrint(); rsc->timerReset(); + } else { + doWait = true; } } -- cgit v1.2.3-59-g8ed1b