commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 20/21: runtime: android: setting better pat


From: git
Subject: [Commit-gnuradio] [gnuradio] 20/21: runtime: android: setting better path for prefs files on Android.
Date: Sat, 9 May 2015 14:05:38 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch android
in repository gnuradio.

commit 0bc62e21265442f9668c323732c5a7b0e85951a8
Author: Tom Rondeau <address@hidden>
Date:   Tue May 5 15:05:05 2015 -0400

    runtime: android: setting better path for prefs files on Android.
    
    Android will now pick up /sdcard/.gnuradio/config.conf
---
 gnuradio-runtime/lib/prefs.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnuradio-runtime/lib/prefs.cc b/gnuradio-runtime/lib/prefs.cc
index 7381c78..65c1038 100644
--- a/gnuradio-runtime/lib/prefs.cc
+++ b/gnuradio-runtime/lib/prefs.cc
@@ -63,7 +63,7 @@ namespace gr {
     std::vector<std::string> fnames;
 
 #if ANDROID
-    fs::path dir = fs::path(gr::tmp_path());
+    fs::path dir = fs::path("/sdcard");
 #else
     fs::path dir = prefsdir();
 #endif
@@ -83,7 +83,7 @@ namespace gr {
     // the end of the file list to override any preferences in the
     // installed path config files.
 #if ANDROID
-    fs::path homedir = fs::path(gr::tmp_path());
+    fs::path homedir = fs::path("/sdcard");
 #else
     fs::path homedir = fs::path(gr::appdata_path());
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]