Merge pull request #6312 from ATofighi/fix-6298-report-page-back-not-working

Fix ErrorActivity actionbar back button not working
This commit is contained in:
XiangRongLin 2021-05-17 12:12:12 +02:00 committed by GitHub
commit e0b246431f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ public class ErrorActivity extends AppCompatActivity {
@Override @Override
public boolean onOptionsItemSelected(final MenuItem item) { public boolean onOptionsItemSelected(final MenuItem item) {
switch (item.getItemId()) { switch (item.getItemId()) {
case R.id.home: case android.R.id.home:
onBackPressed(); onBackPressed();
return true; return true;
case R.id.menu_item_share_error: case R.id.menu_item_share_error: