diff options
author | Andreas Straub <andy@strb.org> | 2014-04-13 20:41:06 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2014-04-13 21:13:37 +0200 |
commit | 901ce085a7df579b9c8c402b8af59a7ce7233044 (patch) | |
tree | dfd92ceacdfff6855eb95cc58571be1b424a104f /src/eu/siacs/conversations/utils/PhoneHelper.java | |
parent | 084ab51b1d7625cdf1cca4cc6a31715acffe5ce7 (diff) |
Major Contact Picture code cleanup
Notifications now have pseudotransparent icons, icons are generated in
the correct size.
Diffstat (limited to 'src/eu/siacs/conversations/utils/PhoneHelper.java')
-rw-r--r-- | src/eu/siacs/conversations/utils/PhoneHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/utils/PhoneHelper.java b/src/eu/siacs/conversations/utils/PhoneHelper.java index dd3e0e19..6355e378 100644 --- a/src/eu/siacs/conversations/utils/PhoneHelper.java +++ b/src/eu/siacs/conversations/utils/PhoneHelper.java @@ -72,10 +72,10 @@ public class PhoneHelper { mCursorLoader.startLoading(); } - public static Uri getSefliUri(Activity activity) { + public static Uri getSefliUri(Context context) { String[] mProjection = new String[] { Profile._ID, Profile.PHOTO_THUMBNAIL_URI }; - Cursor mProfileCursor = activity.getContentResolver().query( + Cursor mProfileCursor = context.getContentResolver().query( Profile.CONTENT_URI, mProjection, null, null, null); if (mProfileCursor.getCount() == 0) { |