Login improvements
This commit is contained in:
parent
9c3e436cdc
commit
4d5cda3bd2
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue