OSDN Git Service

Prevent ANR in apps using drawPath()
authorRomain Guy <romainguy@google.com>
Fri, 16 Aug 2013 21:44:38 +0000 (14:44 -0700)
committerRomain Guy <romainguy@google.com>
Fri, 16 Aug 2013 21:44:38 +0000 (14:44 -0700)
commitb0a41ed3dcc34a2b4026f6cc8336796f3523aa21
treef3be3328e2c2ca0d70c95dd26d605a638c4a6cc4
parentb746371de7f21ae36a14953d9b253df06838efb1
Prevent ANR in apps using drawPath()
Bug #10347089

If an app clears its path cache before stopping background tasks, it could
get into an infinite loop in PathCache::trim().

Change-Id: Ieb865b762e7b00aebaba0c023769c2db286a94f5
libs/hwui/Caches.cpp