1526 Commits

Author SHA1 Message Date
Mike LeBeau
8c91dd7ec8 First update of SearchManager docs to reflect the new Donut Quick Search Box feature.
This simply cleans up any inconsistencies or weirdnesses, we still need to add the new
info for QSB.
2009-08-10 16:32:29 -07:00
Jean-Michel Trivi
77a5d39343 Fix bug 2022435.
Add new intent and matching extra to signal the completion of the
language pack installer. This is used by CL 20513.
2009-08-07 17:29:15 -07:00
Eric Fischer
e6034f6cd8 Import revised translations. 2009-08-07 10:49:49 -07:00
Jeff Sharkey
b8560b66fd Fix AppWidget layout inflation to resolve references.
When RemoteViews inflates a layout and set of actions, it
uses a cloned remote Context so it can fully access the
resources needed to complete the inflate.  However, in one
specific case when inflating the root view, LayoutInflater
calls back to the soon-to-be parent view to request the
correct set of LayoutParams through generateLayoutParams().

The default implementation of generateLayoutParams() uses
the Context of the /local/ View instead of the remote
Context being used for the inflation, which means that any
LayoutParam references in the root view are unresolved.

To fix this, we internally create our own copy of the target
remote Context.  This way, when the remote LayoutInflater
calls generateLayoutParams(), we inflate it using the remote
Context to correctly resolve any references.

This change is required as part of http://b/2038594
2009-08-06 21:53:56 -07:00
Karl Rosaen
a7a3b6ef0f Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
Fixes bug 2039508.  This makes backing out of the search dialog easier when dismissing the soft keyboard doesn't really
add any value.
2009-08-06 16:23:19 -07:00
Mike LeBeau
e303d2cf94 Send a special respond to the cursor in SuggestionsAdapter to tell it to
close itself directly because it may not happen correctly for some cursors
currently. This fixes http://b/2036290, which is being caused by
http://b/2015069 which we are not fixing for Donut, so this is a hack around
that for the time being.
2009-08-06 14:52:15 -07:00
San Mehat
7e63789a0e android: cgroups: Don't switch threads >= nice 10 when moving all threads to default
Signed-off-by: San Mehat <san@google.com>
2009-08-06 13:19:19 -07:00
Andrei Popescu
bf70afa212 Do not merge
Fix for 1900694: create the full path to the Gears permission database file so SQLite can actually create the database on the device
2009-08-06 14:46:59 +01:00
Android (Google) Code Review
d4543c519b Merge change 20108 into donut
* changes:
  Guard against remote process dying when retrieving column from cursor.
2009-08-05 10:41:09 -07:00
Karl Rosaen
a02d0d6020 Guard against remote process dying when retrieving column from cursor.
Fixes bug 2035791.
2009-08-05 10:35:00 -07:00
Karl Rosaen
6942330251 Remove the menu from the search dialog since there are a couple of issues with it we don't have time to fix for donut.
Fixes bugs 2034242 and 2034216 (the issues with the menu showing up above the ime, and triggering the ime to reshow
when closed).
2009-08-05 10:34:53 -07:00
Tadashi G. Takaoka
94e114c951 Moved Market related Checkin Stats enum to Events enum and merged
Internal Bug: bug1844952
2009-08-04 18:46:29 -07:00
Android (Google) Code Review
cd540294db Merge change 9704 into donut
* changes:
  Close the search dialog before starting voice search in all cases, i.e., also when launching web search, not just when it's using the intent API.
2009-08-04 14:24:06 -07:00
Mike LeBeau
c5e7fe36fb Close the search dialog before starting voice search in all cases, i.e.,
also when launching web search, not just when it's using the intent API.
2009-08-04 13:24:19 -07:00
Karl Rosaen
0e74f5a50b Guard against index out of bounds exception in lock pattern widget.
Fixes bug 2027516.
2009-08-04 13:23:36 -07:00
Eric Fischer
5452ec5c54 Merge abbreviated Russian month name fix over from cupcake.
Bug 2022144: Fix abbreviated Russian month names.
2009-08-04 11:01:37 -07:00
Eric Fischer
b282b0084e Import revised translations. DO NOT MERGE 2009-08-03 16:17:31 -07:00
Eric Fischer
393c6dff56 Merge Korean abbreviated date format fix from cupcake.
Bug 2018804: Use month/day/year characters instead of periods in
abbreviated Korean date formats.
2009-08-03 13:32:51 -07:00
Android (Google) Code Review
b8802b2138 Merge change 9330 into donut
* changes:
  Fix #2025900. If a https request is canceled while openConnection is called and a ssl error happened, the http thread can be blocked for up to 10 min. Added code to detect this case and unlock the thread.
2009-08-03 10:07:00 -07:00
Grace Kloba
4c8db8a4fe Fix #2025900. If a https request is canceled while openConnection is called
and a ssl error happened, the http thread can be blocked for up to 10 min.
Added code to detect this case and unlock the thread.
2009-07-30 23:13:34 -07:00
Android (Google) Code Review
3e584428de Merge change 9124 into donut
* changes:
  Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.
2009-07-30 19:53:47 -07:00
Android (Google) Code Review
c134c281ca Merge change 9265 into donut
* changes:
  Highlight IMEI-reading as part of READ_PHONE_STATE description
2009-07-30 16:18:21 -07:00
Christopher Tate
f2348429bc Highlight IMEI-reading as part of READ_PHONE_STATE description 2009-07-30 16:13:03 -07:00
Mike LeBeau
c2e0607205 Tell the SearchManager to stopSearch before starting an in-app voice
search. Without this, because of the recent changes to how the search
dialog hides and resumes, we end up re-showing the search dialog after
returning to the app from voice search, obscuring the new voice search
results behind.

Fixes http://b/2025364
2009-07-30 15:48:24 -07:00
Mike Reed
6af2552d24 use safeUnref() since the other macro is not defined in donut 2009-07-30 11:46:47 -04:00
Android (Google) Code Review
7299d6ad98 Merge change 9159 into donut
* changes:
  check for null native objects, which never happens on a real subclass (we throw in that case) but can happen because we allow the callers to create the base class from java.
2009-07-30 08:16:09 -07:00
Mike Reed
a04e555dc9 check for null native objects, which never happens on a real subclass (we throw in that case)
but can happen because we allow the callers to create the base class from java.
2009-07-30 11:05:57 -04:00
Bjorn Bringert
83dba19a8e Fix in-app search shortcut icons
When the suggstion provider is in a different package from the searchable
activity, the icons stored for shortcuts used the package of the
activity instead of the provider.

Fixes http://b/issue?id=2023993
2009-07-30 13:58:23 +01:00
Chih-Chung Chang
f88872655e Fix a bug in ImageView: The drawing matrix is not updated when setImageMatrix is called.
The drawing matrix used in onDraw() is mDrawMatrix, but in setImageMatrix()
only mMatrix is updated. We need to call configureBounds() to update
mDrawMatrix if it was null. The is found in bug 2023281.
2009-07-30 15:39:37 +08:00
Android (Google) Code Review
25dff70f15 Merge change 9039 into donut
* changes:
  Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
2009-07-29 19:44:48 -07:00
Dianne Hackborn
0d221012ff Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
It turns out we were not returning the density for anything retrieved from a
TypedArray...  which basically means any bitmap references from a layout or style...!!!

This is now fixed.

Also fiddle with the density compatibility mode to turn on smoothing in certain situations,
helping the look of things when they need to scale and we couldn't do the scaling at
load time.
2009-07-29 19:44:01 -07:00
Android (Google) Code Review
b91e2b0292 Merge change 9073 into donut
* changes:
  Special-case search within the browser to not show the app icon to the left of the search field. Also, because this removes context about whether you're in browser search or global search, we make sure to clear any entered text if you jump out to global search from within browser search.
2009-07-29 18:20:18 -07:00
Mike LeBeau
5a7d752b65 Special-case search within the browser to not show the app icon
to the left of the search field. Also, because this removes context
about whether you're in browser search or global search, we make
sure to clear any entered text if you jump out to global search from
within browser search.

This is a really ugly hack, but was required by the UI team. We will
find a better way to reconcile in Eclair.
2009-07-29 18:17:13 -07:00
Dianne Hackborn
0cd6376fa1 Fix issue #2018454: NullPointerException in ImageSpan constructor 2009-07-29 17:55:58 -07:00
Android (Google) Code Review
0067057c31 Merge change 9035 into donut
* changes:
  Fix the TabWidget to display custom views for the tabs better when the tabs have different sizes.
2009-07-29 15:27:55 -07:00
Jack Veenstra
5d5cd178e3 Fix the TabWidget to display custom views for the tabs better when the tabs have different sizes. 2009-07-29 15:19:23 -07:00
Android (Google) Code Review
3d716ed6a3 Merge change 9021 into donut
* changes:
  DO NOT MERGE - Fix CNAP-related NullPointerException
2009-07-29 14:52:11 -07:00
Wink Saville
9953eb27ed DO NOT MERGE - Fix CNAP-related NullPointerException
This will fix a CNAP-related bug where missing a call from a party with an
"Unknown" number presentation and then trying to log that call will cause
a NullPointerException to be thrown.

This was already merged into master so marked will not be merged.
2009-07-29 14:51:26 -07:00
Jean-Michel Trivi
ed06578edd Fix bug 2017664
Removed the TTS_ prefix in the TextToSpeech class to follow the standard naming convention.
Moved the TTS-related intents from the Intent class to TextToSpeech and TextToSpeech.Engine.
Renamed the TextToSpeech.Engine constants that are used as extras for the
  ACTION_TTS_CHECK_TTS_DATA intent to prefix them with EXTRA_.
Cleaned up the other TextToSpeech.Engine constant to remove superfluous mentions of
  "TTS" in the name.
2009-07-29 11:26:10 -07:00
Bjorn Bringert
725d8ff6c5 Log uid and package name when launching intents from search
This is to help debug http://b/issue?id=2020252
where the WEB_SEARCH intent is sometimes not handled.
2009-07-29 11:11:52 +01:00
Android (Google) Code Review
9b91d78a21 Merge change 8911 into donut
* changes:
  Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden
2009-07-28 22:08:30 -07:00
Android (Google) Code Review
4d4229e4d9 Merge change 8757 into donut
* changes:
  Support x509-user-cert mime type in browser.
2009-07-28 18:34:33 -07:00
Dianne Hackborn
a6ddc8af22 Fix issue #1999179: search -> click result -> press home = search dialog is shown then hidden
Re-arrange various things to ensure that the search dialog is told about system windows being
closed before it is told about the navigation back to home.
2009-07-28 17:55:13 -07:00
Android (Google) Code Review
159e1a9a13 Merge change 8883 into donut
* changes:
  fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN
2009-07-28 16:12:58 -07:00
Mathias Agopian
c87c4a3e3b fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN 2009-07-28 15:59:52 -07:00
Android (Google) Code Review
a62f16acca Merge change 8877 into donut
* changes:
  Remove warning in non-eng builds.
2009-07-28 15:34:25 -07:00
Romain Guy
e551dc76bc Remove warning in non-eng builds. 2009-07-28 15:30:11 -07:00
Android (Google) Code Review
6b46dc8616 Merge change 8840 into donut
* changes:
  Add padding to height of AutoCompleteTextView drop-down.
2009-07-28 13:11:13 -07:00
Bjorn Bringert
5420d01cef Add padding to height of AutoCompleteTextView drop-down.
As described in http://b/issue?id=2017825
PopupWindow.getMaxAvailableHeight() does not include the padding in
the available height. To get the ACTV drop-down to actually fill
the screen, this change adds the padding to the value returned
by PopupWindow.getMaxAvailableHeight().

This is part of the fix for http://b/issue?id=2014450
2009-07-28 21:08:25 +01:00
Android (Google) Code Review
f0d83fd907 Merge change 8752 into donut
* changes:
  Updates from API review.
2009-07-28 12:36:49 -07:00