Revert \"libupm: sync with upstream (SHA1: 1849e22)\" am: c5138e9c8d Change-Id: I9a580048d451c0186886026a89d44abee9771c08