commit | cb247866acf10b039e02b600f8471b4a508f0ce8 | [log] [tgz] |
---|---|---|
author | Svetoslav Ganov <svetoslavganov@google.com> | Wed Sep 25 23:52:36 2013 -0700 |
committer | Svetoslav <svetoslavganov@google.com> | Thu Sep 26 12:34:49 2013 -0700 |
tree | b22b0f8e5854c1d06a1425d69b81694bcdac4d32 | |
parent | b198115e492c390537ec400caa96baab1ccec5b9 [diff] |
PackageManager#queryIntentServices breaks its contract. PackageManager#queryIntentServices javadoc contract states that this method (and the like) never returns null, rather an empty list if no result is found. However, there is a path in the PackageManagerService that returns null, thus breaking the contract. Handling the null list explicitly. bug:10930560 Change-Id: I708c51b8b7075e529145c8b0bf159efd6b697532