open-keychain/OpenKeychain
Morgan Gangwere 73a1ceb732 Fix root cause of #1077
When importing lots of keys, lots of messages about the status of keys
is generated, including some debug slime and general fluff that
isn't really needed a lot of the time. As a result, a serious bug can come
along after key imports or certain operations which cause a log to become
parceled.

This commit implements a pool to "dehydrate" logs into: they are placed
into the pool (a ConcurrentHashMap) and a UUID assigned to them, which
is parceled along. When the OperationResult is un-parceled, it reads in
the appropriate UUID bits and rehydrates the appropriate log.

In order to avoid any memory leaks, the log pool removes a reference to
the log itself, allowing the log to die a natural death at the hands
of the GC..
2015-03-03 00:51:44 -07:00
..
src/main Fix root cause of #1077 2015-03-03 00:51:44 -07:00
.gitignore Fix gitignore for lint 2014-04-09 16:36:28 +02:00
build.gradle Reorder build.gradle 2015-03-02 18:50:38 +01:00