diff options
author | Scott Murray <scott.murray@konsulko.com> | 2019-06-25 19:47:08 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2019-06-25 19:50:39 -0400 |
commit | 547cf7dbc1e38bda791bdab3a665ccfe6e26915f (patch) | |
tree | 534eaf69c93b36bab22e37d8b54acb7b4a6ea020 /app/main.cpp | |
parent | e49a29beae53f89fc23760d7c4ccd3caeb9640af (diff) |
Fixes to work with running as non-root and 4A removal
Added the missing new audio permission to the widget manifest, and
reworked ringtone audio output to remove 4A support.
Bug-AGL: SPEC-2558
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7ca5a438333bd046a1634a9056291bd7c215d4e6
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.cpp b/app/main.cpp index 95de315..6423844 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -66,7 +66,7 @@ int main(int argc, char *argv[]) context->setContextProperty("telephony", telephony); std::string token = secret.toStdString(); std::string install_dir = getenv("AFM_APP_INSTALL_DIR"); - FilePlayer *player = new FilePlayer(port, token, install_dir + "/bin/Phone.wav", std::string("phone")); + FilePlayer *player = new FilePlayer(install_dir + "/bin/Phone.wav", std::string("phone")); Phone *phone = new Phone(telephony, player); context->setContextProperty("phone", phone); QObject::connect(telephony, &Telephony::callStateChanged, phone, &Phone::onCallStateChanged); |