History log of /packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7ccfa0614caeba8eba5d3040a90541a24fa1e6c9 01-Mar-2013 Sungmin Choi <sungmin.choi@lge.com> use date from 1970-01-01 to 2037-12-31 in DatePickerDialog

In case of using DatePickerDialog, user could select any date
before 1970-01-01. However, the system clock cannot be set to
a date before 1970-01-01.
As a result, user couldn't select date before 1970-01-01.
So, use date from 1970-01-01 to 2037-12-31 of DatePickerDialog.

Steps to reproduce:
1. Settings -> Date & time
2. uncheck Automatic date & time
3. Set Date
4. choose any date before 1970 and Done

Change-Id: I075b3fcaa86df1c314c85dd3dd85474a28b8c637
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
21b5aacf34e5249b59cdbf0cc349fa2d604a25a4 16-Nov-2012 Amith Yamasani <yamasani@google.com> am 0aa79c73: am 60977265: Merge "Use AlarmManager calls to set date/time, instead of SystemClock.setTime" into jb-mr1.1-dev

* commit '0aa79c73948af7600f289928b18b3231d9679f81':
Use AlarmManager calls to set date/time, instead of SystemClock.setTime
5f050104386b96d8c99eb3ff0f5088814709348b 01-Nov-2012 Amith Yamasani <yamasani@google.com> Use AlarmManager calls to set date/time, instead of SystemClock.setTime

This way secondary users' settings app can request the system server to
set the time. Alarm driver cannot be opened as a secondary user.

Bug: 7459635
Change-Id: I1ae1630dc448021d35280a297c5d9960f8e8fc2e
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
797d620084df296b1d1d3e3c03d519fdf916f2d3 01-Nov-2012 Amith Yamasani <yamasani@google.com> am f9a2f324: Merge "Changed the way that date format selector is shown."

* commit 'f9a2f324d70cdbb4b0786f868ae01f99fe2734fb':
Changed the way that date format selector is shown.
b6676bb6a3515e1599d2342190c2d2d89d611d63 15-Oct-2012 Fábio Silva <fabio.fernando.osilva@gmail.com> Changed the way that date format selector is shown.

Changed the way that date format selector is shown excluding ambiguity when day and month have same value.
- i.e. 01/01/2012 (mm-DD-YYYY) and 01/01/2012 (DD-mm-YYYY)
Now it displays 31/12/2012 for DD-mm-YYYY and 12/31/2012 for mm-DD-YYYY.

Change-Id: I27434c9d5713491950d4f345dccf65d647d399cf
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
f1c085899dd3d9142392b9ab7841c0e9502526a3 12-Sep-2012 Christopher Tate <ctate@google.com> Correct settings namespace for auto time/tz

Bug 7148283

Change-Id: If585b16f5b6ea3046e64eb9c8355fa3c9fbeeada
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
6c7f55ee4b73d0131103f10211fdbe3742b41cbb 07-Sep-2012 Elliott Hughes <enh@google.com> Stop using getDSTSavings.

The original code was actually correct, but code calling inDaylightTime
and getDSTSavings directly is inherently suspect, so I want to clean up
this false positive along with the real abusers.

Bug: 6901488
Change-Id: I6c89e7aa29d88b81ed2c7fd6c915e0346b90a442
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
82723df002a27a79545dd18a52333973b056b720 06-Sep-2012 Elliott Hughes <enh@google.com> Stop hard-coding sample 12- and 24-hour times.

Bug: 6881640
Change-Id: I6b0d6404b0299f9efa8fd12779799f703f1c764f
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
8af88fb8387259e51615709b2d1ea0260f7057fd 31-Aug-2011 Robert Greenwalt <rgreenwalt@google.com> Use the new isNetworkSupported api for wifi-only

Didn't have an API for this before so people used a hacked system property (ro.carrier)
to determine if the device supported mobile data. Added new API and switching callsites.

bug:5087537
Change-Id: Ibd799559be102a9e2fd552d1a23d1afbcf8f4614
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
33ff11599553254683bbf4a5c75d5dee4251fd74 28-Jul-2011 Gilles Debunne <debunne@google.com> Bug AOSP 12476: Manual time setting resets seconds to 0.

Change-Id: If24d25050b3537832c3229cd84205f3b6cef1989
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
151b0e117443d874c475d25f7144bba1e1b438ef 13-Jun-2011 Kenny Root <kroot@google.com> Change dummy calendar setting during locale change

If the timezone changed too far, the example date would be "1/1/yyyy+1"
instead of "12/31/yyyy"

Move the setting of the Calendar time to where the string is calculated
to make sure we have the most up-to-date Locale.

Bug: 4596841
Change-Id: I67a253a65b1ea03ee717945c5df819beb8515662
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
7f6f6e18c9f078323b15c8185a7e707194e7d155 03-Jun-2011 Freeman Ng <tenorslowworm@google.com> use prefs-style layout for setup wizard date/time settings on non-xlarge screens

Adjusted the screen size test to fall back to phone version of
DateTimeSettingsSetupWizard on large screens.

I made the following changes from how the phone version works:

1. Some layout changes. (Tablet look, bigger margins.)
2. Use zone picker to select time zone.
3. Added isFirstRun boolean extra to hide the pref fields
we don't need to see from setup wizard

Furthermore, I made the following fixes to the existing phone flow
(which had probably never yet been tried on a phone):

1. Added conditionals around access to some variables that only
exist in the xlarge layout.
2. Implemented PreferenceFragment.OnPreferenceStartFragmentCallback
in DateTimeSettingsSetupWizard in order to catch the user tapping
on the timezone preference and show the time zone picker popup.
(Note: for phones in ICS, we might want to launch the zone picker
preferences style, like it would have been had this been a
PreferenceActivity. Or maybe we should just create a separate
DateTimeSettingsSetupWizardPhone activity that subclasses
PreferencesActivity and doesn't need to play this trick.)

Change-Id: Ib5774a005c9f44d730d86c13746d91eb712141cc
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
c06d4c48a9455d6018f2d793c6b8f211f1131055 25-Feb-2011 Amith Yamasani <yamasani@google.com> Remove more entries not relevant to wifi-only devices.

Bug: 3488384
Bug: 3487976
Bug: 3488381

Removed Cell standby entry from Battery use screen.
Removed Mobile signal strength from BatteryHistory screen.
Added wifi IP address to About->Status
Remove auto-timezone checkbox in Settings->Date & time

Change-Id: I228721a3613b1aeb600026e42274337886552698
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
126f5ecf4f5e53c08b0b68a81c44bd9840fd0907 03-Dec-2010 Svetoslav Ganov <svetoslavganov@google.com> removing explicit setting of time/date pciker dialogs

Change-Id: Ic92a3de895735fc019ca506f904d63f23c82ec8f
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
ea07165ef26b57dde4b45eee24200cdfaa5945e7 08-Nov-2010 Amith Yamasani <yamasani@google.com> Bug fixes, UI flow improvements.

Bug: 3173067 - Auto timezone checkbox out of sync with dependency
Bug: 3175116 - Crash when launching Manage Accounts screen
Move "Add Account" to a menu item from a button at the bottom.
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
1bb6db526771fa594b2e5c0865dc89dce3cf351c 17-Sep-2010 Amith Yamasani <yamasani@google.com> Add an Automatic Time Zone setting to Date & Time settings.

User can now enable auto-time but disable auto-timezone, especially
if we don't have NITZ time from the cell network (or wifi only)
and only have NTP time that gives us date and time.
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
29e812f29915d9bd84d516e53931ba774f62d328 14-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Check null of getActivity() when needed.

Some bloadcast is thrown when Activity isn't ready.

onResume() correctly update time so we don't need to
call updateTimeAndDateDisplay() when Activity is null.

Change-Id: Iea8feaa1111bb87e66462ed0f95fde9d07f2c68d
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
71cc548f7ee51ff77a2c1dfb5da7a3f7b6c55fd5 09-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Implement DateTimeSetings for Setup Wizard XL.

Make the orientation "behind", as XL would require landscape.

TODO:
- Automatic Time Zone should be available.
- Layout is immature: need to have better theme and layout xml.

Change-Id: Iafe141223a227643ca774f4df5e5b7fde9520d31
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
0f4f2f3a81f2a6d7100b4cff0d8de062cb2bc8f6 04-Sep-2010 Daisuke Miyakawa <dmiyakawa@google.com> Fragmentize ZoneList, which is needed in DateTimeSettings refactoring.

- remove old ZonePicker and rename ZoneList to ZonePicker, as
the name is really confusing (see LocalePicker)
- Make the new ZonePicker fragment.
- remove dependency toward "ZoneList" class.
-- AndroidManifest.xml does not allow the other components to
access ZoneList directly, so it would be ok to remove without
using activity-alias.
-- Noticed there is a significant code duplication between
DateTimeSettings and DateTimeSettingsActivity. I'll work on it
later.
- add DateTimeSettingsSetupWizardXL class, which is not used yet,
but will be in the near future.
-- It is not recognized by AndroidManifest.xml

Change-Id: Id26152a3d560f9e0bd84afdf3e1c5101f0e166b4
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
d79934731c8d33f6fc63b21c120b9ffba5d06f54 18-Aug-2010 Amith Yamasani <yamasani@google.com> Refactor settings top level activities to use fragments.

Added a base class SettingsPreferenceFragment from which the settings activities should
be derived so that they can behave like fragments. It contains some commonly called
utility methods and dialog conversion to DialogFragment.

Some of the top-level activities can be launched directly without the left pane.
Settings.java acts as a proxy activity that contains just that settings fragment without
the left pane.

There are still a lot of second and third level activities that need to be fragmentized.
This is just the first pass to test the 2-pane layout.
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
188ca778702938d87313592175a3c2ff86bd3218 12-Jun-2009 Eric Fischer <enf@google.com> Make the Settings side of the date format settings more locale-aware.

Remove the two formats that have a spelled-out month, since applications
using this setting are trying to format numeric dates.

Do not forcibly set the setting the first time you go into Date & Time --
let the setting remain null if it was null before.

Add a choice corresponding to null to the list of format options. It will
look like "Normal (12-31-2009)" in the list, and will cause the system
to use whatever numeric format the locale calls for.

For the other choices, feed them to the locale-aware formatter so they
will appear with the punctuation that the locale calls for.
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
e3744c8c8a4546b43d024ced6d25b2408da05f27 08-May-2009 Jim Miller <jaggies@google.com> Fix ANR caused by registering multiple listeners in DateTimeSettings.onCreate().
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
72ed6feab24308a0acd1fa2135afa3476759cf39 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
afc4ab2ffbb8327ddce9907961295a32cbf49d0f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
4e14e5ccbf1ef27220419849133d482a546d5c04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
1feaa85791b3b5cc66a16142afc2259a2356bc9e 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
abc48f80d8747b4fc051b7dd364355ee667a9bac 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java
de2d9f5f109265873196f1615e1f3546b114aaa7 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java