commit | 92cfd86bf43bf91124fb970f85794cf30ff39e34 | [log] [tgz] |
---|---|---|
author | Patrick Baumann <patb@google.com> | Tue Oct 08 10:51:22 2019 -0700 |
committer | Patrick Baumann <patb@google.com> | Wed Oct 09 12:04:55 2019 -0700 |
tree | 943dc95fb3e1eabff94b6d5f2f2d0828c7612e88 | |
parent | 9d9e19c5d3a53e28bdb65fce2e756906ef3c841a [diff] |
Adds null check before applyPostResolutionFilter Calls to mComponentResolver.query* may return null. This change appropriately annotates those methods and does checks before passing the results on to applyPostResolutionFilter (which has also been annotated). Test: atest DeviceOwnerPlusProfileOwnerTest.testWipeData_managedProfile Fixes: 142311634 Change-Id: I911041c87964a117f60a71d0957d42f16a7ab8cb