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; } }