fix start on API lesser 21

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS
2021-03-17 12:40:52 +03:00
parent bb93876838
commit 8dfa0e5bcb
6 changed files with 9 additions and 14 deletions
@@ -104,7 +104,7 @@ public class I2PDActivity extends Activity {
setContentView(R.layout.activity_main);
enableButton = findViewById(R.id.enableButton);
disableButton = findViewById(R.id.disableButton);
textView = (TextView) findViewById(R.id.textView);
textView = (TextView) findViewById(R.id.appStatusText);
if (daemon == null) {
ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
daemon = new DaemonWrapper(getAssets(), connectivityManager);