2451 Commits

Author SHA1 Message Date
Amith Yamasani
8823c0a8c6 Backup / Restore locale preference.
Also backup development settings MOCK_LOCATION and USB_DEBUGGING.
Backup and restore more of the Audio settings. Won't work yet without a reboot.
Disable Wifi supplicant restore temporarily. It seems to be disabling Wifi due to
permissions problems.
Don't restore Ringtones.
2009-07-07 18:42:46 -07:00
Android (Google) Code Review
a3d595e1a6 am 108fd1c0: Merge change 6435 into donut
Merge commit '108fd1c08a1a679886c987e1f62a9ba6be962235'

* commit '108fd1c08a1a679886c987e1f62a9ba6be962235':
  Add new textColorPrimaryInverseDisableOnly color to resources.
2009-07-07 17:51:16 -07:00
Android (Google) Code Review
108fd1c08a Merge change 6435 into donut
* changes:
  Add new textColorPrimaryInverseDisableOnly color to resources.
2009-07-07 17:49:13 -07:00
Romain Guy
771afdddc9 Add new textColorPrimaryInverseDisableOnly color to resources. 2009-07-07 17:35:34 -07:00
Android (Google) Code Review
b3ad6d44ee am 72fe2425: Merge change 6414 into donut
Merge commit '72fe24259537d644102c717867a8c291d122fd06'

* commit '72fe24259537d644102c717867a8c291d122fd06':
  Optimize storing of cached TTS parameters. Initialize the cached
2009-07-07 16:51:10 -07:00
Android (Google) Code Review
72fe242595 Merge change 6414 into donut
* changes:
  Optimize storing of cached TTS parameters. Initialize the cached language settings with the current Locale.
2009-07-07 16:49:41 -07:00
Android (Google) Code Review
8091a0f3ea Merge change 5873
* changes:
  Added URI for querying event instances by day in addition to by time-millis
2009-07-07 16:24:51 -07:00
Android (Google) Code Review
0236141742 am 7bf9f930: Merge change 6415 into donut
Merge commit '7bf9f930d986335cd24dc15e2ee588b851f194d4'

* commit '7bf9f930d986335cd24dc15e2ee588b851f194d4':
  Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag.
2009-07-07 15:21:16 -07:00
Android (Google) Code Review
7bf9f930d9 Merge change 6415 into donut
* changes:
  Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag.
2009-07-07 15:19:14 -07:00
Romain Guy
fb7ed10735 Fixes #1748951. Calling setListSelection() explicitely should cancel the selection hidden flag. 2009-07-07 15:18:30 -07:00
Jean-Michel Trivi
da7681e7b6 Optimize storing of cached TTS parameters. Initialize the cached
language settings with the current Locale.
2009-07-07 15:15:39 -07:00
Android (Google) Code Review
c426d830d3 am 7fdd661f: Merge change 6377 into donut
Merge commit '7fdd661f12f73148517e5e011efc206cc7259fbc'

* commit '7fdd661f12f73148517e5e011efc206cc7259fbc':
  Propagating error codes to TextToSpeech.java
2009-07-07 13:48:29 -07:00
Android (Google) Code Review
7fdd661f12 Merge change 6377 into donut
* changes:
  Propagating error codes to TextToSpeech.java
2009-07-07 13:46:17 -07:00
Jean-Baptiste Queru
a0d8e2883c Merge a bunch of cherry-picked changes from the open-source tree. 2009-07-07 13:33:47 -07:00
Kenny Root
56f6c1098d Fix hyphenation in TextView attr Javadoc 2009-07-07 12:48:05 -07:00
Kenny Root
e855d130ae Fix spelling mistakes in Javadoc 2009-07-07 12:46:03 -07:00
Simon Schoar
8cf97d9982 Removed usage of tabs for indention 2009-07-07 12:45:46 -07:00
Simon Schoar
d45c9f4ceb Prevent IndexOutOfBoundsException on toString() if vibrate array is empty (non null)
example: notification.vibrate = new long[0];
2009-07-07 12:45:33 -07:00
Simon Schoar
f76035f352 Fixed typo, RFC3296 is for LDAP, RFC2396 is for URI 2009-07-07 12:43:38 -07:00
Kenny Root
abca4e8384 Fix logic inversion in ListView Javadoc
The Javadoc for isItemChecked, getCheckedItemPosition, and
getCheckedItemPositions stated the return was valid if conditions
were the inverse of what the method checked for.

This was pointed out in Android issue 2366
2009-07-07 12:43:19 -07:00
Kenny Root
507f8ed2e0 Fix Configuration documentation for new constants
* Added KEYBOARD_NOKEYS link to Javadoc for keyboard.
* Added NAVIGATION_NONAV link to Javadoc for navigation.
2009-07-07 12:42:37 -07:00
Alan Jones
81a476f654 Fixed Issue 2682: ContentProvider query() SDK docs deprecated 2009-07-07 12:40:15 -07:00
Yusuf T. Mobile
f6737d3ae0 Fix to Android issue 453 2009-07-07 12:39:58 -07:00
djken
d663dab7db The comment lack of symbol # and parameter data type. This will cause compilation failed. 2009-07-07 12:39:40 -07:00
Cyril Mottier
c312942b77 Add of Javadoc comments on undocumented methods.
Use of a constant defined in SensorManager for computing deceleration.
2009-07-07 12:39:11 -07:00
Android (Google) Code Review
ddd8c26c06 Merge change 6320
* changes:
  Add method to read events from a file.  Remove unused method.  Fixed after review.
2009-07-07 12:37:27 -07:00
Android (Google) Code Review
17d53ff98b am fdc3d110: Merge change 6379 into donut
Merge commit 'fdc3d110516a6d2f62e68d2f76c4aeace580de40'

* commit 'fdc3d110516a6d2f62e68d2f76c4aeace580de40':
  Update RatingBar's assets in indicator mode.
2009-07-07 11:57:40 -07:00
Android (Google) Code Review
fdc3d11051 Merge change 6379 into donut
* changes:
  Update RatingBar's assets in indicator mode.
2009-07-07 11:56:43 -07:00
Romain Guy
97bdafa216 Update RatingBar's assets in indicator mode. 2009-07-07 11:56:15 -07:00
Android (Google) Code Review
8b57c2c6be am 2c5a3aeb: Merge change 6326 into donut
Merge commit '2c5a3aeba3f7c0d362829c57a8fffdba0a0e81c1'

* commit '2c5a3aeba3f7c0d362829c57a8fffdba0a0e81c1':
  BackupManager wrapper class improvements
2009-07-07 11:53:23 -07:00
Android (Google) Code Review
2c5a3aeba3 Merge change 6326 into donut
* changes:
  BackupManager wrapper class improvements
2009-07-07 11:52:01 -07:00
Cynthia Wong
be11746cb7 am 04f0b05e: Add a Gservices setting for how many times we should retry before discarding an uphill operation
Merge commit '04f0b05ea04a4a13d6a15b36eaa27b2ec364f313'

* commit '04f0b05ea04a4a13d6a15b36eaa27b2ec364f313':
  Add a Gservices setting for how many times we should retry before discarding an uphill operation
2009-07-07 11:46:05 -07:00
Cynthia Wong
04f0b05ea0 Add a Gservices setting for how many times we should retry before discarding an uphill operation 2009-07-07 11:42:31 -07:00
Christopher Tate
c8daa76925 BackupManager wrapper class improvements
+ Now rechecks the cached IBinder each time the wrapper is used, and if it's
still null (i.e. the BackupManager was constructed before the system service
came up) it's refetched.  This lets even system code cache a single
BackupManager instance and just keep making calls through it without worrying
about interactions with the life cycle of the backup service.

+ Added a static dataChanged(packageName) method as a convenience for code that
needs to indicate that some other package needs a backup pass.  This is useful
even for third party code in the case of multiple packages in a shared-uid
situation.
2009-07-07 11:40:07 -07:00
Charles Chen
c8ba3b560c Propagating error codes to TextToSpeech.java 2009-07-07 11:38:48 -07:00
Android (Google) Code Review
d6f49fe8d6 am 790a604b: Merge change 6372 into donut
Merge commit '790a604b9c32647711599710e21f0f00eb3d839c'

* commit '790a604b9c32647711599710e21f0f00eb3d839c':
  Fixes #1963217. Increases the invalidate region in compatibility mode.
2009-07-07 11:25:30 -07:00
Romain Guy
1e09597512 Fixes #1963217. Increases the invalidate region in compatibility mode.
To account for rounding errors when scaling the invalidate regions, increase
the dirty rectangle by 1 pixel in each direction
2009-07-07 11:22:45 -07:00
Eric Laurent
fcc5be99e0 am 88e209dc: Fix issue 1743700: AudioTrack: setPlaybackRate can not set the playback rate to twice of the ouputSR
Merge commit '88e209dcf8c2ebddda5c272f46d1bd5478bc639c'

* commit '88e209dcf8c2ebddda5c272f46d1bd5478bc639c':
  Fix issue 1743700: AudioTrack: setPlaybackRate can not set the playback rate to twice of the ouputSR
2009-07-07 09:36:14 -07:00
Eric Laurent
88e209dcf8 Fix issue 1743700: AudioTrack: setPlaybackRate can not set the playback rate to twice of the ouputSR
Store sample rate on 32 bits instead of 16 bits in audio_track_cblk_t.
Removed sampleRate() methods from AudioTrack and AudioRecord: replaced by getSampleRate().
AudioTrack::setSampleRate() no returns a status.
2009-07-07 07:10:45 -07:00
Leon Scroggins
43488fc78c Update text webcore thread's text generation number.
When the user edits text in a textfield, we increase a generation
number so we can mark changes from webkit to be out of date.  With
this change, update webcore's notion of the text generation number
in deleteSelection and replaceTextfieldText, in addition to
passToJs.  Requires a change in external/webkit.
2009-07-07 10:07:17 -04:00
Mitsuru Oshima
ce3082e745 am 569076c9: widgets scaling fix. Use container\'s compatibility info and display metrics when container and widgets disagree.
Merge commit '569076c9f6bdadb4d3285a26e069634a839b5b87'

* commit '569076c9f6bdadb4d3285a26e069634a839b5b87':
  widgets scaling fix. Use container's compatibility info and display metrics when container and widgets disagree.
2009-07-06 21:24:08 -07:00
Mitsuru Oshima
569076c9f6 widgets scaling fix. Use container's compatibility info and display metrics when container and widgets disagree. 2009-07-06 21:13:39 -07:00
Jim Miller
95ff2401a9 Add method to read events from a file. Remove unused method. Fixed after review. 2009-07-06 18:31:07 -07:00
Android (Google) Code Review
48f7d85d7b am dbee95ca: Merge change 6317 into donut
Merge commit 'dbee95cacff9d2faf30638e64abe26fbeb128787'

* commit 'dbee95cacff9d2faf30638e64abe26fbeb128787':
  Make enable/provisioning of the backup service a two-step process
2009-07-06 18:26:42 -07:00
Android (Google) Code Review
dbee95cacf Merge change 6317 into donut
* changes:
  Make enable/provisioning of the backup service a two-step process
2009-07-06 18:24:26 -07:00
-b master
f6a34dd6ab resolved conflicts for merge of b7195159 to master 2009-07-06 17:44:41 -07:00
Christopher Tate
8031a3df2f Make enable/provisioning of the backup service a two-step process
This CL adds the concept of 'provisioned' to the backup manager.  No backups
will be scheduled until the user has indicated that backups are to be enabled
*and* has clicked all the way through the setup wizard.

When the user first turns on the backup system, the delay before the initial
backup pass is different from the periodic backup interval.  Currently that
initial delay is 12 hours.  The intent here is to guess at a less-active time
for performing that first backup pass.

NOTE: currently the backup service defaults to 'provisioned'.  Once the real
code goes live in Setup Wizard, this will be changed to default to
not-provisioned until the user has confirmed all the relevant UI.
2009-07-06 17:43:03 -07:00
Android (Google) Code Review
b71951591d Merge change 6287 into donut
* changes:
  Restore GPS state and ringer/vibrate toggles.
2009-07-06 17:32:09 -07:00
Amith Yamasani
70c874ba20 Restore GPS state and ringer/vibrate toggles.
Inform backup manager when sync flags change. Set ringer/vibrate mode.
2009-07-06 17:18:46 -07:00
Romain Guy
a2b5dab5b7 am 870e09fc: Fixes #1963229. Introduces Context#isRestricted().
Merge commit '870e09fcd2dfdc12ac318962efd28b0420c562bb'

* commit '870e09fcd2dfdc12ac318962efd28b0420c562bb':
  Fixes #1963229. Introduces Context#isRestricted().
2009-07-06 17:10:41 -07:00