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

Commit 4449382b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "audio: add parameter for device shutdown notification"

parents 70d56b36 472fa63a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -34,12 +34,14 @@
#include <cutils/log.h>
#include <cutils/str_parms.h>

/* Device state*/
#define AUDIO_PARAMETER_KEY_DEV_SHUTDOWN "dev_shutdown"

static s_audio_subsys audio_ss;

int audio_extn_pm_vote(void)
{
    int err, intfd, ret;
    FILE *fd;
    enum pm_event subsys_state;
    char halPropVal[PROPERTY_VALUE_MAX];
    bool prop_unload_image = false;