Loading api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -11324,7 +11324,7 @@ package android.content.pm { public final class ModuleInfo implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getName(); method @Nullable public CharSequence getName(); method @Nullable public String getPackageName(); method public boolean isHidden(); method public void writeToParcel(android.os.Parcel, int); core/java/android/content/pm/ModuleInfo.java +5 −5 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ public final class ModuleInfo implements Parcelable { // constructor, and writeToParcel. /** Public name of this module. */ private String mName; private CharSequence mName; /** The package name of this module. */ private String mPackageName; Loading @@ -57,13 +57,13 @@ public final class ModuleInfo implements Parcelable { } /** @hide Sets the public name of this module. */ public ModuleInfo setName(String name) { public ModuleInfo setName(CharSequence name) { mName = name; return this; } /** Gets the public name of this module. */ public @Nullable String getName() { public @Nullable CharSequence getName() { return mName; } Loading Loading @@ -123,13 +123,13 @@ public final class ModuleInfo implements Parcelable { /** Flattens this object into the given {@link Parcel}. */ public void writeToParcel(Parcel dest, int parcelableFlags) { dest.writeString(mName); dest.writeCharSequence(mName); dest.writeString(mPackageName); dest.writeBoolean(mHidden); } private ModuleInfo(Parcel source) { mName = source.readString(); mName = source.readCharSequence(); mPackageName = source.readString(); mHidden = source.readBoolean(); } Loading services/core/java/com/android/server/pm/ModuleInfoProvider.java +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ public class ModuleInfoProvider { // to dealing with this as we'll now have to listen to all config changes and // regenerate the data if required. Also, is this the right way to parse a resource // reference out of an XML file ? final String moduleName = packageResources.getString( final CharSequence moduleName = packageResources.getText( Integer.parseInt(parser.getAttributeValue(null, "name").substring(1))); final String modulePackageName = XmlUtils.readStringAttribute(parser, "packageName"); Loading Loading
api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -11324,7 +11324,7 @@ package android.content.pm { public final class ModuleInfo implements android.os.Parcelable { method public int describeContents(); method @Nullable public String getName(); method @Nullable public CharSequence getName(); method @Nullable public String getPackageName(); method public boolean isHidden(); method public void writeToParcel(android.os.Parcel, int);
core/java/android/content/pm/ModuleInfo.java +5 −5 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ public final class ModuleInfo implements Parcelable { // constructor, and writeToParcel. /** Public name of this module. */ private String mName; private CharSequence mName; /** The package name of this module. */ private String mPackageName; Loading @@ -57,13 +57,13 @@ public final class ModuleInfo implements Parcelable { } /** @hide Sets the public name of this module. */ public ModuleInfo setName(String name) { public ModuleInfo setName(CharSequence name) { mName = name; return this; } /** Gets the public name of this module. */ public @Nullable String getName() { public @Nullable CharSequence getName() { return mName; } Loading Loading @@ -123,13 +123,13 @@ public final class ModuleInfo implements Parcelable { /** Flattens this object into the given {@link Parcel}. */ public void writeToParcel(Parcel dest, int parcelableFlags) { dest.writeString(mName); dest.writeCharSequence(mName); dest.writeString(mPackageName); dest.writeBoolean(mHidden); } private ModuleInfo(Parcel source) { mName = source.readString(); mName = source.readCharSequence(); mPackageName = source.readString(); mHidden = source.readBoolean(); } Loading
services/core/java/com/android/server/pm/ModuleInfoProvider.java +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ public class ModuleInfoProvider { // to dealing with this as we'll now have to listen to all config changes and // regenerate the data if required. Also, is this the right way to parse a resource // reference out of an XML file ? final String moduleName = packageResources.getString( final CharSequence moduleName = packageResources.getText( Integer.parseInt(parser.getAttributeValue(null, "name").substring(1))); final String modulePackageName = XmlUtils.readStringAttribute(parser, "packageName"); Loading