Remove unnecessary check

This commit is contained in:
Mauricio Colli 2017-06-06 11:46:57 -03:00
parent 6ecdfaf19e
commit 71d5762be8

View file

@ -189,9 +189,6 @@ public class MainActivity extends AppCompatActivity {
private void handleIntent(Intent intent) { private void handleIntent(Intent intent) {
if (DEBUG) Log.d(TAG, "handleIntent() called with: intent = [" + intent + "]"); if (DEBUG) Log.d(TAG, "handleIntent() called with: intent = [" + intent + "]");
if (intent.getBooleanExtra(Constants.KEY_THEME_CHANGE, false)) {
return;
}
if (intent.hasExtra(Constants.KEY_LINK_TYPE)) { if (intent.hasExtra(Constants.KEY_LINK_TYPE)) {
String url = intent.getStringExtra(Constants.KEY_URL); String url = intent.getStringExtra(Constants.KEY_URL);