You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running lint checks on an app that uses the SDK yields the following error:
Must be one or more of: PackageManager.GET_META_DATA, PackageManager.GET_RESOLVED_FILTER, PackageManager.GET_SHARED_LIBRARY_FILES, PackageManager.MATCH_ALL, PackageManager.MATCH_DISABLED_COMPONENTS, PackageManager.MATCH_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.MATCH_DEFAULT_ONLY, PackageManager.MATCH_DIRECT_BOOT_AWARE, PackageManager.MATCH_DIRECT_BOOT_UNAWARE, PackageManager.MATCH_SYSTEM_ONLY, PackageManager.MATCH_UNINSTALLED_PACKAGES, PackageManager.GET_DISABLED_COMPONENTS, PackageManager.GET_DISABLED_UNTIL_USED_COMPONENTS, PackageManager.GET_UNINSTALLED_PACKAGES
The Context.BIND_AUTO_CREATE is the constant lint is complaining about.
I'm guessing the desired constant is PackageManager.COMPONENT_ENABLED_STATE_DEFAULT since it has the same constant value as Context.BIND_AUTO_CREATE (0).
The text was updated successfully, but these errors were encountered:
Running lint checks on an app that uses the SDK yields the following error:
This happens in ApplicationUtils.java#L52:
The
Context.BIND_AUTO_CREATE
is the constant lint is complaining about.I'm guessing the desired constant is
PackageManager.COMPONENT_ENABLED_STATE_DEFAULT
since it has the same constant value asContext.BIND_AUTO_CREATE
(0).The text was updated successfully, but these errors were encountered: