am 7689edd5: am 0a00cfdb: Merge "Tapping the clock now takes you to date/time settings." into jb-mr1-dev

* commit '7689edd5210198352bebf335711070a1d3d43b58':
  Tapping the clock now takes you to date/time settings.
This commit is contained in:
Alan Smithee
2012-10-01 10:17:14 -07:00
committed by Android Git Automerger

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