OSDN Git Service

Documentation warning against short-lived Contexts
authorRobin Lee <rgl@google.com>
Fri, 12 Aug 2016 11:46:28 +0000 (12:46 +0100)
committerRobin Lee <rgl@google.com>
Tue, 23 Aug 2016 12:47:54 +0000 (12:47 +0000)
commitda23618043667e9cee680688b7413f65b400516e
treefb234ca3e4f157ba5d46e4b73dd36ba445fadd09
parentab6e7c3502e191abb956f9f17959b627e230b0db
Documentation warning against short-lived Contexts

It's better to use an Application Context rather than hoping the
activity won't be destroyed in another thread (because it will).

Change-Id: I9bf842d0d7dbedcc509a4a314d23a9a6cfca4d48
Fix: 29873669
keystore/java/android/security/KeyChain.java