Unverified Commit 21b9d391 authored by Michael Bestas's avatar Michael Bestas
Browse files

roomservice: Remove support for devices in main manifest

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

Change-Id: Ice5c37de154ca3fb4cf69a8401e5bbe3c9e56e2a
parent f5049a6a
......@@ -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):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment