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

Commit 8025cd5d authored by Elliott Hughes's avatar Elliott Hughes Committed by Android (Google) Code Review
Browse files

Merge "Fix apps using Adobe AIR."

parents 5e5a2190 9f3f8dd7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -37,6 +37,10 @@ namespace android {
OMXClient::OMXClient() {
}

status_t OMXClient::connect() {
    return connect(nullptr);
}

status_t OMXClient::connect(bool* trebleFlag) {
    if (property_get_bool("persist.media.treble_omx", true)) {
        if (trebleFlag != nullptr) {
+3 −1
Original line number Diff line number Diff line
@@ -26,7 +26,9 @@ class OMXClient {
public:
    OMXClient();

    status_t connect(bool* trebleFlag = nullptr);
    status_t connect();
    status_t connect(bool* trebleFlag);

    status_t connectLegacy();
    status_t connectTreble();
    void disconnect();