commit | 415ba9ec45dc1be35d3921b28e1dae23e150fb25 | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Mon Jan 10 17:13:22 2011 -0800 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Mon Jan 10 17:13:22 2011 -0800 |
tree | 8051409150e62d04d40b1d0ec49d172eaa81d747 | |
parent | 8d2a74522d7b6f792edc74742b594fcb5251fbe2 [diff] |
Fixing crash in ContactProvider2.getType when accessed too early Unlike query() and other methods, getType() did not wait for the provider to get initialized and would raise an NPE during booting of the device. Same would apply to the openAssetFile method, though it was not actually called during boot time. Change-Id: I502554b28ea908ff87c018c9330d6b55b1ac52bf