Fix ErrorActivity actionbar back button not working
The issue is because of R.id.home != android.R.id.home
This commit is contained in:
parent
b40540f626
commit
5604194123
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue