Source:
<code>public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.plugin_browser_activity); mViewModel = ViewModelProviders.of(this).get(PluginBrowserViewModel.class); mSitePluginsRecycler = findViewById(R.id.installed_plugins_recycler); mPopularPluginsRecycler = findViewById(R.id.popular_plugins_recycler); mNewPluginsRecycler = findViewById(R.id.new_plugins_recycler); Toolbar toolbar = findViewById(R.id.toolbar); setSupportActionBar(toolbar); ActionBar actionBar = getSupportActionBar(); if (actionBar != null) { actionBar.setHomeButtonEnabled(true); actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setElevation(0); } if (savedInstanceState == null) { mViewModel.setSite((SiteModel) getIntent().getSerializableExtra(WordPress.SITE)); } if (mViewModel.getSite() == null) { <START> ToastUtils.showToast(this, R.string.blog_not_found, ToastUtils.Duration.SHORT); <END> finish(); return; } findViewById(R.id.text_manage).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showListFragment(PluginListType.SITE); } }); findViewById(R.id.text_all_popular).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showListFragment(PluginListType.POPULAR); } }); findViewById(R.id.text_all_new).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showListFragment(PluginListType.NEW); } }); getSupportFragmentManager().addOnBackStackChangedListener(new FragmentManager.OnBackStackChangedListener() { @Override public void onBackStackChanged() { if (getSupportFragmentManager().getBackStackEntryCount() == 0) { mViewModel.setTitle(getString(R.string.plugins)); } } }); configureRecycler(mSitePluginsRecycler); configureRecycler(mPopularPluginsRecycler); configureRecycler(mNewPluginsRecycler); mViewModel.start(); setupObservers(); }</code><technical_language>This need changed, wanted point out ToastUtils.Duration.SHORT is default param need passed</technical_language>

Target:
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ((WordPress) getApplication()).component().inject(this); setContentView(R.layout.plugin_browser_activity); mViewModel = ViewModelProviders.of(this, mViewModelFactory).get(PluginBrowserViewModel.class); mSitePluginsRecycler = findViewById(R.id.installed_plugins_recycler); mPopularPluginsRecycler = findViewById(R.id.popular_plugins_recycler); mNewPluginsRecycler = findViewById(R.id.new_plugins_recycler); Toolbar toolbar = findViewById(R.id.toolbar); setSupportActionBar(toolbar); ActionBar actionBar = getSupportActionBar(); if (actionBar != null) { actionBar.setHomeButtonEnabled(true); actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setElevation(0); } if (savedInstanceState == null) { mViewModel.setSite((SiteModel) getIntent().getSerializableExtra(WordPress.SITE)); } if (mViewModel.getSite() == null) { ToastUtils.showToast(this, R.string.blog_not_found); finish(); return; } findViewById(R.id.text_manage).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showListFragment(PluginListType.SITE); } }); findViewById(R.id.text_all_popular).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showListFragment(PluginListType.POPULAR); } }); findViewById(R.id.text_all_new).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showListFragment(PluginListType.NEW); } }); getSupportFragmentManager().addOnBackStackChangedListener(new FragmentManager.OnBackStackChangedListener() { @Override public void onBackStackChanged() { if (getSupportFragmentManager().getBackStackEntryCount() == 0) { mViewModel.setTitle(getString(R.string.plugins)); } } }); configureRecycler(mSitePluginsRecycler); configureRecycler(mPopularPluginsRecycler); configureRecycler(mNewPluginsRecycler); mViewModel.start(); setupObservers(); }