4512 Commits

Author SHA1 Message Date
Android (Google) Code Review
13725324a7 am dded214e: Merge change 6689 into donut
Merge commit 'dded214eb92cebdd7fb2e6405173ffc1932e795a'

* commit 'dded214eb92cebdd7fb2e6405173ffc1932e795a':
  Don't crash the app when restore agent bringup throws
2009-07-09 16:00:24 -07:00
Android (Google) Code Review
dded214eb9 Merge change 6689 into donut
* changes:
  Don't crash the app when restore agent bringup throws
2009-07-09 15:58:39 -07:00
Android (Google) Code Review
00af1a86a8 am 8440ecce: Merge change 6668 into donut
Merge commit '8440ecce813112493d2af4097608735c4c7a870c'

* commit '8440ecce813112493d2af4097608735c4c7a870c':
  Check if a searchable is null before adding it to the list of searchables
2009-07-09 15:52:02 -07:00
Android (Google) Code Review
d8980134e7 Merge change 6664
* changes:
  New sync framework: add new columns.
2009-07-09 15:46:45 -07:00
Android (Google) Code Review
8440ecce81 Merge change 6668 into donut
* changes:
  Check if a searchable is null before adding it to the list of searchables for web search. If getActivityMetaData returned null for a web search searchable, previously, this null would get added to the list of searchables for web search, which was causing GlobalSearch's SearchSettings to crash with an NPE (which I've guarded against in change 6602).
2009-07-09 15:45:22 -07:00
Ken Shirriff
1d6442f0ad New sync framework: add new columns.
These columns will be used by the new sync framework.  The old columns
will be removed later.
2009-07-09 15:42:56 -07:00
Christopher Tate
d1475e0375 Don't crash the app when restore agent bringup throws
Restore runs during the SetupWizard, before the phone is usable per se, so we
want to avoid presenting the usual "Application whatever has crashed..." dialog
to the user in the middle of that process.  This change modifies the exception
handling around agent bringup so that agent-originated exceptions are caught and
a null agent binder reported to the backup manager.

There are three points during this code sequence at which an exception can be
thrown due to application-code error:

+ the app's manifest can name a nonexistent or malformed BackupAgent class,
incurring a VM-level exception like ClassNotFound or BadCast.
- the agent's onCreate() method could crash/throw.
- the agent's onBind() method could crash/throw.

The new code arrangement here puts a try/catch around all of these possible
failure points.  When the code is invoked for backup, any caught exception is
merely rethrown.  During restore, however, execution is allowed to proceed
through reporting the app's agent binder back to the activity manager.  If any
exception was thrown, this reported binder will be null, i.e. a clean failure
notification to the backup manager.

What this code does *not* do at present is tear down the app when an exception
has been thrown.  This is happens if the exception is allowed to propagate.
Doing so cleanly is problematic, however, in circumstances where mutiple apps
and agents share a process.  Leaving the background process around until it is
torn down by the usual policies is probably the safer course at present.
2009-07-09 15:36:17 -07:00
Android (Google) Code Review
70277a21d9 Merge change 6223
* changes:
  Changes for new sync.
2009-07-09 15:35:41 -07:00
Android (Google) Code Review
c494ba2544 Merge change 6636
* changes:
  Implemented the metadata changed notification filters.
2009-07-09 14:51:54 -07:00
Android (Google) Code Review
f00193ff7a am 8f7c7c0c: Merge change 6659 into donut
Merge commit '8f7c7c0c18987b1045cb73e503f82ce429a0d924'

* commit '8f7c7c0c18987b1045cb73e503f82ce429a0d924':
  Add a Gservices setting to set the rate at which the home page refreshes.
2009-07-09 14:42:36 -07:00
Android (Google) Code Review
8f7c7c0c18 Merge change 6659 into donut
* changes:
  Add a Gservices setting to set the rate at which the home page refreshes.
2009-07-09 14:40:10 -07:00
Android (Google) Code Review
6811355d96 am 463aacfb: Merge change 6661 into donut
Merge commit '463aacfbd220c9ef2f6ed915d54092289fdac05b'

* commit '463aacfbd220c9ef2f6ed915d54092289fdac05b':
  wifi: WifiManager.startScan() will now do passive scans by default.
2009-07-09 14:27:38 -07:00
Android (Google) Code Review
463aacfbd2 Merge change 6661 into donut
* changes:
  wifi: WifiManager.startScan() will now do passive scans by default.
2009-07-09 14:22:25 -07:00
Mike LeBeau
f4422ce829 Check if a searchable is null before adding it to the list of searchables
for web search. If getActivityMetaData returned null for a web search
searchable, previously, this null would get added to the list of searchables
for web search, which was causing GlobalSearch's SearchSettings to crash
with an NPE (which I've guarded against in change 6602).
2009-07-09 14:17:12 -07:00
Android (Google) Code Review
58e8131631 am be91fdbc: Merge change 6665 into donut
Merge commit 'be91fdbc5c4f2de3a2bb574a98fdfeef44d8cdb5'

* commit 'be91fdbc5c4f2de3a2bb574a98fdfeef44d8cdb5':
  Fix resources not being set correctly.
2009-07-09 14:12:52 -07:00
Android (Google) Code Review
191c12d33f am 16f676f4: Merge change 6660 into donut
Merge commit '16f676f4f8ae3807b5cb40086048e48cae4be3cf'

* commit '16f676f4f8ae3807b5cb40086048e48cae4be3cf':
  Fix a small bug in array length bounds checking.
2009-07-09 14:12:48 -07:00
Android (Google) Code Review
be91fdbc5c Merge change 6665 into donut
* changes:
  Fix resources not being set correctly.
2009-07-09 14:10:54 -07:00
Android (Google) Code Review
16f676f4f8 Merge change 6660 into donut
* changes:
  Fix a small bug in array length bounds checking.
2009-07-09 14:10:38 -07:00
Grace Kloba
ec696c0115 Fix the build. Remove mPluginsPath as it is not used in the master any more. 2009-07-09 14:07:55 -07:00
Sanjay Jeyakumar
21bf241651 Add a Gservices setting to set the rate at which the home page refreshes. 2009-07-09 14:01:58 -07:00
Mike Lockwood
a5ec95cdb1 wifi: WifiManager.startScan() will now do passive scans by default.
Active scans will only happen if a hidden AP is in use, or if the new method
WifiManager.startScanActive() is called.
This fixes some audio playback problems with bluetooth A2DP.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-09 16:54:39 -04:00
Dan Egnor
6d877383bc Fix a small bug in array length bounds checking. 2009-07-09 13:48:36 -07:00
Android (Google) Code Review
1a3ef96b34 am e57ff0e1: Merge change 6652 into donut
Merge commit 'e57ff0e1db46559699e4fadfbe9abe67ef9472fe'

* commit 'e57ff0e1db46559699e4fadfbe9abe67ef9472fe':
  Call clearCache on WebView before collecting memory information.
2009-07-09 13:47:07 -07:00
Android (Google) Code Review
e57ff0e1db Merge change 6652 into donut
* changes:
  Call clearCache on WebView before collecting memory information.
2009-07-09 13:44:30 -07:00
Android (Google) Code Review
368df94182 Merge change 6654
* changes:
  Moving Contacts strings from en-rUS to default locale.
2009-07-09 13:18:13 -07:00
Dmitri Plotnikov
e7a7cb39c0 Moving Contacts strings from en-rUS to default locale. 2009-07-09 13:12:13 -07:00
Guang Zhu
889181d7fd Call clearCache on WebView before collecting memory information. 2009-07-09 12:55:15 -07:00
Android (Google) Code Review
c6f81c6716 am d1e5e3ff: Merge change 6639 into donut
Merge commit 'd1e5e3ffc22478bad8525dec4f1c6d57fe0ad368'

* commit 'd1e5e3ffc22478bad8525dec4f1c6d57fe0ad368':
  Restore audio settings and wifi.
2009-07-09 12:53:41 -07:00
Android (Google) Code Review
b63e4ea685 am 4117fd09: Merge change 6641 into donut
Merge commit '4117fd09e619c039a2bf5eff1bdc98186329cb4d'

* commit '4117fd09e619c039a2bf5eff1bdc98186329cb4d':
  Unbreaking the build.
2009-07-09 12:53:38 -07:00
Android (Google) Code Review
a85449895a am 65e9d228: Merge change 6629 into donut
Merge commit '65e9d2285e5d5eab6a822d4a8210ffcc45b6b0bb'

* commit '65e9d2285e5d5eab6a822d4a8210ffcc45b6b0bb':
  Rename "no" arrays.xml file to be in the correct "nb" locale.
2009-07-09 12:50:49 -07:00
Android (Google) Code Review
29bc7f65b4 am 0ed81492: Merge change 6638 into donut
Merge commit '0ed81492bcc33f483671a52811125a452d23b397'

* commit '0ed81492bcc33f483671a52811125a452d23b397':
  Unhide android.gestures.
2009-07-09 12:50:40 -07:00
Mike Lockwood
c2efaa4ab0 am ed760377: Add a persistent system property to disable the adb notification.
Merge commit 'ed7603779282d416356ce3c9739056d632307275'

* commit 'ed7603779282d416356ce3c9739056d632307275':
  Add a persistent system property to disable the adb notification.
2009-07-09 12:50:37 -07:00
Android (Google) Code Review
8b7bc669ce am b45451f6: Merge change 6583 into donut
Merge commit 'b45451f6dac5b32bcd8c52352a9697854eab40d0'

* commit 'b45451f6dac5b32bcd8c52352a9697854eab40d0':
  Adding a lock to stop so that stop will stop utterances
2009-07-09 12:50:30 -07:00
Android (Google) Code Review
a5f451f3ae am 3bb69233: Merge change 6620 into donut
Merge commit '3bb692338fed7f34f010398fe8b831d0de22c6e8'

* commit '3bb692338fed7f34f010398fe8b831d0de22c6e8':
  Keep Gears permissions in sync with system location settings.
2009-07-09 12:50:26 -07:00
Satish Sampath
97b3ed69db am 313ea433: Make suggestion text color change based on the item state.
Merge commit '313ea433d18e7fd5438b94c0606c496fcc7a2f88'

* commit '313ea433d18e7fd5438b94c0606c496fcc7a2f88':
  Make suggestion text color change based on the item state.
2009-07-09 12:49:53 -07:00
Android (Google) Code Review
2b479be5db am 3893da46: Merge change 6614 into donut
Merge commit '3893da46f0a97d59a7687ae2bd71ba855eb5ffe3'

* commit '3893da46f0a97d59a7687ae2bd71ba855eb5ffe3':
  Fix issue 1970108: crash in AudioFlinger::isMusicActive()
2009-07-09 12:49:43 -07:00
Eric Laurent
cfe2c402d9 am 5964e737: Fix issue 1946033: dialer deadlocks and/or ANRs when using dialpad in-call
Merge commit '5964e73774b381748013b91d04dfb6fc60f533ee'

* commit '5964e73774b381748013b91d04dfb6fc60f533ee':
  Fix issue 1946033: dialer deadlocks and/or ANRs when using dialpad in-call
2009-07-09 12:49:38 -07:00
Android (Google) Code Review
ad921cb4a4 am c52d55c5: Merge change 6608 into donut
Merge commit 'c52d55c5404a09a3845a322f50577fc4c125a86d'

* commit 'c52d55c5404a09a3845a322f50577fc4c125a86d':
  Move the watchdog timer to a separate thread...
2009-07-09 12:49:29 -07:00
Android (Google) Code Review
bda4584bf6 am f9b7faee: Merge change 6503 into donut
Merge commit 'f9b7faee88313c4daf3e3fb34203978de20b7ce0'

* commit 'f9b7faee88313c4daf3e3fb34203978de20b7ce0':
  Hide soft keyboard in SearchDialog.dismiss()
2009-07-09 12:49:26 -07:00
Android (Google) Code Review
5e7e8da04d am b799616d: Merge change 6208 into donut
Merge commit 'b799616d8f0f94e866767fa730f56d82543fb49b'

* commit 'b799616d8f0f94e866767fa730f56d82543fb49b':
  Move ExifInterface to android.media package so we can reference it from MediaScanner.
2009-07-09 12:49:18 -07:00
Android (Google) Code Review
c916e06164 am fe811d8b: Merge change 6603 into donut
Merge commit 'fe811d8bd0da15f14702968a9c7deb02db7eec9f'

* commit 'fe811d8bd0da15f14702968a9c7deb02db7eec9f':
  quick fix; utf8_codepoint_count must be utf8_length
2009-07-09 12:49:07 -07:00
Android (Google) Code Review
e2bf80fb0b am 8a715b4b: Merge change 5510 into donut
Merge commit '8a715b4b791db4390d12e0ded02280592634a424'

* commit '8a715b4b791db4390d12e0ded02280592634a424':
  Add useful functions to String8, which enables users to convert between UTF-8 and UTF-32
2009-07-09 12:48:56 -07:00
Dianne Hackborn
6c11e73f67 Fix resources not being set correctly. 2009-07-09 12:41:06 -07:00
Dianne Hackborn
e3f054411b resolved conflicts for merge of 2af632f8 to master 2009-07-09 12:15:46 -07:00
Android (Google) Code Review
d1e5e3ffc2 Merge change 6639 into donut
* changes:
  Restore audio settings and wifi.
2009-07-09 12:07:45 -07:00
Amith Yamasani
d158214511 Restore audio settings and wifi.
Optimize backups by writing an entity only if the checksum of the data has changed.
Call into the hidden AudioService API to apply changed audio settings.
After restoring wifi data, make sure that the permissions and ownership are set
properly for the supplicant process to access it.
Locale isn't restoring properly - TODO added.
2009-07-09 12:01:25 -07:00
Android (Google) Code Review
4117fd09e6 Merge change 6641 into donut
* changes:
  Unbreaking the build.
2009-07-09 11:59:32 -07:00
Android (Google) Code Review
65e9d2285e Merge change 6629 into donut
* changes:
  Rename "no" arrays.xml file to be in the correct "nb" locale.
2009-07-09 11:54:52 -07:00
Charles Chen
be84e4134d Unbreaking the build. 2009-07-09 11:54:50 -07:00
Android (Google) Code Review
0ed81492bc Merge change 6638 into donut
* changes:
  Unhide android.gestures.
2009-07-09 11:48:12 -07:00