Loading core/java/android/content/pm/ShortcutInfo.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -652,7 +652,7 @@ public final class ShortcutInfo implements Parcelable { /** @hide */ /** @hide */ public static IllegalArgumentException getInvalidIconException() { public static IllegalArgumentException getInvalidIconException() { return new IllegalArgumentException("Unsupported icon type:" return new IllegalArgumentException("Unsupported icon type:" +" only bitmap, resource and content URI are supported"); +" only the bitmap and resource types are supported"); } } /** /** Loading Loading
core/java/android/content/pm/ShortcutInfo.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -652,7 +652,7 @@ public final class ShortcutInfo implements Parcelable { /** @hide */ /** @hide */ public static IllegalArgumentException getInvalidIconException() { public static IllegalArgumentException getInvalidIconException() { return new IllegalArgumentException("Unsupported icon type:" return new IllegalArgumentException("Unsupported icon type:" +" only bitmap, resource and content URI are supported"); +" only the bitmap and resource types are supported"); } } /** /** Loading