OSDN Git Service

android-x86/packages-apps-DeskClock.git
14 years agoam 109d4af6: am 52b3d633: Use Clockopia as the typeface for the digital clock.
Patrick Scott [Tue, 20 Oct 2009 16:35:35 +0000 (09:35 -0700)]
am 109d4af6: am 52b3d633: Use Clockopia as the typeface for the digital clock.

Merge commit '109d4af68f0536813786a2c4ca01a462f8755a88' into eclair-mr2-plus-aosp

* commit '109d4af68f0536813786a2c4ca01a462f8755a88':
  Use Clockopia as the typeface for the digital clock.

14 years agoam 52b3d633: Use Clockopia as the typeface for the digital clock.
Patrick Scott [Tue, 20 Oct 2009 16:22:53 +0000 (09:22 -0700)]
am 52b3d633: Use Clockopia as the typeface for the digital clock.

Merge commit '52b3d633a031c64dcefefc4884b9cea5781425c2' into eclair-mr2

* commit '52b3d633a031c64dcefefc4884b9cea5781425c2':
  Use Clockopia as the typeface for the digital clock.

14 years agoUse Clockopia as the typeface for the digital clock.
Patrick Scott [Tue, 20 Oct 2009 15:10:33 +0000 (11:10 -0400)]
Use Clockopia as the typeface for the digital clock.

14 years agoam 1d09799c: am 93e942a9: Change the default alarms.
Patrick Scott [Mon, 19 Oct 2009 20:47:06 +0000 (13:47 -0700)]
am 1d09799c: am 93e942a9: Change the default alarms.

Merge commit '1d09799c923973c491a6e04594d254401b3fd9a7' into eclair-mr2-plus-aosp

* commit '1d09799c923973c491a6e04594d254401b3fd9a7':
  Change the default alarms.

14 years agoam 2eb3900c: resolved conflicts for merge of aafb2fd2 to eclair-mr2
Patrick Scott [Mon, 19 Oct 2009 20:47:03 +0000 (13:47 -0700)]
am 2eb3900c: resolved conflicts for merge of aafb2fd2 to eclair-mr2

Merge commit '2eb3900c6917520f546f44e4d9ca6f045cffe9ea' into eclair-mr2-plus-aosp

* commit '2eb3900c6917520f546f44e4d9ca6f045cffe9ea':
  Remove the clock face from the alarm list.

14 years agoam 93e942a9: Change the default alarms.
Patrick Scott [Mon, 19 Oct 2009 20:42:03 +0000 (13:42 -0700)]
am 93e942a9: Change the default alarms.

Merge commit '93e942a97a3aba0ad68be6b3db181c939199fa2e' into eclair-mr2

* commit '93e942a97a3aba0ad68be6b3db181c939199fa2e':
  Change the default alarms.

14 years agoresolved conflicts for merge of aafb2fd2 to eclair-mr2
Patrick Scott [Mon, 19 Oct 2009 20:37:42 +0000 (16:37 -0400)]
resolved conflicts for merge of aafb2fd2 to eclair-mr2

14 years agoChange the default alarms.
Patrick Scott [Mon, 19 Oct 2009 20:15:39 +0000 (16:15 -0400)]
Change the default alarms.

8:30 am MTWThF
9:00 am SatSun

14 years agoRemove the clock face from the alarm list.
Patrick Scott [Mon, 19 Oct 2009 12:52:35 +0000 (08:52 -0400)]
Remove the clock face from the alarm list.

Remove all the clock layouts except the digital. Remove the clock picker and any
settings related to change the clock face.

Next step: Move the settings and add alarm menu items to buttons.

14 years agoam 3dbaa9d0: am fa954248: Moving things around a little in the new DeskClock.
Daniel Sandler [Sat, 17 Oct 2009 00:46:03 +0000 (17:46 -0700)]
am 3dbaa9d0: am fa954248: Moving things around a little in the new DeskClock.

Merge commit '3dbaa9d07abf3133024bac468e452a071f270fac' into eclair-mr2-plus-aosp

* commit '3dbaa9d07abf3133024bac468e452a071f270fac':
  Moving things around a little in the new DeskClock.

14 years agoam fa954248: Moving things around a little in the new DeskClock.
Daniel Sandler [Sat, 17 Oct 2009 00:41:07 +0000 (17:41 -0700)]
am fa954248: Moving things around a little in the new DeskClock.

Merge commit 'fa954248b41b567dfa2ddd7bd063d3936a51758e' into eclair-mr2

* commit 'fa954248b41b567dfa2ddd7bd063d3936a51758e':
  Moving things around a little in the new DeskClock.

14 years agoMoving things around a little in the new DeskClock.
Daniel Sandler [Fri, 16 Oct 2009 20:12:30 +0000 (16:12 -0400)]
Moving things around a little in the new DeskClock.

- Package is now com.android.deskclock
- Launches in response to insertion in desk dock or
  DESK dialercode

TODO next: split the AlarmClock activity into a DeskClock
and AlarmList (or similar).

14 years agoam 6cca0476: am 14ce9ec6: Fix the build.
Patrick Scott [Fri, 16 Oct 2009 17:41:00 +0000 (10:41 -0700)]
am 6cca0476: am 14ce9ec6: Fix the build.

Merge commit '6cca0476e07152f69e23aead74e3939efd45485e' into eclair-mr2-plus-aosp

* commit '6cca0476e07152f69e23aead74e3939efd45485e':
  Fix the build.

14 years agoam 14ce9ec6: Fix the build.
Patrick Scott [Fri, 16 Oct 2009 17:36:31 +0000 (10:36 -0700)]
am 14ce9ec6: Fix the build.

Merge commit '14ce9ec6510253b32d5e78ed8b878a29bac303af' into eclair-mr2

* commit '14ce9ec6510253b32d5e78ed8b878a29bac303af':
  Fix the build.

14 years agoFix the build.
Patrick Scott [Fri, 16 Oct 2009 17:28:58 +0000 (13:28 -0400)]
Fix the build.

14 years agoam a00e52f8: Import revised translations. DO NOT MERGE
Eric Fischer [Wed, 14 Oct 2009 00:08:51 +0000 (17:08 -0700)]
am a00e52f8: Import revised translations.  DO NOT MERGE

Merge commit 'a00e52f8612510e9f08c59f92698601d3c7b26c9' into eclair-mr2-plus-aosp

* commit 'a00e52f8612510e9f08c59f92698601d3c7b26c9':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 13 Oct 2009 23:04:30 +0000 (16:04 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoam d8b0b8c5: Clicking the analog clock widget launches the AlarmClock.
Patrick Scott [Tue, 13 Oct 2009 16:36:30 +0000 (09:36 -0700)]
am d8b0b8c5: Clicking the analog clock widget launches the AlarmClock.

Merge commit 'd8b0b8c558f0c6d9acbb550fd5a014d7fb71b807' into eclair-mr2-plus-aosp

* commit 'd8b0b8c558f0c6d9acbb550fd5a014d7fb71b807':
  Clicking the analog clock widget launches the AlarmClock.

14 years agoClicking the analog clock widget launches the AlarmClock.
Patrick Scott [Tue, 13 Oct 2009 13:06:14 +0000 (09:06 -0400)]
Clicking the analog clock widget launches the AlarmClock.

Bug: 2171549

14 years agoam d56e7ebb: Avoid a NPE in the monkey by checking for a null alarm.
Patrick Scott [Mon, 12 Oct 2009 17:29:40 +0000 (10:29 -0700)]
am d56e7ebb: Avoid a NPE in the monkey by checking for a null alarm.

Merge commit 'd56e7ebbe8c65b2150214eb3254d36226c1c42a6' into eclair-mr2-plus-aosp

* commit 'd56e7ebbe8c65b2150214eb3254d36226c1c42a6':
  Avoid a NPE in the monkey by checking for a null alarm.

14 years agoAvoid a NPE in the monkey by checking for a null alarm.
Patrick Scott [Mon, 12 Oct 2009 12:35:36 +0000 (08:35 -0400)]
Avoid a NPE in the monkey by checking for a null alarm.

14 years agoam bcfaaa6b: Post a runnable during configuration changes to avoid an ANR.
Patrick Scott [Fri, 9 Oct 2009 17:04:37 +0000 (10:04 -0700)]
am bcfaaa6b: Post a runnable during configuration changes to avoid an ANR.

Merge commit 'bcfaaa6b567b95df64499c2a2e3c15780438a2dc' into eclair-mr2-plus-aosp

* commit 'bcfaaa6b567b95df64499c2a2e3c15780438a2dc':
  Post a runnable during configuration changes to avoid an ANR.

14 years agoPost a runnable during configuration changes to avoid an ANR.
Patrick Scott [Fri, 9 Oct 2009 16:14:51 +0000 (12:14 -0400)]
Post a runnable during configuration changes to avoid an ANR.

Doing a relayout of the screen causes a lot of things to happen. One of which is
the analog clock registers a broadcast receiver.

Do a little cleanup as well.

14 years agoam ba2f6090: Always enable the alarm when clicking done.
Patrick Scott [Fri, 9 Oct 2009 13:13:20 +0000 (06:13 -0700)]
am ba2f6090: Always enable the alarm when clicking done.

Merge commit 'ba2f609058d9526625c35cc80ad20c3b84722754' into eclair-mr2-plus-aosp

* commit 'ba2f609058d9526625c35cc80ad20c3b84722754':
  Always enable the alarm when clicking done.

14 years agoAlways enable the alarm when clicking done.
Patrick Scott [Fri, 9 Oct 2009 13:04:25 +0000 (09:04 -0400)]
Always enable the alarm when clicking done.

Bug: 2173934

14 years agoam 75e5015d: am e8450e9c: (-s ours) am eecd5bff: (-s ours) Import revised translation...
Eric Fischer [Fri, 9 Oct 2009 00:52:25 +0000 (17:52 -0700)]
am 75e5015d: am e8450e9c: (-s ours) am eecd5bff: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '75e5015d928631fed02862d7fa3abf56e0a6f11c' into eclair-mr2-plus-aosp

* commit '75e5015d928631fed02862d7fa3abf56e0a6f11c':

14 years agoMerge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform...
Eric Fischer [Fri, 9 Oct 2009 00:52:25 +0000 (17:52 -0700)]
Merge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform/packages/apps/AlarmClock into eclair-mr2-plus-aosp

14 years agoam e8450e9c: (-s ours) am eecd5bff: (-s ours) Import revised translations. DO NOT...
Eric Fischer [Fri, 9 Oct 2009 00:33:25 +0000 (17:33 -0700)]
am e8450e9c: (-s ours) am eecd5bff: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit 'e8450e9c861ebd82f10ca50863017854e96a882e' into eclair-mr2

* commit 'e8450e9c861ebd82f10ca50863017854e96a882e':
  Import revised translations.  DO NOT MERGE

14 years agoam e8450e9c: am eecd5bff: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 8 Oct 2009 22:13:54 +0000 (15:13 -0700)]
am e8450e9c: am eecd5bff: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit 'e8450e9c861ebd82f10ca50863017854e96a882e' into eclair-plus-aosp

* commit 'e8450e9c861ebd82f10ca50863017854e96a882e':
  Import revised translations.  DO NOT MERGE

14 years agoam eecd5bff: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 8 Oct 2009 22:00:21 +0000 (15:00 -0700)]
am eecd5bff: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit 'eecd5bff15281c7feec9c9cb9b86157ec5e7d46e' into eclair

* commit 'eecd5bff15281c7feec9c9cb9b86157ec5e7d46e':
  Import revised translations.  DO NOT MERGE

14 years agoam f150fa8a: Merge change If8d2e944 into eclair
Mike Cleron [Wed, 7 Oct 2009 18:38:37 +0000 (11:38 -0700)]
am f150fa8a: Merge change If8d2e944 into eclair

Merge commit 'f150fa8ad061efee81604f422eaaaf1579494a6d' into eclair-plus-aosp

* commit 'f150fa8ad061efee81604f422eaaaf1579494a6d':
  Icons again

14 years agoam b348a187: Remove superfluous icon.
Daniel Sandler [Wed, 7 Oct 2009 18:38:29 +0000 (11:38 -0700)]
am b348a187: Remove superfluous icon.

Merge commit 'b348a187b70cf3d95c6394622055c2000ee5fc53' into eclair-plus-aosp

* commit 'b348a187b70cf3d95c6394622055c2000ee5fc53':
  Remove superfluous icon.

14 years agoam aa677789: Switch from dialog to fullscreen when the keyguard is showing.
Patrick Scott [Mon, 5 Oct 2009 17:13:17 +0000 (10:13 -0700)]
am aa677789: Switch from dialog to fullscreen when the keyguard is showing.

Merge commit 'aa67778949c2506c7e66f37b1baeef4fc2f1ab27' into eclair-mr2-plus-aosp

* commit 'aa67778949c2506c7e66f37b1baeef4fc2f1ab27':
  Switch from dialog to fullscreen when the keyguard is showing.

14 years agoMerge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform...
Daisuke Miyakawa [Mon, 5 Oct 2009 17:13:17 +0000 (10:13 -0700)]
Merge branch 'eclair-plus-aosp' of ssh://android-git.corp.google.com:29418/platform/packages/apps/AlarmClock into eclair-mr2-plus-aosp

14 years agoSwitch from dialog to fullscreen when the keyguard is showing.
Patrick Scott [Mon, 5 Oct 2009 13:00:14 +0000 (09:00 -0400)]
Switch from dialog to fullscreen when the keyguard is showing.

Make AlarmAlert derive from AlarmAlertFullScreen. This looks like a massive
change but it is mostly a rename. Use a broadcast receiver to listen for the
screen turning off. Attempt to read the keyguard status up to 5 times in order
to launch the fullscreen activity. Add "screen_off" to the intent extras to
indicate that the intent is from the screen_off broadcast and to not wake the
screen.

The overall goal of this is that if the alarm fires while the device is on and
the user turns the screen off and then on, the full screen alert will show so
that the user can dismiss the alert.

14 years agoMerge change If8d2e944 into eclair
Android (Google) Code Review [Fri, 2 Oct 2009 14:43:25 +0000 (10:43 -0400)]
Merge change If8d2e944 into eclair

* changes:
  Icons again

14 years agoIcons again
Mike Cleron [Fri, 2 Oct 2009 07:28:57 +0000 (00:28 -0700)]
Icons again

14 years agoRemove superfluous icon.
Daniel Sandler [Thu, 1 Oct 2009 15:11:46 +0000 (11:11 -0400)]
Remove superfluous icon.

Use old Cupcake icon as mdpi until we get a proper mdpi version of the new
icon.

Change-Id: I5bbd624a77ab5b37570f10b2159198683b09f3a3

14 years agoam 777585c6: Fix issue #2154688: when alarm rings ,device does not wake up...
Dianne Hackborn [Thu, 1 Oct 2009 11:56:54 +0000 (04:56 -0700)]
am 777585c6: Fix issue #2154688: when alarm rings ,device does not wake up...

Merge commit '777585c68d7bfa7bae7a928f53e27e471300bf7c' into eclair-plus-aosp

* commit '777585c68d7bfa7bae7a928f53e27e471300bf7c':
  Fix issue #2154688: when alarm rings ,device does not wake up...

14 years agoFix issue #2154688: when alarm rings ,device does not wake up...
Dianne Hackborn [Thu, 1 Oct 2009 04:04:44 +0000 (21:04 -0700)]
Fix issue #2154688: when alarm rings ,device does not wake up...

...and can't see Dismiss and Snooze button if the device is on dock

Change-Id: Ib76b54f0a65930e142a3da1e1152f70d7f3ad3c7
Explanation: only the fullscreen alarm activity had the flags set to turn on
the screen and dismiss the lock screen.  The app picks whether to show
that one or the non-fullscreen one based on whether device is currently
locked, which is correct, but with the introduction of docks, locked
!= screen off.  In particular, the desk dock keeps the keyguard dismissed
while the device is in it.

The fix is to just set these flags for both alert activities.  That seems
generally right for many reasons.

14 years agoam 0e14f840: Merge change I7495b004 into eclair
Patrick Scott [Wed, 30 Sep 2009 19:30:59 +0000 (12:30 -0700)]
am 0e14f840: Merge change I7495b004 into eclair

Merge commit '0e14f8406686953debc5087047df5f6654023da7' into eclair-plus-aosp

* commit '0e14f8406686953debc5087047df5f6654023da7':
  Pressing back will now save the alarm similar to how donut behaves.

14 years agoMerge change I7495b004 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 19:23:13 +0000 (15:23 -0400)]
Merge change I7495b004 into eclair

* changes:
  Pressing back will now save the alarm similar to how donut behaves.

14 years agoPressing back will now save the alarm similar to how donut behaves.
Patrick Scott [Wed, 30 Sep 2009 19:05:55 +0000 (15:05 -0400)]
Pressing back will now save the alarm similar to how donut behaves.

Do not pop the toast unless the alarm is enabled. Keep the enabled state when
saving the alarm unless the time has changed.

14 years agoam 5936eeaa: Merge change Ie77b0e71 into eclair
Mike Cleron [Wed, 30 Sep 2009 16:13:26 +0000 (09:13 -0700)]
am 5936eeaa: Merge change Ie77b0e71 into eclair

Merge commit '5936eeaa35de736fb7a0931298946fd5606d0256' into eclair-plus-aosp

* commit '5936eeaa35de736fb7a0931298946fd5606d0256':
  Newer icons

14 years agoMerge change Ie77b0e71 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 16:05:31 +0000 (12:05 -0400)]
Merge change Ie77b0e71 into eclair

* changes:
  Newer icons

14 years agoam 99f4af14: Updated AlarmClock hdpi graphics.
Daniel Sandler [Wed, 30 Sep 2009 13:14:19 +0000 (06:14 -0700)]
am 99f4af14: Updated AlarmClock hdpi graphics.

Merge commit '99f4af142a86125fd16b3df9b165f3223c2e4e29' into eclair-plus-aosp

* commit '99f4af142a86125fd16b3df9b165f3223c2e4e29':
  Updated AlarmClock hdpi graphics.

14 years agoUpdated AlarmClock hdpi graphics.
Daniel Sandler [Wed, 30 Sep 2009 12:55:05 +0000 (08:55 -0400)]
Updated AlarmClock hdpi graphics.

Change-Id: Icd93c45ac7431434328d9a737979e057285e0e40

14 years agoNewer icons
Mike Cleron [Wed, 30 Sep 2009 08:08:16 +0000 (01:08 -0700)]
Newer icons

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 29 Sep 2009 23:40:14 +0000 (16:40 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoam 511c3514: Merge change I3105cddf into eclair
Patrick Scott [Tue, 29 Sep 2009 18:25:28 +0000 (11:25 -0700)]
am 511c3514: Merge change I3105cddf into eclair

Merge commit '511c35144c8e976bb75f6c066f7c3a2ebbbc83b8' into eclair-plus-aosp

* commit '511c35144c8e976bb75f6c066f7c3a2ebbbc83b8':
  Use onStartCommand since onStart is deprecated.

14 years agoMerge change I3105cddf into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 18:19:46 +0000 (14:19 -0400)]
Merge change I3105cddf into eclair

* changes:
  Use onStartCommand since onStart is deprecated.

14 years agoUse onStartCommand since onStart is deprecated.
Patrick Scott [Tue, 29 Sep 2009 15:21:24 +0000 (11:21 -0400)]
Use onStartCommand since onStart is deprecated.

If the intent is non-null and contains a valid alarm, return
START_STICKY.

14 years agoam 27d3defc: New icon
Mike Cleron [Tue, 29 Sep 2009 17:54:05 +0000 (10:54 -0700)]
am 27d3defc: New icon

Merge commit '27d3defc38208ef56be33ea634ecdef17caf3f86' into eclair-plus-aosp

* commit '27d3defc38208ef56be33ea634ecdef17caf3f86':
  New icon

14 years agoNew icon
Mike Cleron [Tue, 29 Sep 2009 06:42:54 +0000 (23:42 -0700)]
New icon

14 years agoam 29dbeab9: Update to use new unlock APIs, new wallpaper theme.
Dianne Hackborn [Tue, 22 Sep 2009 21:43:55 +0000 (14:43 -0700)]
am 29dbeab9: Update to use new unlock APIs, new wallpaper theme.

Merge commit '29dbeab977ead46e10efce114e1f21a55d556100' into eclair-plus-aosp

* commit '29dbeab977ead46e10efce114e1f21a55d556100':
  Update to use new unlock APIs, new wallpaper theme.

14 years agoUpdate to use new unlock APIs, new wallpaper theme.
Dianne Hackborn [Tue, 22 Sep 2009 20:44:12 +0000 (13:44 -0700)]
Update to use new unlock APIs, new wallpaper theme.

Also don't allow the user to press back when in the full screen alarm.

Change-Id: Ic0c9658c75d3a2b3f49028f432fe226b1a0d8e9e

14 years agoam 98948f9c: Fix a couple race conditions with expired alarms.
Patrick Scott [Fri, 18 Sep 2009 20:46:36 +0000 (13:46 -0700)]
am 98948f9c: Fix a couple race conditions with expired alarms.

Merge commit '98948f9ce1dabcc79350a847baf220635b0c087a' into eclair-plus-aosp

* commit '98948f9ce1dabcc79350a847baf220635b0c087a':
  Fix a couple race conditions with expired alarms.

14 years agoFix a couple race conditions with expired alarms.
Patrick Scott [Fri, 18 Sep 2009 20:02:09 +0000 (16:02 -0400)]
Fix a couple race conditions with expired alarms.

Log the alarm time in a pretty format for easier debugging. Disable expired
alarms when calculating the next alert. This solves 2 problems: an expired alarm
remains checked in the UI and the expired alarm is sent to the alarm manager. I
believe the second problem is causing bug 2080160.

14 years agoam e58c886f: Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 17 Sep 2009 21:54:10 +0000 (14:54 -0700)]
am e58c886f: Import revised translations.  DO NOT MERGE

Merge commit 'e58c886fcb0f1593a71e81ec5f28d610ac297700' into eclair-plus-aosp

* commit 'e58c886fcb0f1593a71e81ec5f28d610ac297700':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 17 Sep 2009 21:28:38 +0000 (14:28 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoam 53205356: Use new window manager flag for turning on the screen.
Dianne Hackborn [Wed, 16 Sep 2009 18:22:26 +0000 (11:22 -0700)]
am 53205356: Use new window manager flag for turning on the screen.

Merge commit '53205356eb422db2f3460425053c5fe4df8ceeda' into eclair-plus-aosp

* commit '53205356eb422db2f3460425053c5fe4df8ceeda':
  Use new window manager flag for turning on the screen.

14 years agoUse new window manager flag for turning on the screen.
Dianne Hackborn [Wed, 16 Sep 2009 05:58:50 +0000 (22:58 -0700)]
Use new window manager flag for turning on the screen.

This allows the alert to no longer deal with a full wake lock itself,
and allows the window manager to take care of not turning it on until
the activity's window is actually displayed.

Change-Id: I2c3529c3d12a5a9c9add71636ce958d3205832e8

14 years agoam cf730740: Prevent leaking windows by listening for config changes.
Patrick Scott [Tue, 15 Sep 2009 16:52:24 +0000 (09:52 -0700)]
am cf730740: Prevent leaking windows by listening for config changes.

Merge commit 'cf7307401797b159ca32f85e7cf38d18cececd0d' into eclair-plus-aosp

* commit 'cf7307401797b159ca32f85e7cf38d18cececd0d':
  Prevent leaking windows by listening for config changes.

14 years agoPrevent leaking windows by listening for config changes.
Patrick Scott [Tue, 15 Sep 2009 13:37:57 +0000 (09:37 -0400)]
Prevent leaking windows by listening for config changes.

Remove the old database sanity check as it will not happen. Remove the strings
associated with the db error as well. Update the layout of the AlarmClock
activity during configuration changes so that the activity is no longer
destroyed and leaking the delete alert.

14 years agoam 6b74f6f5: Revert the AlarmAlert to a rotatable activity.
Patrick Scott [Tue, 15 Sep 2009 15:07:36 +0000 (08:07 -0700)]
am 6b74f6f5: Revert the AlarmAlert to a rotatable activity.

Merge commit '6b74f6f5a6d47fe80ce92c44444aebd3436937b2' into eclair-plus-aosp

* commit '6b74f6f5a6d47fe80ce92c44444aebd3436937b2':
  Revert the AlarmAlert to a rotatable activity.

14 years agoRevert the AlarmAlert to a rotatable activity.
Patrick Scott [Tue, 15 Sep 2009 12:00:09 +0000 (08:00 -0400)]
Revert the AlarmAlert to a rotatable activity.

Remove the orientation from the manifest. Edit the alarm_alert.xml layout to be
more accommodating to landscape. Add circle#_drawable.xml files that are
BitmapDrawables for the circle animation. This prevents the background animation
from being stretched to the view size.

14 years agoam 9a1689a9: Import revised translations. DO NOT MERGE
Eric Fischer [Wed, 9 Sep 2009 00:01:07 +0000 (17:01 -0700)]
am 9a1689a9: Import revised translations.  DO NOT MERGE

Merge commit '9a1689a91ea27270ea5222ae8b882210bfcbf9bb' into eclair-plus-aosp

* commit '9a1689a91ea27270ea5222ae8b882210bfcbf9bb':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 8 Sep 2009 23:24:23 +0000 (16:24 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoam 196162c2: Restore alpha channel on clock hand.
Daniel Sandler [Fri, 4 Sep 2009 16:08:42 +0000 (09:08 -0700)]
am 196162c2: Restore alpha channel on clock hand.

Merge commit '196162c20ec18934fcf7ab14441e09347ab9a326' into eclair-plus-aosp

* commit '196162c20ec18934fcf7ab14441e09347ab9a326':
  Restore alpha channel on clock hand.

14 years agoRestore alpha channel on clock hand.
Daniel Sandler [Fri, 4 Sep 2009 15:37:37 +0000 (11:37 -0400)]
Restore alpha channel on clock hand.

Fixes http://b/2091179 .

14 years agomerge from open-source master
Jean-Baptiste Queru [Fri, 4 Sep 2009 14:51:15 +0000 (07:51 -0700)]
merge from open-source master

14 years agomerge from donut
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:13:12 +0000 (14:13 -0700)]
merge from donut

14 years agoFix a permission typo.
Patrick Scott [Thu, 3 Sep 2009 20:13:26 +0000 (16:13 -0400)]
Fix a permission typo.

14 years agoKill the alarm when a call comes in.
Patrick Scott [Thu, 3 Sep 2009 18:18:13 +0000 (14:18 -0400)]
Kill the alarm when a call comes in.

If the alarm fires while in a call, remember the call state since registering
for call state changes triggers onCallStateChanged and we don't want to kill the
alarm in that case.

14 years agoHigh-resolution (hdpi) artwork from TAT for AlarmClock.
Daniel Sandler [Fri, 28 Aug 2009 18:51:55 +0000 (14:51 -0400)]
High-resolution (hdpi) artwork from TAT for AlarmClock.

14 years agoam 1ecee6c1: (-s ours) please do not merge again; This reverts commit 8d58816a7f2cf3b...
Ed Heyl [Thu, 20 Aug 2009 23:52:31 +0000 (16:52 -0700)]
am 1ecee6c1: (-s ours) please do not merge again; This reverts commit 8d58816a7f2cf3b4de4c1932bbde39be7a489b82

Merge commit '1ecee6c11e40de8c9b8644a868f88bbc4ac69aec' into eclair

* commit '1ecee6c11e40de8c9b8644a868f88bbc4ac69aec':
  please do not merge again; This reverts commit 8d58816a7f2cf3b4de4c1932bbde39be7a489b82

14 years agoplease do not merge again; This reverts commit 8d58816a7f2cf3b4de4c1932bbde39be7a489b82
Ed Heyl [Thu, 20 Aug 2009 23:41:05 +0000 (16:41 -0700)]
please do not merge again; This reverts commit 8d58816a7f2cf3b4de4c1932bbde39be7a489b82

By reverting 8d58816a7f2cf3b4de4c1932bbde39be7a489b82, we are putting the second alarm fix
(372cbb5437b209f6d909ea247080da6a48c3a590) back in.

14 years agoam 7c65f0df: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 20 Aug 2009 23:00:34 +0000 (16:00 -0700)]
am 7c65f0df: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '7c65f0df157dd1e0a6dfba9c21057b8caa8cb2bc' into eclair

* commit '7c65f0df157dd1e0a6dfba9c21057b8caa8cb2bc':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 20 Aug 2009 21:07:36 +0000 (14:07 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoam 8d58816a: (-s ours) Do not merge. Revert "Do not merge."
Patrick Scott [Wed, 19 Aug 2009 21:30:27 +0000 (14:30 -0700)]
am 8d58816a: (-s ours) Do not merge. Revert "Do not merge."

Merge commit '8d58816a7f2cf3b4de4c1932bbde39be7a489b82' into eclair

* commit '8d58816a7f2cf3b4de4c1932bbde39be7a489b82':
  Do not merge.

14 years agoDo not merge.
Patrick Scott [Wed, 19 Aug 2009 20:34:21 +0000 (16:34 -0400)]
Do not merge.
Revert "Do not merge."

This reverts commit 372cbb5437b209f6d909ea247080da6a48c3a590.

14 years agoFix some copy-paste errors and acquire locks before launching the Activity.
Patrick Scott [Wed, 19 Aug 2009 20:19:15 +0000 (16:19 -0400)]
Fix some copy-paste errors and acquire locks before launching the Activity.

Acquiring the locks before launching the Activity prevents some strange pausing
behavior in ActivityManager. If the screen is off, the ActivityManager attempts
to pause the Activity before resuming it.

14 years agoam 372cbb54: (-s ours) Do not merge. Wake the screen before launching the AlarmAlert.
Patrick Scott [Wed, 19 Aug 2009 18:12:27 +0000 (11:12 -0700)]
am 372cbb54: (-s ours) Do not merge. Wake the screen before launching the AlarmAlert.

Merge commit '372cbb5437b209f6d909ea247080da6a48c3a590' into eclair

* commit '372cbb5437b209f6d909ea247080da6a48c3a590':
  Do not merge.

14 years agoDo not merge.
Patrick Scott [Wed, 19 Aug 2009 18:07:02 +0000 (14:07 -0400)]
Do not merge.
Wake the screen before launching the AlarmAlert.

This ensures that if an alarm has already been killed due to the timeout, a
second alarm will wake the device and play the alert. The ActivityManager will
not resume the top activity if the device is sleeping (meaning the screen is
off).

14 years agoam 9229d3f6: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Tue, 18 Aug 2009 18:00:24 +0000 (11:00 -0700)]
am 9229d3f6: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '9229d3f66c7550f9c51ecb69b1fca739051e7f48' into eclair

* commit '9229d3f66c7550f9c51ecb69b1fca739051e7f48':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 17 Aug 2009 20:13:59 +0000 (13:13 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoFix the clock face preference.
Patrick Scott [Tue, 11 Aug 2009 17:39:40 +0000 (13:39 -0400)]
Fix the clock face preference.

I was clearing all the preferences when removing the snooze and that was
clearing the clock face and visibility preference as well. Instead, remove the
snooze preferences. Also, use the constant PREF_CLOCK_FACE instead of the
literal string.

14 years agomerge from open-source master
Jean-Baptiste Queru [Tue, 4 Aug 2009 16:00:28 +0000 (09:00 -0700)]
merge from open-source master

14 years agoam a50bd6df: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Mon, 3 Aug 2009 23:40:01 +0000 (16:40 -0700)]
am a50bd6df: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit 'a50bd6dff1e8e17515fcb93c2769d4f9acbead15'

* commit 'a50bd6dff1e8e17515fcb93c2769d4f9acbead15':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 3 Aug 2009 23:07:19 +0000 (16:07 -0700)]
Import revised translations.  DO NOT MERGE

14 years agomerge from donut
Jean-Baptiste Queru [Mon, 3 Aug 2009 14:45:46 +0000 (07:45 -0700)]
merge from donut

14 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:05 +0000 (14:57 -0700)]
merge from donut

14 years agoreconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)]
reconcile korg/master into goog/master

14 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:03 +0000 (17:48 -0700)]
Merge korg/donut into korg/master

14 years agoresolved conflicts for merge of 1bc128fd to master
Eric Fischer [Wed, 22 Jul 2009 18:48:58 +0000 (11:48 -0700)]
resolved conflicts for merge of 1bc128fd to master

14 years agoMake the "This alarm is set for N hours from now" message more localizable.
Eric Fischer [Tue, 21 Jul 2009 23:28:30 +0000 (16:28 -0700)]
Make the "This alarm is set for N hours from now" message more localizable.

It was concatenating the days/minutes/seconds segments together with an
"and" string, which works OK in English but not so well in other languages.

Bug 1973471

14 years agoMerge commit 'goog/readonly-korg-master' into merge_korg_master
Jean-Baptiste Queru [Wed, 15 Jul 2009 00:12:49 +0000 (17:12 -0700)]
Merge commit 'goog/readonly-korg-master' into merge_korg_master

14 years agoresolved conflicts for merge of 439d5bd5 to master
Patrick Scott [Tue, 14 Jul 2009 17:47:39 +0000 (13:47 -0400)]
resolved conflicts for merge of 439d5bd5 to master

14 years agoChange the time format to show 2 digits for 24-hour mode.
Patrick Scott [Tue, 14 Jul 2009 12:50:14 +0000 (08:50 -0400)]
Change the time format to show 2 digits for 24-hour mode.

This will show 09 instead of 9 for all hours before 10 am.

14 years agoFix build breakage from automerge.
Eric Fischer [Tue, 14 Jul 2009 00:13:37 +0000 (17:13 -0700)]
Fix build breakage from automerge.