Revert "reuse findViewById result to avoid lint error"
This reverts commit b5e9dcc78b3a3b8e73f806d2ca577be791b72f05.
This commit is contained in:
parent
1df21568f1
commit
c8058db470
@ -283,7 +283,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
|
|||||||
// loader manager impl so that the result will be delivered.
|
// loader manager impl so that the result will be delivered.
|
||||||
LoaderManager.getInstance(this);
|
LoaderManager.getInstance(this);
|
||||||
|
|
||||||
snackbar = Snackbar.make(mWebView, "", Snackbar.LENGTH_LONG);
|
snackbar = Snackbar.make(findViewById(R.id.webview), "", Snackbar.LENGTH_LONG);
|
||||||
|
|
||||||
final Intent intent = getIntent();
|
final Intent intent = getIntent();
|
||||||
if (Intent.ACTION_VIEW.equals(intent.getAction())) {
|
if (Intent.ACTION_VIEW.equals(intent.getAction())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user