mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 06:15:12 +00:00
Fix crashing bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
a5605fc89f
commit
ec086b61c4
@ -219,12 +219,4 @@ public class BaseActivity extends AppCompatActivity {
|
||||
super.onStop();
|
||||
eventBus.unregister(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
if (!disposable.isDisposed()) {
|
||||
disposable.dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -392,7 +392,6 @@ public class SettingsController extends BaseController {
|
||||
screenLockTimeoutChoicePreference.setEnabled(false);
|
||||
appPreferences.removeScreenLock();
|
||||
appPreferences.removeScreenLockTimeout();
|
||||
screenLockTimeoutChoicePreference.setValue("0");
|
||||
((Checkable) screenLockSwitchPreference.findViewById(R.id.mp_checkable)).setChecked(false);
|
||||
screenLockSwitchPreference.setAlpha(0.38f);
|
||||
screenLockTimeoutChoicePreference.setAlpha(0.38f);
|
||||
|
Loading…
Reference in New Issue
Block a user