在Android 4.1以上SDK中Message类的回收修复之前的内存泄漏bug
在Android 4.4版本的Message类回收函数实现如下:
/**
* Return a Message instance to the global pool. You MUST NOT touch
* the Message after calling this function -- it has effectively been
* freed.
*/
public void recycle() {
clearForRecycle();
synchronized (sPoolSync) {
if (sPoolSize < MAX_POOL_SIZE) {
next = sPool;
sPool = this;
&n