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:
Mr_Worldwide 2018-03-15 09:34:30 +08:00
parent 48fd30c9ef
commit 9f3465bc1c
2 changed files with 3 additions and 2 deletions

View File

@ -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; */
} }
/** /**

View File

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