Loading core/java/android/app/WallpaperColors.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -420,7 +420,7 @@ public final class WallpaperColors implements Parcelable { for (Map.Entry<Integer, Integer> colorEntry : mAllColors.entrySet()) { for (Map.Entry<Integer, Integer> colorEntry : mAllColors.entrySet()) { if (colorEntry.getKey() != null) { if (colorEntry.getKey() != null) { dest.writeInt(colorEntry.getKey()); dest.writeInt(colorEntry.getKey()); Integer population = mAllColors.get(colorEntry.getValue()); Integer population = colorEntry.getValue(); int populationInt = (population != null) ? population : 0; int populationInt = (population != null) ? population : 0; dest.writeInt(populationInt); dest.writeInt(populationInt); } } Loading Loading
core/java/android/app/WallpaperColors.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -420,7 +420,7 @@ public final class WallpaperColors implements Parcelable { for (Map.Entry<Integer, Integer> colorEntry : mAllColors.entrySet()) { for (Map.Entry<Integer, Integer> colorEntry : mAllColors.entrySet()) { if (colorEntry.getKey() != null) { if (colorEntry.getKey() != null) { dest.writeInt(colorEntry.getKey()); dest.writeInt(colorEntry.getKey()); Integer population = mAllColors.get(colorEntry.getValue()); Integer population = colorEntry.getValue(); int populationInt = (population != null) ? population : 0; int populationInt = (population != null) ? population : 0; dest.writeInt(populationInt); dest.writeInt(populationInt); } } Loading