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:
parent
f5049a6a89
commit
21b9d391e7
1 changed files with 0 additions and 11 deletions
|
@ -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…
Reference in a new issue