From 9f3465bc1c47db65fb7b73f83ecd4b25142bb117 Mon Sep 17 00:00:00 2001 From: Mr_Worldwide <1905563644@qq.com> Date: Thu, 15 Mar 2018 09:34:30 +0800 Subject: [PATCH] src\MyApplication\app\src\main\java\com\example\administrator\myapplication\LoginActivity.java src\MyApplication\app\src\main\java\com\example\administrator\myapplication\widget\CircleImageView.java --- .../example/administrator/myapplication/LoginActivity.java | 4 ++-- .../administrator/myapplication/widget/CircleImageView.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/LoginActivity.java b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/LoginActivity.java index c4b916e..4bb7c74 100644 --- a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/LoginActivity.java +++ b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/LoginActivity.java @@ -296,13 +296,13 @@ public class LoginActivity extends AppCompatActivity implements LoaderCallbacks< private interface ProfileQuery { - String[] PROJECTION = { +/* String[] PROJECTION = { ContactsContract.CommonDataKinds.Email.ADDRESS, ContactsContract.CommonDataKinds.Email.IS_PRIMARY, }; int ADDRESS = 0; - int IS_PRIMARY = 1; + int IS_PRIMARY = 1; */ } /** diff --git a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/widget/CircleImageView.java b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/widget/CircleImageView.java index 3295480..accbe1d 100644 --- a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/widget/CircleImageView.java +++ b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/widget/CircleImageView.java @@ -192,6 +192,7 @@ public class CircleImageView extends ImageView { drawable.draw(canvas); return bitmap; } catch (OutOfMemoryError e) { + LOGGER.info("context"); return null; } }