diff --git a/app/src/main/java/org/flyve/mdm/agent/EnrollmentActivity.java b/app/src/main/java/org/flyve/mdm/agent/EnrollmentActivity.java index 5868961e4e..1309072856 100644 --- a/app/src/main/java/org/flyve/mdm/agent/EnrollmentActivity.java +++ b/app/src/main/java/org/flyve/mdm/agent/EnrollmentActivity.java @@ -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() {