Login improvements

This commit is contained in:
stom79 2019-02-13 09:06:00 +01:00
parent 9c3e436cdc
commit 4d5cda3bd2
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,7 @@ public class MainApplication extends MultiDexApplication {
@Override
public void onCreate() {
super.onCreate();
//System.setProperty("java.net.preferIPv4Stack" , "true");
JobManager.create(this).addJobCreator(new ApplicationJob());
NotificationsSyncJob.schedule(false);
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();

View File

@ -689,7 +689,8 @@ public class PeertubeActivity extends BaseActivity implements OnRetrievePeertube
@Override
public void onDestroy() {
super.onDestroy();
player.release();
if( player != null)
player.release();
}
@Override