aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyActivity.java
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-03-04 15:39:41 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-03-04 15:39:41 +0100
commitb662ff6c49e26d922e982edcaffb14b2c28b07ee (patch)
tree4304f02f25439e2ea408bf27370eb4b5de9903b6 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyActivity.java
parent502a0b5376993a87d4d249b163156433c7c12053 (diff)
downloadopen-keychain-b662ff6c49e26d922e982edcaffb14b2c28b07ee.tar.gz
open-keychain-b662ff6c49e26d922e982edcaffb14b2c28b07ee.tar.bz2
open-keychain-b662ff6c49e26d922e982edcaffb14b2c28b07ee.zip
Get high res version of contact photo
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyActivity.java')
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyActivity.java
index 94f2bf92b..f90326a7d 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyActivity.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyActivity.java
@@ -821,7 +821,7 @@ public class ViewKeyActivity extends BaseActivity implements
AsyncTask<Long, Void, Bitmap> photoTask =
new AsyncTask<Long, Void, Bitmap>() {
protected Bitmap doInBackground(Long... mMasterKeyId) {
- return ContactHelper.photoFromMasterKeyId(getContentResolver(), mMasterKeyId[0]);
+ return ContactHelper.loadPhotoByMasterKeyId(getContentResolver(), mMasterKeyId[0], true);
}
protected void onPostExecute(Bitmap photo) {