blob: 7d10063fdd88c64bfdedad33a5fde00d720bfe21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* Copyright (c) 2012-2016 Arne Schwabe
* Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
*/
package de.blinkt.openvpn.core;
import android.app.Application;
/*
import org.acra.ACRA;
import org.acra.ReportingInteractionMode;
import org.acra.annotation.ReportsCrashes;
*/
import de.blinkt.openvpn.BuildConfig;
import de.blinkt.openvpn.R;
import de.blinkt.openvpn.core.PRNGFixes;
public class ICSOpenVPNApplication extends Application {
private StatusListener mStatus;
@Override
public void onCreate() {
super.onCreate();
PRNGFixes.apply();
VpnStatus.initLogCache(getApplicationContext().getCacheDir());
mStatus = new StatusListener();
mStatus.init(getApplicationContext());
}
}
|