Take the tour ×  I know that this is pretty strange, but I think
that I'm doing something wrong with it.  public void
checkUpgrade( final Context context, final int PREF_ID ) {
if (!StringHelper.isEmpty( type ) && !type.equals( TYPE_HIDDEN
)) {          if ( type.equals( TYPE_SUGGESTED ) && lastRemind +
reminderInterval < System.currentTimeMillis() ) {
AlertDialog.Builder builder = new AlertDialog.Builder( context
);         builder.setTitle( title ).setMessage( description
).setCancelable( type.equals( TYPE_SUGGESTED )
).setPositiveButton( "Update", new
DialogInterface.OnClickListener() {             public void
onClick(DialogInterface dialog, int id) {                 final
Intent browserIntent = new Intent( Intent.ACTION_VIEW,
Uri.parse( link ) );                 context.startActivity(
browserIntent );                 lastRemind = Long.MAX_VALUE;
save( context, PREF_ID );         } );         if (type.equals(
TYPE_SUGGESTED )) {             builder.setNegativeButton(
"Skip", ne