mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
Fix crashing bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
a5605fc89f
commit
ec086b61c4
2 changed files with 0 additions and 9 deletions
|
@ -219,12 +219,4 @@ public class BaseActivity extends AppCompatActivity {
|
||||||
super.onStop();
|
super.onStop();
|
||||||
eventBus.unregister(this);
|
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);
|
screenLockTimeoutChoicePreference.setEnabled(false);
|
||||||
appPreferences.removeScreenLock();
|
appPreferences.removeScreenLock();
|
||||||
appPreferences.removeScreenLockTimeout();
|
appPreferences.removeScreenLockTimeout();
|
||||||
screenLockTimeoutChoicePreference.setValue("0");
|
|
||||||
((Checkable) screenLockSwitchPreference.findViewById(R.id.mp_checkable)).setChecked(false);
|
((Checkable) screenLockSwitchPreference.findViewById(R.id.mp_checkable)).setChecked(false);
|
||||||
screenLockSwitchPreference.setAlpha(0.38f);
|
screenLockSwitchPreference.setAlpha(0.38f);
|
||||||
screenLockTimeoutChoicePreference.setAlpha(0.38f);
|
screenLockTimeoutChoicePreference.setAlpha(0.38f);
|
||||||
|
|
Loading…
Reference in a new issue