mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-06 08:42:30 -08:00
Upgrade Notifications
This commit is contained in:
1 parent
9fd59f850c
commit
d36d2408d7
7 files changed
+212
-54
No files matched your search
@@ -8,9 +8,9 @@ import android.content.SharedPreferences;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.util.Log;
|
||||
|
||||
import com.kunzisoft.keepass.R;
|
||||
import com.keepassdroid.intents.Intents;
|
||||
import com.keepassdroid.services.TimeoutService;
|
||||
import com.kunzisoft.keepass.R;
|
||||
|
||||
public class Timeout {
|
||||
private static final int REQUEST_ID = 0;
|
||||
@@ -25,8 +25,6 @@ public class Timeout {
|
||||
}
|
||||
|
||||
public static void start(Context ctx) {
|
||||
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(ctx);
|
||||
String sTimeout = prefs.getString(ctx.getString(R.string.app_timeout_key), ctx.getString(R.string.clipboard_timeout_default));
|
||||
|
||||
@@ -58,7 +56,6 @@ public class Timeout {
|
||||
am.cancel(buildIntent(ctx));
|
||||
|
||||
ctx.stopService(new Intent(ctx, TimeoutService.class));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user