code: private String getFinalValueAsString(String attributeName, String str) {
          int value = Integer.parseInt(str);
          switch (attributeName) {
              case "screenOrientation":
                  return AttributeValues.getScreenOrientation(value);
              case "configChanges":
                  return AttributeValues.getConfigChanges(value);
              case "windowSoftInputMode":
                  return AttributeValues.getWindowSoftInputMode(value);
              case "launchMode":
                  return AttributeValues.getLaunchMode(value);
              case "installLocation":
                  return AttributeValues.getInstallLocation(value);
              case "protectionLevel":
                  return AttributeValues.getProtectionLevel(value);
              default:
                  return str;
          }
      }
docs: trans int attr value to string