aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/thialfihar
diff options
context:
space:
mode:
authorMarkus Doits <markus.doits@gmail.com>2011-01-09 20:12:12 +0000
committerMarkus Doits <markus.doits@gmail.com>2011-01-09 20:12:12 +0000
commit51b63d099c6794b01ae8cbdbdd56c9fe673e4e8a (patch)
tree78c0afdb38a6d80f452c4fbd0b809aaaea83ddd6 /src/org/thialfihar
parent3f0c80882e39881d6c93596ce498e50144836eae (diff)
downloadopen-keychain-51b63d099c6794b01ae8cbdbdd56c9fe673e4e8a.tar.gz
open-keychain-51b63d099c6794b01ae8cbdbdd56c9fe673e4e8a.tar.bz2
open-keychain-51b63d099c6794b01ae8cbdbdd56c9fe673e4e8a.zip
Allow helper to clear args and set booleans
Diffstat (limited to 'src/org/thialfihar')
-rw-r--r--src/org/thialfihar/android/apg/utils/ApgCon.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/org/thialfihar/android/apg/utils/ApgCon.java b/src/org/thialfihar/android/apg/utils/ApgCon.java
index 9e8fd2381..959e38ac2 100644
--- a/src/org/thialfihar/android/apg/utils/ApgCon.java
+++ b/src/org/thialfihar/android/apg/utils/ApgCon.java
@@ -149,6 +149,14 @@ public class ApgCon {
public void set_arg(String key, boolean val) {
args.putBoolean(key, val);
}
+
+ public void set_arg(String key, int val) {
+ args.putInt(key, val);
+ }
+
+ public void clear_args() {
+ args.clear();
+ }
public Object get_arg(String key) {
return args.get(key);