mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-12 09:44:13 +00:00
fixed for java to compile
Former-commit-id: 3d37ea77cd676e152ac0a831a576563fbbc77f87
This commit is contained in:
parent
9e46cf1bb9
commit
8742e9a8b8
@ -31,13 +31,12 @@ public class MainActivity extends ReactActivity {
|
||||
properties.setProperty("http.nonProxyHosts", "localhost|127.0.0.1");
|
||||
properties.setProperty("https.nonProxyHosts", "localhost|127.0.0.1");
|
||||
|
||||
String dataFolder = null;
|
||||
File extStore = Environment.getExternalStorageDirectory();
|
||||
if (extStore.exists()) {
|
||||
dataFolder = extStore.getAbsolutePath();
|
||||
} else {
|
||||
dataFolder = getApplicationInfo().dataDir;
|
||||
}
|
||||
|
||||
final String dataFolder = extStore.exists() ?
|
||||
extStore.getAbsolutePath() :
|
||||
getApplicationInfo().dataDir;
|
||||
|
||||
// Launch!
|
||||
new Thread(new Runnable() {
|
||||
public void run() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user