mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-02 23:02:37 -08:00
Replaced LockingListActivity with LockingActivity
Since we no longer need the specific ListActivity we can extend from the regular LockingActivity
This commit is contained in:
1 parent
0e5b1dbbfc
commit
49cee235d4
2 files changed
+1
-41
No files matched your search
@@ -21,7 +21,7 @@ package com.keepassdroid;
|
||||
|
||||
import com.keepassdroid.timeout.TimeoutHelper;
|
||||
|
||||
public abstract class LockCloseListActivity extends LockingListActivity {
|
||||
public abstract class LockCloseListActivity extends LockingActivity {
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/*
|
||||
* Copyright 2012-2015 Brian Pellin.
|
||||
*
|
||||
* This file is part of KeePassDroid.
|
||||
*
|
||||
* KeePassDroid is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* KeePassDroid is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with KeePassDroid. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
package com.keepassdroid;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
import com.keepassdroid.timeout.TimeoutHelper;
|
||||
|
||||
public abstract class LockingListActivity extends Activity {
|
||||
@Override
|
||||
protected void onPause() {
|
||||
super.onPause();
|
||||
|
||||
TimeoutHelper.pause(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
|
||||
TimeoutHelper.resume(this);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user