Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc83d9b4 authored by Andy Hung's avatar Andy Hung Committed by Automerger Merge Worker
Browse files

Configurable AudioPolicyEngine: Skip device count assert am: 87440d8a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/14393427

Change-Id: Iec327ed84dd813c2e8c6e2ddc6651a7f1645581a
parents adecf015 87440d8a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -172,12 +172,6 @@ def parseAndroidAudioFile(androidaudiobaseheaderFile):
        logging.info("added stub input device mask")

    # Transform input source in inclusive criterion
    shift = len(all_component_types['OutputDevicesMask'])
    if shift > 32:
        logging.critical("OutputDevicesMask incompatible with criterion representation on 32 bits")
        logging.info("EXIT ON FAILURE")
        exit(1)

    for component_types in all_component_types:
        values = ','.join('{}:{}'.format(value, key) for key, value in all_component_types[component_types].items())
        logging.info("{}: <{}>".format(component_types, values))