Loading api/current.xml +11 −0 Original line number Diff line number Diff line Loading @@ -58398,6 +58398,17 @@ visibility="public" > </method> <method name="isEnabled" return="boolean" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <field name="applicationInfo" type="android.content.pm.ApplicationInfo" transient="false" core/java/android/content/pm/ComponentInfo.java +7 −0 Original line number Diff line number Diff line Loading @@ -99,6 +99,13 @@ public class ComponentInfo extends PackageItemInfo { return name; } /** * Return whether this component and its enclosing application are enabled. */ public boolean isEnabled() { return enabled && applicationInfo.enabled; } /** * Return the icon resource identifier to use for this component. If * the component defines an icon, that is used; else, the application Loading Loading
api/current.xml +11 −0 Original line number Diff line number Diff line Loading @@ -58398,6 +58398,17 @@ visibility="public" > </method> <method name="isEnabled" return="boolean" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <field name="applicationInfo" type="android.content.pm.ApplicationInfo" transient="false"
core/java/android/content/pm/ComponentInfo.java +7 −0 Original line number Diff line number Diff line Loading @@ -99,6 +99,13 @@ public class ComponentInfo extends PackageItemInfo { return name; } /** * Return whether this component and its enclosing application are enabled. */ public boolean isEnabled() { return enabled && applicationInfo.enabled; } /** * Return the icon resource identifier to use for this component. If * the component defines an icon, that is used; else, the application Loading