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

Commit 154bc063 authored by Alan Smithee's avatar Alan Smithee Committed by Daniel Sandler
Browse files

Tapping the clock now takes you to date/time settings.

Bug: 7175168
Change-Id: Ib430f0c5765cc6e474ed9a2a2a09e6a127cacf3c
parent a995b6e3
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -274,12 +274,7 @@ class QuickSettings {
        timeTile.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                // TODO: Jump into the clock application
                Intent intent = new Intent();
                intent.setComponent(new ComponentName(
                        "com.google.android.deskclock",
                        "com.android.deskclock.DeskClock"));
                startSettingsActivity(intent);
                startSettingsActivity(android.provider.Settings.ACTION_DATE_SETTINGS);
            }
        });
        mModel.addTimeTile(timeTile, new QuickSettingsModel.RefreshCallback() {