Loading core/java/android/hardware/radio/RadioManager.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -755,8 +755,9 @@ public class RadioManager { if (!(obj instanceof BandConfig)) if (!(obj instanceof BandConfig)) return false; return false; BandConfig other = (BandConfig) obj; BandConfig other = (BandConfig) obj; if (mDescriptor != other.getDescriptor()) BandDescriptor otherDesc = other.getDescriptor(); return false; if ((mDescriptor == null) != (otherDesc == null)) return false; if (mDescriptor != null && !mDescriptor.equals(otherDesc)) return false; return true; return true; } } } } Loading Loading
core/java/android/hardware/radio/RadioManager.java +3 −2 Original line number Original line Diff line number Diff line Loading @@ -755,8 +755,9 @@ public class RadioManager { if (!(obj instanceof BandConfig)) if (!(obj instanceof BandConfig)) return false; return false; BandConfig other = (BandConfig) obj; BandConfig other = (BandConfig) obj; if (mDescriptor != other.getDescriptor()) BandDescriptor otherDesc = other.getDescriptor(); return false; if ((mDescriptor == null) != (otherDesc == null)) return false; if (mDescriptor != null && !mDescriptor.equals(otherDesc)) return false; return true; return true; } } } } Loading