commit | ff6e8e69b903e0c758aaca658c8eb5e9a0bf1f88 | [log] [tgz] |
---|---|---|
author | Siva Velusamy <vsiva@google.com> | Tue Dec 09 11:47:25 2014 -0800 |
committer | Siva Velusamy <vsiva@google.com> | Wed Dec 17 10:53:03 2014 -0800 |
tree | 4a3156d052808cd3044f23892b32823d85202161 | |
parent | a34b317f1718782d9264cf4419f99bf09f1307df [diff] |
Don't wait forever while getting system properties Obtaining system properties from the device should normally complete quickly (and many read only properties are then cached). However, a few convenience methods were obtaining these system properties without any timeouts, which could cause the EDT to block if the device is not responding. This CL updates those methods to use the API that times out after a certain interval. Change-Id: Ic7ccadb240f2981868d135a64905ab25fc9181c4