commit | f9eb06ca691ed14c8b55840a07333330ae347e22 | [log] [tgz] |
---|---|---|
author | Vairavan Srinivasan <vairav@codeaurora.org> | Fri Jan 21 18:08:36 2011 -0800 |
committer | Vairavan Srinivasan <vairav@codeaurora.org> | Fri May 13 10:57:19 2011 -0700 |
tree | b3f0683382411fa4aac577551e00d563647ee3d9 | |
parent | f247e545b521584bb778e79710c1e60ab814839e [diff] |
frameworks/base: Cap the number of toasts that a package can post. NotificationManagerService keeps track of requested toasts in a queue. Any package can trigger a DoS by repeated enqueue of toasts which eventually results in a leak of WeakReferences in system_server and causes dalvik (hosting system_server) to abort the same. Change-Id: I5e23c1bf7e195b07344711d2c6719fa568f2dfaf