Slow widget memory leak.

 Bug: 3369806
 Framework currently holds a reference to widget factories forever
 and doesn't call onDestroy. This causes a large memory leak in
 browser since that means bitmaps are held in memory forever. This
 explicitly calls onDestroy and tries to free as much memory as possible.
 It doesn't fix the problem, just slows the bleeding.

Change-Id: I80832941aa75e30b3b6c951fab2c9cb0a7ed477d
1 file changed