326 Commits

Author SHA1 Message Date
Amith Yamasani
42c4c58900 am a9791d30: Merge change Iae3ed706 into eclair
Merge commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc' into eclair-mr2

* commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc':
  Add new setting for notification light pulsing. Bug #2238250
2009-12-02 09:50:40 -08:00
Amith Yamasani
ae3ed70670 Add new setting for notification light pulsing. Bug #2238250
New System setting and code to set the defaults on upgrade.
2009-12-01 19:02:05 -08:00
Eric Fischer
bd5b099c25 Import revised translations. DO NOT MERGE
Approver: jerryw
2009-11-13 17:13:39 -08:00
Eric Fischer
7274981597 Import revised translations. DO NOT MERGE 2009-11-06 15:25:20 -08:00
Fred Quintana
3266c5f125 resolved conflicts for merge of f476c480 to eclair-mr2 2009-11-05 11:46:11 -08:00
Fred Quintana
48cbd0bcd6 remove the SubscribedFeedsProvider since it has been moved to vendor/google 2009-11-03 15:05:36 -08:00
Eric Fischer
38a9becfdd Import revised translations. DO NOT MERGE 2009-10-28 21:16:52 -07:00
Eric Fischer
c4bf942cef Import revised translations. DO NOT MERGE
Approver: jerryw
2009-10-21 10:41:17 -07:00
Mike Lockwood
2086152c1b am f55aa972: Merge change I01935be3 into eclair
Merge commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542' into eclair-mr2

* commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542':
  Remove PowerManager.setAutoBrightness()
2009-10-16 09:38:03 -07:00
Mike Lockwood
dc3494e3d8 Remove PowerManager.setAutoBrightness()
We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants.

Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-16 07:42:26 -07:00
Eric Fischer
bd6c80f689 Import revised translations. DO NOT MERGE 2009-10-13 16:03:48 -07:00
Daniel Sandler
28a1b67a1c Remove unneeded icon.
(Obviated by commit a408791148e816215f65ad81a187051c5fb47c68.)

Change-Id: I6e01fa52f2bbeb28c969e6a033ab0b1032cbc848
2009-10-01 11:00:24 -04:00
Hung-ying Tyan
c8217638be Fix stopping all vpn daemons before connect and more.
* move DaemonHelper out from VpnService to VpnDaemons for better
  managing native daemons.
* check connectivity and dns less frequently to save battery.
2009-10-01 15:18:28 +08:00
Christopher Tate
13f4a64ddd Turn off the last of the STOPSHIP verbose debugging
Change-Id: Id93f4c9e9fb8468a554ae1e5c5c767f72903662c
2009-09-30 20:06:45 -07:00
Christopher Tate
436344ae12 Turn off most of the backup-related debug logging
The core logging in BackupManagerService and in the Google backup transport are
still enabled at this point.

Change-Id: I10abfa565bbd1097dd3631051b6aca163e4af33a
2009-09-30 17:07:37 -07:00
Android (Google) Code Review
170d9df0f3 Merge change I2d4deb11 into eclair
* changes:
  Placeholder mdpi assets
2009-09-30 14:17:23 -04:00
Mike Cleron
2d4deb11e1 Placeholder mdpi assets 2009-09-30 10:58:37 -07:00
Android (Google) Code Review
4ca8c837d3 Merge change Ia4087911 into eclair
* changes:
  Newer icons
2009-09-30 04:26:06 -04:00
Mike Cleron
a408791148 Newer icons 2009-09-30 01:04:36 -07:00
Costin Manolache
3348f14b3d Remove GAIA string 2009-09-29 22:52:05 -07:00
Mike Cleron
ee9b30d394 New icons 2009-09-29 13:01:09 -07:00
Android (Google) Code Review
141e4f1d69 Merge change 27177 into eclair
* changes:
  Add auto-brightness mode to the list of backed-up settings
2009-09-27 13:20:44 -04:00
Dianne Hackborn
075a18d607 Turn on haptic feedback by default.
Change-Id: I85efeca1a0aca91992e28236077c668e0d14cbbb
2009-09-26 12:43:19 -07:00
Christopher Tate
362aca6045 Add auto-brightness mode to the list of backed-up settings
Change-Id: I4302b79691ed717d810748b239311cba198f6381
2009-09-25 17:14:57 -07:00
Christopher Tate
796e0f0ed5 Don't restore any setting that we don't think should be backed up
The ad-hoc blacklist has been replaced by a check that whitelists each restored
datum against the set of keys that we actually back up.  Keys read from the
restore data which are not found in the whitelist are not applied.

Also adds in some more debugging output, marked to be disabled for ship.
2009-09-22 15:04:25 -07:00
Android (Google) Code Review
5b4aa6db42 Merge change 26315 into eclair
* changes:
  VpnService: use Credentials instead of CertTool.
2009-09-22 12:02:39 -04:00
Chia-chi Yeh
6ee4e59c1d VpnService: use Credentials instead of CertTool. 2009-09-22 10:13:01 +08:00
Dianne Hackborn
bfe319e06a Turn animations on by default.
Add API to skip the animation for a particular start activity, so that
a latter better one can be used.

Fix Theme.NoDisplay to actually work.

Fiddle with various animations: don't do a different animation for task
switching, try a scale animation for switching in/out of the wallpaper.

Adjust the animation duration so that at normal speed we have something
more like the slower animation option (so slow is now the default).

Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
2009-09-21 17:26:41 -07:00
Christopher Tate
a286f41908 Don't back up / restore certain sync-related settings
In particular, this no longer attempts to back up the on/off state of specific
backend syncing [gmail/contacts/calendar], nor the "background data" toggle.
The former was causing a great deal of spurious trips through backup as the
notification was being tickled during general sync operation, and the latter
makes little sense at restore time.

Fixes these issues:

b/2097613 - frequent "backup_data_changed" messages in event log
b/2131662 - should not backup background data, master sync settings
2009-09-18 15:56:14 -07:00
Eric Fischer
4175b5f34a Import revised translations. DO NOT MERGE 2009-09-17 14:28:06 -07:00
Mike Lockwood
237a29923a Move backlight brightness from HardwareService to PowerManager
to prevent apps from changing the hardware behind its back.
Fixes b/2041941 Lock screen flashes the screen very bright before dimming

Change-Id: Ice757f7ae87902bdfb3634471cf44f020ebfaae4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-15 15:47:09 -04:00
Dan Murphy
951764b970 Add automatic lighting control framework
Add changes to have the ability to turn on and off the
automatic light sensing for the device.  This is fully configurable
and is by default not  present.  Vendors should override the ALS setting
to enable the automatic lighting controls.

These changes will add a check box to the Brightness settings menu to give control
to the user to allow the device's display lighting to be controlled via the slide bar
or the auto lighting system.

If the user selects auto then the slide bar will become invisible.  Manual mode
will present the slide bar to the user.

Change-Id: I146a6d75b99b08c9b839218ce6b85adf21f9fd73
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-15 02:29:15 -04:00
Christopher Tate
0738e88935 Don't backup/restore telephony material from secure settings
* Remove several nonportable telephony settings from the set to be included in
  the backed-up dataset

* Explicitly ignore those settings if they're encountered during a restore
  operation, so that we don't inadvertently do things like configure a GSM
  phone to use CDMA logic.
2009-09-11 16:35:39 -07:00
Amith Yamasani
2cfab84458 Save and restore partial supplicant data, not the whole file.
This makes it compatible between different device types with different
wifi chipsets.
2009-09-11 11:21:19 -07:00
Jim Miller
f186055a53 Fix for bug # 2023074: settings db updater broken at version 34. 2009-09-09 19:10:57 -07:00
Eric Fischer
5cacfb9df2 Import revised translations. DO NOT MERGE 2009-09-08 16:54:05 -07:00
Christopher Tate
5e1ab335e6 Expand apps' control over the settings restore process
Applications can now specify two more aspects of the restore process:  whether
they need to run with their own custom Application subclass rather than being
launched in the usual restricted mode during restore, and whether it's okay for
the backup manager to kill the app process once restore has completed.  The new
manifest attributes for these are, respectively, android:restoreNeedsApplication
and android:killAfterRestore.

If unspecified in the manifest, restoreNeedsApplication is false, and
killAfterRestore is true.

In order to support kill-after-restore cleanly, this change also adds a new
system-process-only interface to the Activity Manager, which will schedule a
"commit suicide" event on the target app's main thread looper.

The framework backup agents have been given the appropriate new backup
attributes as well.
2009-09-01 20:59:36 -07:00
Jean-Michel Trivi
3218471bcd Modify the gain after filtering to prevent TTS clipping in en-US. 2009-09-01 13:46:43 -07:00
Jean-Michel Trivi
b009418048 Clean TTS logs: use a common TAG in the TTS service, don't show
an error when loading the native synth lib.
2009-08-31 14:46:18 -07:00
Android (Google) Code Review
550d48f334 Merge change 23300 into eclair
* changes:
  Add a synchronous stop method to TTS synth engine so that upon its destruction, if it was synthesing to a file, the latter can be deleted without still being written to. Clear the hashmap of SpeechItem to be stopped (mKillList) when the speech queue is empty.
2009-08-31 14:12:53 -07:00
Ye Wen
09984e8eb7 Set result code in REMOTE_INTENT receiver for subscribed feeds. 2009-08-31 12:57:50 -07:00
Jean-Michel Trivi
09f8db7ad3 Add a synchronous stop method to TTS synth engine so that upon its destruction,
if it was synthesing to a file, the latter can be deleted without
still being written to.
Clear the hashmap of SpeechItem to be stopped (mKillList) when the speech
queue is empty.
2009-08-31 11:39:20 -07:00
Android (Google) Code Review
62e592a61b Merge change 23023 into eclair
* changes:
  Armor string format tokens with translation placeholders.
2009-08-28 10:48:29 -07:00
Android (Google) Code Review
0d430593ee Merge change 23108 into eclair
* changes:
  Launch synthesis thread at max priority to prevent hicups in playback. Return and log an error when an operation cannot be completed because the speech queue is locked longer than the timeout period. Log cleanup.
2009-08-28 10:43:54 -07:00
Eric Fischer
cfce0aa58b Armor string format tokens with translation placeholders.
Change-Id: I2f1b1f0e9b028a9f66c4543afe5c7bdce486db15
2009-08-28 10:40:03 -07:00
Jean-Michel Trivi
ab6ed2c2b9 Launch synthesis thread at max priority to prevent hicups in playback.
Return and log an error when an operation cannot be completed because
the speech queue is locked longer than the timeout period.
Log cleanup.
2009-08-28 09:25:11 -07:00
Hung-ying Tyan
cef28e74af Simplifies err code propagation.
* Other changes
  + Re-assign err codes in VpnManager.
  + Add new err codes: REMOTE_PPP_HUNG_UP, PPP_NEGOTIATION_FAILED.
  + Delete the state file only if it exists (to prevent logging an
    unable-to-unlink error).
  + Extend timeout to 40 seconds.
2009-08-28 09:59:39 +08:00
Android (Google) Code Review
4813b51ec7 Merge change 22838 into eclair
* changes:
  Implement clean killing of the TTS service. If files were being synthesized to while the service was being killed, it would have left partially written files (with no header). This CL checks if the service is rendering to a file at the time the service is destroyed: if it is, it will stop the rendering and deletes the file.
2009-08-26 17:18:47 -07:00
Jean-Michel Trivi
a3046b6f7f Implement clean killing of the TTS service.
If files were being synthesized to while the service was being killed,
it would have left partially written files (with no header). This CL
checks if the service is rendering to a file at the time the service
is destroyed: if it is, it will stop the rendering and deletes the file.
2009-08-26 17:06:52 -07:00
Fred Quintana
c848b7023b clean up the too many deletes dialog 2009-08-25 20:31:05 -07:00