OI Safe Patch for Issue #297

10 views
Skip to first unread message

rachee singh

unread,
Mar 23, 2011, 1:40:56 PM3/23/11
to openi...@googlegroups.com
I made a tiny patch for issue 297 [1]. This fix works this way:

1. When the text (username/password) is copied to the clipboard, it is
also copied to a static string variable in Safe.java.
2. When the safe is locked, the clipboard is compared to this static
variable, and if it is the same as the last stored password, the
clipboard is cleared.

Safe.java isn't terminated until the application terminates, so the
static variable we need is retained.

[1] http://code.google.com/p/openintents/issues/detail?id=297
oi_safe_clipboard_clear.patch

Peli

unread,
Mar 26, 2011, 8:08:13 AM3/26/11
to OpenIntents
Rachee,

Thanks a lot! I applied your patch here:
http://code.google.com/p/openintents/source/detail?r=3240
which fixes issue 297.

Please make sure to refer to this patch in your proposal.

Peli
>  oi_safe_clipboard_clear.patch
> 4KViewDownload
Reply all
Reply to author
Forward
0 new messages