Tapping the clock now takes you to date/time settings.
Bug: 7175168 Change-Id: Ib430f0c5765cc6e474ed9a2a2a09e6a127cacf3c
This commit is contained in:
committed by
Daniel Sandler
parent
a995b6e37f
commit
154bc0631a
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user