@Override protected void onNewIntent(Intent intent) { if (DEBUG) Log.d(TAG, "onNewIntent() called with: intent = [" + intent + "]"); super.onNewIntent(intent); if (intent != null) { playerState = null; playerImpl.handleIntent(intent); } }
@Override protected void onNewIntent(Intent intent) { if (DEBUG) Log.d(TAG, "onNewIntent() called with: intent = [" + intent + "]"); if (intent != null) { // Return if launched from a launcher (e.g. Nova Launcher, Pixel Launcher ...) // to not destroy the already created backstack String action = intent.getAction(); if ((action != null && action.equals(Intent.ACTION_MAIN)) && intent.hasCategory(Intent.CATEGORY_LAUNCHER)) return; } super.onNewIntent(intent); setIntent(intent); handleIntent(intent); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); try { setIntent(intent); handleUriStartupParams(); if (intent.getAction().equals("android.intent.action.SEARCH")) { switchContent(PreviewFragment.getInstance()); } }catch (Exception e){ e.printStackTrace(); } }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); String action = intent.getAction(); if (action == null) { return; } }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); setIntent(intent); if (mIsHasNavigationView) { overridePendingTransition(0, 0); } // getWindow().getDecorView().invalidate(); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); Utils.printIntent("MainActivity::onNewIntent()", intent); tryToShowContent(intent); }
@Override protected void onNewIntent(Intent intent) { Log.d("MainActivity", "onNewIntent: Wee"); if (intent.getBooleanExtra("UPDATE", false)) { refresh(); } List<String> errors = RuleDatabaseUpdateTask.lastErrors.getAndSet(null); if (errors != null && !errors.isEmpty()) { Log.d("MainActivity", "onNewIntent: It's an error"); errors.add(0, getString(R.string.update_incomplete_description)); new AlertDialog.Builder(this) .setAdapter(newAdapter(errors), null) .setTitle(R.string.update_incomplete) .setPositiveButton(android.R.string.ok, null) .show(); } super.onNewIntent(intent); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); attemptToConnectPSLab(); synchronized (this) { UsbDevice device = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); if (device != null && hasPermission) { PSLabisConnected = mScienceLabCommon.openDevice(communicationHandler); initialisationDialog.dismiss(); invalidateOptionsMenu(); if (navItemIndex == 0) { getSupportFragmentManager().beginTransaction().replace(R.id.frame, InstrumentsFragment.newInstance()).commit(); } else if (navItemIndex == 1) { getSupportFragmentManager().beginTransaction().replace(R.id.frame, HomeFragment.newInstance(true, true)).commitAllowingStateLoss(); } Toast.makeText(getApplicationContext(), getString(R.string.device_connected_successfully), Toast.LENGTH_SHORT).show(); } } }
@Override public void onNewIntent(Intent intent) { super.onNewIntent(intent); }
@Override protected void onNewIntent(Intent intent) { Log.i(LOG_TAG, this.getClass().getSimpleName() + " onNewIntent()"); super.onNewIntent(intent); }
@Override protected void onNewIntent(@NonNull Intent intent) { super.onNewIntent(intent); searcher.search(intent); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); proxyClass.onNewIntent(intent); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); proxyClass.onNewIntent(intent); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); // setIntent(intent); processExtraData(); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); setIntent(intent); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); setIntent(intent); if (mIsHasNavigationView) { overridePendingTransition(0, 0); } // getWindow().getDecorView().invalidate(); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); if (!setShaderFromIntent(intent)) { finish(); } }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); Acp.getInstance(this).requestPermissions(this); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); setIntent(intent); api.handleIntent(intent, this); }
@Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); if (mPrefs.getFoodState() == 0) { if (mPrefs.getCatReturns() && !mPrefs.getDoNotShow()) { getReturnDialog(this); } textView.setText(getResources().getString(R.string.empty_dish)); imageView.setImageResource(R.drawable.food_dish); } handleShortcutIntent(intent); }