Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
fix(enroll): remove get picture from cache on enrollment
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelje authored and ajsb85 committed Aug 11, 2017
1 parent db242e3 commit ffdd708
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/src/main/java/org/flyve/mdm/agent/EnrollmentActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,6 @@ public void onClick(View v) {
cache = new DataStorage(EnrollmentActivity.this);

imgPhoto = (ImageView) findViewById(R.id.imgPhoto);
UserModel user = new UserController(EnrollmentActivity.this).getCache();
if(!user.getPicture().equals("")) {
imgPhoto.setImageBitmap(Helpers.StringToBitmap(user.getPicture()));
}

ImageView btnCamera = (ImageView) findViewById(R.id.btnCamera);
btnCamera.setOnClickListener(new View.OnClickListener() {
Expand Down

0 comments on commit ffdd708

Please sign in to comment.