1849 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
29bc7f65b4 am 0ed81492: Merge change 6638 into donut
Merge commit '0ed81492bcc33f483671a52811125a452d23b397'

* commit '0ed81492bcc33f483671a52811125a452d23b397':
  Unhide android.gestures.
2009-07-09 12:50:40 -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
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
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
0ed81492bc Merge change 6638 into donut
* changes:
  Unhide android.gestures.
2009-07-09 11:48:12 -07:00
Romain Guy
423d679a47 Unhide android.gestures. 2009-07-09 11:46:39 -07:00
Android (Google) Code Review
3bb692338f Merge change 6620 into donut
* changes:
  Keep Gears permissions in sync with system location settings.
2009-07-09 10:59:22 -07:00
Andrei Popescu
215a23654a Keep Gears permissions in sync with system location settings. 2009-07-09 17:33:26 +01:00
Satish Sampath
313ea433d1 Make suggestion text color change based on the item state.
We support a ColorStateList reference now as a valid font color value
in the given html and manage html strings for all supported states
which we dynamically set while drawing the items.

This will get checked in along with changes to GlobalSearch,
EnhancedGoogleSearchProvider and Browser to make them use the new
model.

Bug: http://b/issue?id=1865037
2009-07-09 16:48:16 +01:00
Android (Google) Code Review
e541ba9e8d Merge change 6356
* changes:
  Add fullscreen support back in.
2009-07-09 06:39:47 -07:00
Android (Google) Code Review
f9b7faee88 Merge change 6503 into donut
* changes:
  Hide soft keyboard in SearchDialog.dismiss()
2009-07-09 00:29:38 -07:00
Daisuke Miyakawa
b5d9132d4e Fix ArrayAdapter, which was fixed in cupcake_dcm and kept fixed until donut, but is broken in eclair.
Original internal Change: 147459-p9
2009-07-09 14:29:15 +09:00
Dianne Hackborn
2af632f87d Add new <path-permission tag for use by global search.
This adds a new <path-permission> tag you can use inside of a <provide>
to define additional path-based permissions that broaden the global
read and write permissions.  The initial use for this will be global
search, so that a content provider that is protected by permissions
can make a part of itself available to global search under another
permission.  This addresses the issue with global search not being able
to request permissions it would need of providers it doesn't know
about at build time.
2009-07-08 18:08:13 -07:00
Android (Google) Code Review
706f42c4f8 am 7dd042e3: Merge change 6543 into donut
Merge commit '7dd042e32ee1e59227aafc4fbbc886c8ea0d0df9'

* commit '7dd042e32ee1e59227aafc4fbbc886c8ea0d0df9':
  Adding a missing catch
2009-07-08 17:30:01 -07:00
Android (Google) Code Review
7dd042e32e Merge change 6543 into donut
* changes:
  Adding a missing catch
2009-07-08 16:44:22 -07:00
Charles Chen
748efcc3fb Adding a missing catch 2009-07-08 16:12:29 -07:00
Mitsuru Oshima
c3f60ddaea am 1ecf5d28: Re-implementation of large screen support using window manager. * added background filler surface to fill the outer rim. Using the same layer as dim surface because they never co-exists (in the same window) * clean up the obsolete code in Compatibilt
Merge commit '1ecf5d28817f0a051e77488380dcd5bc622ea169'

* commit '1ecf5d28817f0a051e77488380dcd5bc622ea169':
  Re-implementation of large screen support using window manager.
2009-07-08 15:59:16 -07:00
Mitsuru Oshima
1ecf5d2881 Re-implementation of large screen support using window manager.
* added background filler surface to fill the outer rim. Using the same layer as dim surface because
   they never co-exists (in the same window)
 * clean up the obsolete code in CompatibiltyMode/ViewRoot for support large screen support.
2009-07-08 15:21:30 -07:00
Android (Google) Code Review
264cd11dc9 am 7761920b: Merge change 6507 into donut
Merge commit '7761920b2a2efc76d08c63d5be1b3ce829746e4b'

* commit '7761920b2a2efc76d08c63d5be1b3ce829746e4b':
  Remove unused definitions for default language in TextToSpeech as
2009-07-08 14:45:16 -07:00
Romain Guy
125cfce09d am 6de4aed1: Fixes #1933428. Call onPrepareDialog() on managed dialogs after their onCreate() is finished.
Merge commit '6de4aed1c67263269f83f579ec5b06263d173ef3'

* commit '6de4aed1c67263269f83f579ec5b06263d173ef3':
  Fixes #1933428. Call onPrepareDialog() on managed dialogs after their onCreate() is finished.
2009-07-08 14:45:11 -07:00
Android (Google) Code Review
7761920b2a Merge change 6507 into donut
* changes:
  Remove unused definitions for default language in TextToSpeech as the default language is determined by the current Locale, not a hardcoded value. Add a value for the default TTS engine to use.
2009-07-08 14:43:40 -07:00
Jean-Michel Trivi
e28aced7bb Remove unused definitions for default language in TextToSpeech as
the default language is determined by the current Locale, not a hardcoded
value. Add a value for the default TTS engine to use.
2009-07-08 14:20:33 -07:00
Romain Guy
6de4aed1c6 Fixes #1933428. Call onPrepareDialog() on managed dialogs after their onCreate() is finished. 2009-07-08 13:56:28 -07:00
Android (Google) Code Review
cd964761dc am 91b0a701: Merge change 6284 into donut
Merge commit '91b0a7013e4b6d170087cb4c9a3c35b787f92a6b'

* commit '91b0a7013e4b6d170087cb4c9a3c35b787f92a6b':
  Run search UI on its own thread.
2009-07-08 13:52:26 -07:00