AppDetails: Remove extra getter

This commit is contained in:
Daniel Martí 2015-10-23 12:25:20 +02:00
parent d32c866bb4
commit 960b67e950

View File

@ -699,7 +699,7 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
private void tryOpenUri(String s) { private void tryOpenUri(String s) {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(s)); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(s));
if (intent.resolveActivity(getPackageManager()) == null) { if (intent.resolveActivity(mPm) == null) {
Toast.makeText(this, Toast.makeText(this,
getString(R.string.no_handler_app, intent.getDataString()), getString(R.string.no_handler_app, intent.getDataString()),
Toast.LENGTH_LONG).show(); Toast.LENGTH_LONG).show();