@Override public ViewGroup bind(final Activity activity) { activity.setContentView(R.layout.internal_activity_frame); ButterKnife.bind(this, activity); TelescopeLayout.cleanUp(activity); // Clean up any old screenshots. telescopeLayout.setLens(new BugReportLens(activity, lumberYard)); // If you have not seen the telescope dialog before, show it. if (!seenTelescopeDialog.get()) { telescopeLayout.postDelayed( new Runnable() { @Override public void run() { if (activity.isFinishing()) { return; } seenTelescopeDialog.set(true); showTelescopeDialog(activity); } }, 1000); } return telescopeLayout; }