roomservice: Remove support for devices in main manifest

* We are using roomservice for all devices since a long time

Change-Id: Ice5c37de154ca3fb4cf69a8401e5bbe3c9e56e2a
This commit is contained in:
Michael Bestas 2017-06-17 19:58:55 +03:00
parent f5049a6a89
commit 21b9d391e7
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -127,17 +127,6 @@ def get_from_manifest(devicename):
if re.search("android_device_.*_%s$" % device, localpath.get("name")):
return localpath.get("path")
# Devices originally from AOSP are in the main manifest...
try:
mm = ElementTree.parse(".repo/manifest.xml")
mm = mm.getroot()
except:
mm = ElementTree.Element("manifest")
for localpath in mm.findall("project"):
if re.search("android_device_.*_%s$" % device, localpath.get("name")):
return localpath.get("path")
return None
def is_in_manifest(projectpath):