protected override void OnResume()
        {
            base.OnResume();
            _design.ReapplyTheme();
            AppTask.StartInGroupActivity(this);
            AppTask.SetupGroupBaseActivityButtons(this);

            RefreshIfDirty();
        }
 protected override void OnResume()
 {
     base.OnResume();
     _design.ReapplyTheme();
     //close if displays changed
     if (!Util.SecureDisplayConfigured(this) || !Util.HasUnsecureDisplay(this))
     {
         Finish();
     }
 }
Exemple #3
0
        protected override void OnResume()
        {
            base.OnResume();
            _design.ReapplyTheme();
            AppTask.StartInGroupActivity(this);
            AppTask.SetupGroupBaseActivityButtons(this);

            UpdateAutofillInfo();
            UpdateAndroid8NotificationInfo();
            UpdateInfotexts();

            RefreshIfDirty();
        }
        protected override void OnResume()
        {
            base.OnResume();
            _design.ReapplyTheme();

            if (TimeoutHelper.CheckDbChanged(this, _ioc))
            {
                Finish();
                return;
            }

            //todo: see LockCloseActivity.OnResume
            App.Kp2a.CheckForOpenFileChanged(this);
        }
        protected override void OnResume()
        {
            base.OnResume();
            App.Kp2a.OfflineMode = false;             //no matter what the preferences are, file selection or db creation is performed offline. PasswordActivity might set this to true.
            Kp2aLog.Log("FileSelect.OnResume");

            _design.ReapplyTheme();

            // Check to see if we need to change modes
            if (ShowRecentFiles() != _recentMode)
            {
                // Restart the activity
                Recreate();
                return;
            }
        }
Exemple #6
0
        protected override void OnResume()
        {
            base.OnResume();

            _design.ReapplyTheme();

            if (Intent.GetBooleanExtra(NoLockCheck, false))
            {
                return;
            }

            if (TimeoutHelper.CheckDbChanged(this, _ioc))
            {
                Finish();
                return;
            }

            //todo: it seems like OnResume can be called after dismissing a dialog, e.g. the Delete-permanently-Dialog.
            //in this case the following check might run in parallel with the check performed during the SaveDb check (triggered after the
            //aforementioned dialog is closed) which can cause odd behavior. However, this is a rare case and hard to resolve so this is currently
            //accepted. (If the user clicks cancel on the reload-dialog, everything will work.)
            App.Kp2a.CheckForOpenFileChanged(this);
        }
 protected override void OnResume()
 {
     base.OnResume();
     _design.ReapplyTheme();
 }
 protected override void OnResume()
 {
     ClearCache();
     base.OnResume();
     _activityDesign.ReapplyTheme();
 }
Exemple #9
0
 protected override void OnResume()
 {
     base.OnResume();
     Kp2aLog.Log("KeePass.OnResume");
     _design.ReapplyTheme();
 }