@Override
 public void onPause() {
   super.onPause();
   if (googleApiClient != null) {
     googleApiClient.disconnect();
   }
 }
 @Override
 public void onHiddenChanged(boolean hidden) {
   super.onHiddenChanged(hidden);
   if (hidden) {
     return;
   }
   ((SoliciteActivity) getActivity()).enableNextButton(valid);
   ((SoliciteActivity) getActivity()).setInfo(R.string.selecione_o_local);
   if (file != null && !file.isEmpty()) {
     marcador.setImageBitmap(ImageUtils.getScaled(getActivity(), "reports", file));
   }
 }
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   if (map == null) {
     return;
   }
   if (getArguments() == null) {
     return;
   }
   Solicitacao solicitacao = (Solicitacao) getArguments().getSerializable("solicitacao");
   if (solicitacao != null) {
     file = solicitacao.getCategoria().getMarcador();
     CameraPosition p =
         new CameraPosition.Builder()
             .target(new LatLng(solicitacao.getLatitude(), solicitacao.getLongitude()))
             .zoom(16f)
             .build();
     CameraUpdate update = CameraUpdateFactory.newCameraPosition(p);
     map.moveCamera(update);
   }
   if (!TextUtils.isEmpty(file)) {
     marcador.setImageBitmap(ImageUtils.getScaled(getActivity(), "reports", file));
   }
 }
 @Override
 public void onResume() {
   super.onResume();
   setUpLocationClientIfNeeded();
   googleApiClient.connect();
 }