diff options
author | Thialfihar <thialfihar@gmail.com> | 2010-06-03 16:17:55 +0000 |
---|---|---|
committer | Thialfihar <thialfihar@gmail.com> | 2010-06-03 16:17:55 +0000 |
commit | 600b44b9fcaeb1858664ad7e9edf459b3060913d (patch) | |
tree | 1bbc3cbc37a9c7c44bf3cb998cd998745ed1819e /src/org/thialfihar/android/apg/PreferencesActivity.java | |
parent | 371dc31b97621fabed643d75157222f98de30fbc (diff) | |
download | open-keychain-600b44b9fcaeb1858664ad7e9edf459b3060913d.tar.gz open-keychain-600b44b9fcaeb1858664ad7e9edf459b3060913d.tar.bz2 open-keychain-600b44b9fcaeb1858664ad7e9edf459b3060913d.zip |
added a service to handle the caching, this'll ensure the cache works while no activity is around, which is better for k9mail integration
it also is a more efficient and much smarter cache, not requiring an own timer thread, just a service that sleeps must of the time, it also is more accurate in cleaning up the entries, ensuring that the worst case of too late removal is 5 seconds
Diffstat (limited to 'src/org/thialfihar/android/apg/PreferencesActivity.java')
-rw-r--r-- | src/org/thialfihar/android/apg/PreferencesActivity.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/org/thialfihar/android/apg/PreferencesActivity.java b/src/org/thialfihar/android/apg/PreferencesActivity.java index fae63d63b..e80e1ad5f 100644 --- a/src/org/thialfihar/android/apg/PreferencesActivity.java +++ b/src/org/thialfihar/android/apg/PreferencesActivity.java @@ -50,7 +50,6 @@ public class PreferencesActivity extends BaseActivity { new Choice(180, getString(R.string.choice_3mins)),
new Choice(300, getString(R.string.choice_5mins)),
new Choice(600, getString(R.string.choice_10mins)),
- new Choice(0, getString(R.string.choice_untilQuit)),
};
ArrayAdapter<Choice> adapter =
new ArrayAdapter<Choice>(this, android.R.layout.simple_spinner_item, choices);
|