code: int diff(final ResTable_config o) {
      int diffs = 0;
      if (mcc != o.mcc) diffs |= CONFIG_MCC;
      if (mnc != o.mnc) diffs |= CONFIG_MNC;
      if (orientation != o.orientation) diffs |= CONFIG_ORIENTATION;
      if (density != o.density) diffs |= CONFIG_DENSITY;
      if (touchscreen != o.touchscreen) diffs |= CONFIG_TOUCHSCREEN;
      if (((inputFlags^o.inputFlags)&(MASK_KEYSHIDDEN|MASK_NAVHIDDEN)) != 0)
        diffs |= CONFIG_KEYBOARD_HIDDEN;
      if (keyboard != o.keyboard) diffs |= CONFIG_KEYBOARD;
      if (navigation != o.navigation) diffs |= CONFIG_NAVIGATION;
      if (screenSize() != o.screenSize()) diffs |= CONFIG_SCREEN_SIZE;
      if (version() != o.version()) diffs |= CONFIG_VERSION;
      if ((screenLayout & MASK_LAYOUTDIR) != (o.screenLayout & MASK_LAYOUTDIR)) diffs |= CONFIG_LAYOUTDIR;
      if ((screenLayout & ~MASK_LAYOUTDIR) != (o.screenLayout & ~MASK_LAYOUTDIR)) diffs |= CONFIG_SCREEN_LAYOUT;
      if ((screenLayout2 & MASK_SCREENROUND) != (o.screenLayout2 & MASK_SCREENROUND)) diffs |= CONFIG_SCREEN_ROUND;
      if ((colorMode & MASK_WIDE_COLOR_GAMUT) != (o.colorMode & MASK_WIDE_COLOR_GAMUT)) diffs |= CONFIG_COLOR_MODE;
      if ((colorMode & MASK_HDR) != (o.colorMode & MASK_HDR)) diffs |= CONFIG_COLOR_MODE;
      if (uiMode != o.uiMode) diffs |= CONFIG_UI_MODE;
      if (smallestScreenWidthDp != o.smallestScreenWidthDp) diffs |= CONFIG_SMALLEST_SCREEN_SIZE;
      if (screenSizeDp() != o.screenSizeDp()) diffs |= CONFIG_SCREEN_SIZE;
  
      int diff = compareLocales(this, o);
      if (isTruthy(diff)) diffs |= CONFIG_LOCALE;
  
      return diffs;
    }
docs: that is different.