commit | e540233717d73e5bb290eabe46023f4a183d3048 | [log] [tgz] |
---|---|---|
author | Alex Ruiz <alruiz@google.com> | Wed Apr 23 04:09:52 2014 -0700 |
committer | Alex Ruiz <alruiz@google.com> | Thu Apr 24 00:05:06 2014 +0000 |
tree | 2a7e89710f70840a50e3054a3aaf8c6ec8413a69 | |
parent | 62f1e7e6d7516e41ee165dcc37e5342388220947 [diff] |
Fixed bug where adding a stats record freeze the UI. The method StudioBuildStatsPersistentComponent#addBuildRecord was being executed in the UI thread, making the UI freeze when having a slow Internet connection (this method checks some URL.) This CL executes this method in a separate thread. I'm not sure this is the best way to do this, but at least it works well when having a slow Internet connection. Change-Id: I077bd4d281cd35aed87a938b35862720942f653d