diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index aba503a..632ad06 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -1324,7 +1324,7 @@ Hide apps from recents - Prevent apps from appearing in recents + Hide apps from appearing in recents Add app Recents diff --git a/src/com/cherish/settings/fragments/HAFRAppListActivity.java b/src/com/cherish/settings/fragments/HAFRAppListActivity.java index 1f9cb7c..61d1cfe 100644 --- a/src/com/cherish/settings/fragments/HAFRAppListActivity.java +++ b/src/com/cherish/settings/fragments/HAFRAppListActivity.java @@ -41,6 +41,8 @@ public class HAFRAppListActivity extends Activity { @SuppressLint("WorldReadableFiles") protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + setTitle(getResources().getText(R.string.hide_apps_from_recents_title)); + getActionBar().setDisplayHomeAsUpEnabled(true); mPref = getSharedPreferences(KEY_PREFERENCE_APPS, MODE_PRIVATE); loadList(); initAppList(); @@ -69,6 +71,9 @@ public class HAFRAppListActivity extends Activity { case ID_ADD_APP: dDialog.show(ID_ADD_APP); break; + case android.R.id.home: + finish(); + return true; } return false; }