4539 Commits

Author SHA1 Message Date
Android (Google) Code Review
4e42abcc00 am 38645ee6: (-s ours) Merge change 6759 into donut
Merge commit '38645ee6d61368f59b2d83256f2612bdaa38ff49'

* commit '38645ee6d61368f59b2d83256f2612bdaa38ff49':
  Do not merge
2009-07-10 09:59:01 -07:00
Android (Google) Code Review
27835c2740 Merge change 6764
* changes:
  Undo the changes accidentally merged from Donut
2009-07-10 09:57:57 -07:00
Android (Google) Code Review
bdafc9b65f am d2cad295: Merge change 6734 into donut
Merge commit 'd2cad2951fe97bd75e27fae522cf683bae8b9b71'

* commit 'd2cad2951fe97bd75e27fae522cf683bae8b9b71':
  Adding tagging to utterances to track which app said what.
2009-07-10 09:57:38 -07:00
Android (Google) Code Review
38645ee6d6 Merge change 6759 into donut
* changes:
  Do not merge
2009-07-10 09:57:24 -07:00
Andrei Popescu
15d21453b0 Do not merge
Install an observer for the Location system setting and
move the Gears permission check to a slightly earlier time.
Move the logic into a separate manager class.

Also delete some whitespace and fix some style issues.
2009-07-10 17:54:32 +01:00
Android (Google) Code Review
d2cad2951f Merge change 6734 into donut
* changes:
  Adding tagging to utterances to track which app said what.
2009-07-10 09:47:37 -07:00
Charles Chen
a9c5e4bf26 Adding tagging to utterances to track which app said what. 2009-07-10 09:43:03 -07:00
Andrei Popescu
972acd0c33 Undo the changes accidentally merged from Donut 2009-07-10 16:58:13 +01:00
Bjorn Bringert
88588d137b am 0e01ea41: Deprecate DialogInterface methods in SearchManager
Merge commit '0e01ea41b215941128a4ea8dee454e6b35a4e798'

* commit '0e01ea41b215941128a4ea8dee454e6b35a4e798':
  Deprecate DialogInterface methods in SearchManager
2009-07-10 00:50:45 -07:00
Bjorn Bringert
0e01ea41b2 Deprecate DialogInterface methods in SearchManager
android.app.SearchManager implements
DialogInterface.OnDismissListener and DialogInterface.OnCancelListener
and thus exposes the methods onCancel(DialogInterface dialog) and
onDismiss(DialogInterface dialog). This was used by the SearchManager
to register itself as a listener on the search dialog, but is no
longer used.

This was an implementation detail that leaked into the public
API. Removing them would change the API, so they are deprecated instead.

Fixes http://b/issue?id=1962203
2009-07-10 07:16:47 +01:00
Android (Google) Code Review
679353dab9 Merge change 6742
* changes:
  fix [1969200] Uninitialized double passed to Math.sqrt()
2009-07-09 22:12:36 -07:00
Mathias Agopian
cafec03250 fix [1969200] Uninitialized double passed to Math.sqrt() 2009-07-09 22:11:57 -07:00
Mathias Agopian
07e456d871 am 4d2dbebf: fix for [1885684] E/SurfaceFlinger( 60): not enough memory for layer bitmap size=4294938624
Merge commit '4d2dbebf3d08209f751585d8cc367369e2f6e32f'

* commit '4d2dbebf3d08209f751585d8cc367369e2f6e32f':
  fix for [1885684] E/SurfaceFlinger( 60): not enough memory for layer bitmap size=4294938624
2009-07-09 20:05:11 -07:00
Android (Google) Code Review
320a34aa4f Merge change 6725
* changes:
  do not merge - add a big flag to turn off backup
2009-07-09 19:19:11 -07:00
Joe Onorato
76ad319b5e do not merge - add a big flag to turn off backup 2009-07-09 18:48:03 -07:00
Mathias Agopian
4d2dbebf3d fix for [1885684] E/SurfaceFlinger( 60): not enough memory for layer bitmap size=4294938624 2009-07-09 18:16:43 -07:00
Android (Google) Code Review
2eedb2515b am 46e28db8: Merge change 6713 into donut
Merge commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6'

* commit '46e28db8818332e3cda4cc410cc89a1ed7ce4db6':
  fix for [1969185] valgrind errors in new gl stuff
2009-07-09 17:35:26 -07:00
Android (Google) Code Review
46e28db881 Merge change 6713 into donut
* changes:
  fix for [1969185] valgrind errors in new gl stuff
2009-07-09 17:33:54 -07:00
Mathias Agopian
ab1cf3efd3 fix for [1969185] valgrind errors in new gl stuff 2009-07-09 17:33:15 -07:00
Android (Google) Code Review
e7622f3901 Merge change 6712
* changes:
  fix for [1969185] valgrind errors in new gl stuff
2009-07-09 17:31:24 -07:00
Mathias Agopian
05dab6f127 fix for [1969185] valgrind errors in new gl stuff 2009-07-09 17:30:43 -07:00
Android (Google) Code Review
12f7a7b5c3 Merge change 6679
* changes:
  remove the accounts table from the ContactsProvider2
2009-07-09 17:08:15 -07:00
Mathias Agopian
5583dc630f fix [1968839] tap on phonetop search couple of times will cause the runtime restart
ViewRoot wasn't calling Surface.clear() when releasing the Surface.
2009-07-09 16:43:11 -07:00
Android (Google) Code Review
7978ce3f87 am 5c2e622c: (-s ours) Merge change 6700 into donut
Merge commit '5c2e622c9aa4f7e08374cfc54d11dab5a7474153'

* commit '5c2e622c9aa4f7e08374cfc54d11dab5a7474153':
  do not merge - add a big flag to turn off backup
2009-07-09 16:38:44 -07:00
Android (Google) Code Review
5c2e622c9a Merge change 6700 into donut
* changes:
  do not merge - add a big flag to turn off backup
2009-07-09 16:36:31 -07:00
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
Joe Onorato
baea01b92f do not merge - add a big flag to turn off backup 2009-07-09 15:53:18 -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
Fred Quintana
2714328979 remove the accounts table from the ContactsProvider2 2009-07-09 14:56:35 -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