From 422d7a1c04ae39a0550a38efb8644e3876633d47 Mon Sep 17 00:00:00 2001 From: Adrian Ulrich Date: Sat, 25 Oct 2014 09:39:40 +0200 Subject: [PATCH] remove timebomb --- .../android/vanilla/LibraryActivity.java | 35 ------------------- 1 file changed, 35 deletions(-) diff --git a/src/ch/blinkenlights/android/vanilla/LibraryActivity.java b/src/ch/blinkenlights/android/vanilla/LibraryActivity.java index 9687f4c4..ba5671c3 100644 --- a/src/ch/blinkenlights/android/vanilla/LibraryActivity.java +++ b/src/ch/blinkenlights/android/vanilla/LibraryActivity.java @@ -61,11 +61,6 @@ import android.widget.RadioGroup; import android.widget.TextView; import android.widget.Toast; -import android.text.Html; -import android.text.util.Linkify; -import android.text.method.LinkMovementMethod; -import java.util.Calendar; - import com.viewpagerindicator.TabPageIndicator; import java.io.File; import junit.framework.Assert; @@ -164,35 +159,6 @@ public class LibraryActivity private LibraryAdapter mCurrentAdapter; - public void checkForStupidity() { - - Calendar cal = Calendar.getInstance(); - int month = cal.get(Calendar.MONTH); - int year = cal.get(Calendar.YEAR); - - if (month == 2 && year == 2015) { // March 2015 - ((TextView) new AlertDialog.Builder(this) - .setTitle("Info") - .setIcon(android.R.drawable.ic_dialog_info) - .setMessage(Html.fromHtml("Note
Vanilla Music has been removed from the play store due to "+ - "Google going bananas:
Google claims that Vanilla Music may violate intellectual property, but does not tell me how they came to this conclusion."+ - "
(See: here)

"+ - "Unfortunately there is nothing i can do about this - but you can avoid google and keep getting updates on Vanilla Music by switching to F-Droid!"+ - "

" - )) - .setNeutralButton("Ok", - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int whichButton) { - } - } - ) - .show() - .findViewById(android.R.id.message)) - .setMovementMethod(LinkMovementMethod.getInstance()); - } - } - - @Override public void onCreate(Bundle state) { @@ -200,7 +166,6 @@ public class LibraryActivity if (state == null) { checkForLaunch(getIntent()); - checkForStupidity(); } setContentView(R.layout.library_content);