Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2527ef1b authored by Yorke Lee's avatar Yorke Lee Committed by Isaac Katzenelson
Browse files

Make up button in AlarmClock return to DeskClock

Bug: 7221205
Change-Id: I7e9cfe2a882fd4bf090f7c789333e6e0f6c245b3
parent 9aa3876a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -310,7 +310,9 @@ public class AlarmClock extends Activity implements OnItemClickListener {
                addNewAlarm();
                return true;
            case android.R.id.home:
                finish();
                Intent intent = new Intent(this, DeskClock.class);
                intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
                startActivity(intent);
                return true;
            default:
                break;