mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-23 17:22:16 -05:00
Allow helper to clear args and set booleans
This commit is contained in:
parent
3f0c80882e
commit
51b63d099c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user