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

Commit b47558f8 authored by Lajos Molnar's avatar Lajos Molnar
Browse files

mediaplayer: add temporary developer settings to use NuPlayer as default

Bug: 11784824
Change-Id: Ic98f5fd15ee283d7f581bdc3331d000198ecc9e8
parent 1490d514
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -67,6 +67,12 @@ player_type MediaPlayerFactory::getDefaultPlayerType() {
        return NU_PLAYER;
    }

    // TODO: remove this EXPERIMENTAL developer settings property
    if (property_get("persist.sys.media.use-nuplayer", value, NULL)
            && !strcasecmp("true", value)) {
        return NU_PLAYER;
    }

    return STAGEFRIGHT_PLAYER;
}