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

Bug: 7175168
Change-Id: Ib430f0c5765cc6e474ed9a2a2a09e6a127cacf3c
This commit is contained in:
Alan Smithee
2012-10-01 09:14:21 -04:00
committed by Daniel Sandler
parent a995b6e37f
commit 154bc0631a

View File

@@ -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() {