roomservice: Remove support for devices in main manifest

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

Change-Id: Ice5c37de154ca3fb4cf69a8401e5bbe3c9e56e2a
gugelfrei
Michael Bestas 7 years ago
parent f5049a6a89
commit 21b9d391e7
No known key found for this signature in database
GPG Key ID: CC95044519BE6669

@ -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):

Loading…
Cancel
Save