am f11079b1: Fix 2595902 - NPE in launcher2
This commit is contained in:
commit
6710fb92f4
|
@ -1316,7 +1316,7 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
|
|||
final ProviderInfo providerInfo = manager.resolveContentProvider(
|
||||
uri.getAuthority(), 0);
|
||||
|
||||
if (providerInfo == null) {
|
||||
if (providerInfo != null) {
|
||||
for (String packageName: packageNames) {
|
||||
if (packageName.equals(providerInfo.packageName)) {
|
||||
// TODO: This should probably be done on a worker thread
|
||||
|
|
Loading…
Reference in New Issue