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
This commit is contained in:
parent
48fd30c9ef
commit
9f3465bc1c
|
@ -296,13 +296,13 @@ public class LoginActivity extends AppCompatActivity implements LoaderCallbacks<
|
||||||
|
|
||||||
|
|
||||||
private interface ProfileQuery {
|
private interface ProfileQuery {
|
||||||
String[] PROJECTION = {
|
/* String[] PROJECTION = {
|
||||||
ContactsContract.CommonDataKinds.Email.ADDRESS,
|
ContactsContract.CommonDataKinds.Email.ADDRESS,
|
||||||
ContactsContract.CommonDataKinds.Email.IS_PRIMARY,
|
ContactsContract.CommonDataKinds.Email.IS_PRIMARY,
|
||||||
};
|
};
|
||||||
|
|
||||||
int ADDRESS = 0;
|
int ADDRESS = 0;
|
||||||
int IS_PRIMARY = 1;
|
int IS_PRIMARY = 1; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -192,6 +192,7 @@ public class CircleImageView extends ImageView {
|
||||||
drawable.draw(canvas);
|
drawable.draw(canvas);
|
||||||
return bitmap;
|
return bitmap;
|
||||||
} catch (OutOfMemoryError e) {
|
} catch (OutOfMemoryError e) {
|
||||||
|
LOGGER.info("context");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue