I've found what seems to be an error on the BrowserPackageHelper when no default browser is defined.
I get a java.lang.NullPointerException on the isFullBrowser method because the ResolveInfo is not null however the ResolveInfo.filter is null.
This seems to be the documented behaviour for the PackageManager.resolveActivity method when more than one option exists (i.e. no default)- "If multiple matching activities are found and there is no default set, returns a ResolveInfo containing something else, such as the activity resolver."
I've found what seems to be an error on the
BrowserPackageHelperwhen no default browser is defined.I get a
java.lang.NullPointerExceptionon theisFullBrowsermethod because theResolveInfois not null however theResolveInfo.filteris null.This seems to be the documented behaviour for the
PackageManager.resolveActivitymethod when more than one option exists (i.e. no default)- "If multiple matching activities are found and there is no default set, returns a ResolveInfo containing something else, such as the activity resolver."