ComponentInfo

Class of android.content.pm · ComponentInfo.java · Android's reference

public class ComponentInfo extends PackageItemInfo

ComponentInfo ← PackageItemInfo

An activity, service, provider or receiver of a package.

Extended in the framework by

Fields

public ApplicationInfo applicationInfo source
public String processName source
public String splitName source
public String[] attributionTags source
public int descriptionRes source
public boolean enabled source
public boolean exported source
public boolean directBootAware source

Constructors

public ComponentInfo() empty body source
public ComponentInfo(ComponentInfo o) source

Methods

public boolean isEnabled() source
public final int getIconResource() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.