question: private static Integer computeLegacyIdFromCamera2Id ( @ Nonnull String camera2Id ) { try { return Integer . parseInt ( camera2Id ) ; } catch ( NumberFormatException ignored ) { } return null ; }
target:  This should compute a Legacy Api1 camera Id for the given camera2 device. This class will return null if the camera2 identifier cannot be transformed into an api1 id.