Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Simplify a string retrieval in FolderBrowserAdapter.
Also remove an unnecessary import from EmulationActivity.java. This should have been removed in the previous commit.
  • Loading branch information
lioncash committed Oct 3, 2013
1 parent c517b7f commit 4e08a6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Expand Up @@ -8,7 +8,6 @@

import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
Expand Down
Expand Up @@ -78,7 +78,7 @@ public View getView(int position, View convertView, ViewGroup parent)
if(subtitle != null)
{
// Remove the subtitle for all folders, except for the parent directory folder.
if (item.isDirectory() && !item.getSubtitle().equals(c.getResources().getString(R.string.parent_directory)))
if (item.isDirectory() && !item.getSubtitle().equals(c.getString(R.string.parent_directory)))
{
subtitle.setVisibility(View.GONE);
}
Expand Down

0 comments on commit 4e08a6c

Please sign in to comment.