parent
9e46cf1bb9
commit
8742e9a8b8
|
@ -31,13 +31,12 @@ public class MainActivity extends ReactActivity {
|
||||||
properties.setProperty("http.nonProxyHosts", "localhost|127.0.0.1");
|
properties.setProperty("http.nonProxyHosts", "localhost|127.0.0.1");
|
||||||
properties.setProperty("https.nonProxyHosts", "localhost|127.0.0.1");
|
properties.setProperty("https.nonProxyHosts", "localhost|127.0.0.1");
|
||||||
|
|
||||||
String dataFolder = null;
|
|
||||||
File extStore = Environment.getExternalStorageDirectory();
|
File extStore = Environment.getExternalStorageDirectory();
|
||||||
if (extStore.exists()) {
|
|
||||||
dataFolder = extStore.getAbsolutePath();
|
final String dataFolder = extStore.exists() ?
|
||||||
} else {
|
extStore.getAbsolutePath() :
|
||||||
dataFolder = getApplicationInfo().dataDir;
|
getApplicationInfo().dataDir;
|
||||||
}
|
|
||||||
// Launch!
|
// Launch!
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
Loading…
Reference in New Issue