Don't finish the activity in second level of SettingsActivity

This commit is contained in:
seven332 committed 2018-10-19 23:07:45 +08:00
1 parent c7c6f8f706
commit cb92fbad3d
1 file changed
+1 -1
@@ -84,7 +84,7 @@ public final class SettingsActivity extends EhPreferenceActivity {
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish();
onBackPressed();
return true;
default:
return super.onOptionsItemSelected(item);