'up'-buttons now work as expected
This commit is contained in:
parent
f49ec6e537
commit
532a167a48
|
@ -89,7 +89,7 @@ public class FlattrAuthActivity extends SherlockActivity {
|
||||||
public boolean onOptionsItemSelected(MenuItem item) {
|
public boolean onOptionsItemSelected(MenuItem item) {
|
||||||
switch (item.getItemId()) {
|
switch (item.getItemId()) {
|
||||||
case android.R.id.home:
|
case android.R.id.home:
|
||||||
finish();
|
startActivity(new Intent(this, PreferenceActivity.class));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -142,7 +142,7 @@ public class MediaplayerActivity extends SherlockFragmentActivity implements
|
||||||
public boolean onOptionsItemSelected(MenuItem item) {
|
public boolean onOptionsItemSelected(MenuItem item) {
|
||||||
switch (item.getItemId()) {
|
switch (item.getItemId()) {
|
||||||
case android.R.id.home:
|
case android.R.id.home:
|
||||||
finish();
|
startActivity(new Intent(MediaplayerActivity.this, MainActivity.class));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return FeedItemMenuHandler.onMenuItemClicked(this, item,
|
return FeedItemMenuHandler.onMenuItemClicked(this, item,
|
||||||
|
|
|
@ -84,7 +84,7 @@ public class PreferenceActivity extends SherlockPreferenceActivity {
|
||||||
public boolean onOptionsItemSelected(MenuItem item) {
|
public boolean onOptionsItemSelected(MenuItem item) {
|
||||||
switch (item.getItemId()) {
|
switch (item.getItemId()) {
|
||||||
case android.R.id.home:
|
case android.R.id.home:
|
||||||
finish();
|
startActivity(new Intent(PreferenceActivity.this, MainActivity.class));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue