3108 Commits

Author SHA1 Message Date
Android (Google) Code Review
738b4c000b Merge change 8773 into donut
* changes:
  Only dismiss search on suggestion click in in-app search
2009-07-28 07:19:26 -07:00
Bjorn Bringert
da1f4b669e Only dismiss search on suggestion click in in-app search
We now distinguish between in-app search (pivoted in from GlobalSearch)
and real in-app search mode. Only the latter dismisses the search
dialog when a suggestion is clicked. Also, the drop-down
is now always visible except in real in-app search mode.

Fixes http://b/issue?id=2014626
2009-07-28 15:15:26 +01:00
Chung-yih Wang
fd3db87e28 Support x509-user-cert mime type in browser.
+ Fix the public key matching and intent parameter mismatch.
2009-07-28 18:37:13 +08:00
Chung-yih Wang
1914523786 Forgot to convert the jstring to char* in certificate request. 2009-07-28 15:18:22 +08:00
Dianne Hackborn
7f2054392e Updates from API review.
* AccessibilityService -- document onBind() to not be implemented.
    * GestureLibrary.getLearner() -- needs to be hidden.
    * IntentSender -- remove protected constructors, document that it is retrieved from a PendingIntent.
    * Hide permissions: SHUTDOWN, STOP_APP_SWITCHES.
    * Context -- hide BACKUP_SERVICE.
    * ContextWrapper -- hide getSharedPrefs bla h blah
    * Intent.parseUri() -- fix docs.
    * ApplicationInfo.FLAG_TEST_ONLY?!?
    * Hide MockContext.getSharedPrefs blah blah
2009-07-28 00:13:47 -07:00
Android (Google) Code Review
d0021dcae7 Merge change 8740 into donut
* changes:
  Fix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation change
2009-07-27 22:15:35 -07:00
Dianne Hackborn
20583ff9d4 Fix issue #2015611: layering problem when moving an activity to the foreground.
"surface of singleTop acitivy is not added at the top, causing the activity is resumed
behind the top activity."
2009-07-27 21:51:05 -07:00
Dianne Hackborn
0d907fa00b Fix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation change 2009-07-27 20:48:50 -07:00
Android (Google) Code Review
ecbbecf6c5 Merge change 8620 into donut
* changes:
  Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation.
2009-07-27 19:46:35 -07:00
Android (Google) Code Review
79858fe2f5 Merge change 8678 into donut
* changes:
  Fixing bug #2008185 - problem with the TTS dropping utterances under heavy load was caused by the speech queue being locked. Switched to using a timeout with tryLock so that the TTS service does not give up immediately.
2009-07-27 15:08:03 -07:00
Android (Google) Code Review
95fa929ebe Merge change 8682 into donut
* changes:
  New small rating stars from the UI designers.
2009-07-27 14:31:33 -07:00
Charles Chen
0dbc6a44bb Fixing bug #2008185 - problem with the TTS dropping
utterances under heavy load was caused by the speech
queue being locked. Switched to using a timeout with
tryLock so that the TTS service does not give up
immediately.
2009-07-27 14:09:58 -07:00
Ilya Firman
730c66e635 New small rating stars from the UI designers. 2009-07-27 14:03:55 -07:00
Android (Google) Code Review
1fcabd7b32 Merge change 8677 into donut
* changes:
  DO NOT MERGE.
2009-07-27 13:55:18 -07:00
Grace Kloba
8268170d3f DO NOT MERGE.
Per product team request, remove 1x zoom button. Move the zoom overview to
the bottom left and zoom control to the bottom right.
2009-07-27 13:44:47 -07:00
Android (Google) Code Review
ef9fd18d90 Merge change 8616 into donut
* changes:
  Fiddle with default densities to try to sanitize the API.
2009-07-27 12:03:36 -07:00
Android (Google) Code Review
ba989ad0ed Merge change 8648 into donut
* changes:
  Use the old string for bookmarks permissions.
2009-07-27 10:49:07 -07:00
Bjorn Bringert
5b11a0f3e1 DPAD_DOWN moves from search/voice search key to drop-down
Fixes http://b/issue?id=2014688
2009-07-27 17:10:46 +01:00
Leon Scroggins
e7d1c8f377 Use the old string for bookmarks permissions.
When we made the bookmark permissions public, we also changed their
names, which might break existing apps.  Change them back.  Depends
on a change in packages/apps/Browser
2009-07-27 11:14:04 -04:00
Bjorn Bringert
9377738cdb Remove search dialog PRE_CLOSE event
This is part of the fix for http://b/issue?id=2000655
2009-07-27 11:48:32 +01:00
Bjorn Bringert
6ddaa3497c Send max displayed position in search dialog click event
This is part of the fix for http://b/issue?id=2000655
2009-07-27 11:44:56 +01:00
Tammo Spalink
5e5b8c45db Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation. 2009-07-27 16:20:31 +08:00
Android (Google) Code Review
0fdedd00c5 Merge change 8612 into donut
* changes:
  Remove visibility checks from SearchManager tests
2009-07-26 22:01:43 -07:00
Dianne Hackborn
96e240f25a Fiddle with default densities to try to sanitize the API.
An issue with the density API is that bitmaps assumed the old default density,
so new programs would have to explicitly set the correct density for every bitmap
they create.

This is an attempt to fix that situation, by define the default density of bitmaps
to be the main screen's density, except for old apps where it is the original default
density.

Actually implementing this is not so great, though, because the Bitmap constructors
can't really know anything about who is calling them to know which density to use.
So at this level the compatibility mode is defined per-process -- meaning the initial
package loaded into a process defines the default bitmap density, and everyone else
loaded in later on has to live with that.

In practice this shouldn't be much of a problem, there shouldn't be much mixing of
old vs. new apps in a process.  It does mean that, going forward, if a developer is
going to use shared user IDs for this, they will need to make sure either that all of
their apps are in the same compatibility mode, or that their code explicitly sets the
density of bitmaps it receives.  This isn't all that great, but I think it is worth
the benefit of allowing people who write modern apps to not have to deal with bitmap
densities.

This change also does some cleanup of the density management (making sure to always
copy over bitmap densities, etc) and adds java docs to explain the various ways
density is set and used by the system.
2009-07-26 17:42:30 -07:00
Hung-ying Tyan
21bd4af88a Simplify the VPN service implementation.
+ Remove NormalProcessProxy and ProcessProxy as they are not used
  anymore.
+ Rename AndroidServiceProxy to DaemonProxy and simplify its
  implementation as it does not extend to ProcessProxy anymore.
+ Execute connect() in VpnService in one thread, which simplifies socket
  and error handling.
+ Modify service subclasses accordingly.
+ Execute connect() and disconnect() in VpnServiceBinder so that the
  operations do not block the UI thread. Mark service as foreground only upon
  connecting.
2009-07-27 06:13:11 +08:00
Bjorn Bringert
3fc78e1294 Remove visibility checks from SearchManager tests
Since the search UI is handled by the system process, and
the service calls to show and hide it are asynchronous,
the tests that checked the visibility of the search UI were
very flaky. This change sclaes the tests back to just check
that nothing crashes when showing and hiding the search UI.

Fixes http://b/issue?id=1993675
2009-07-26 22:27:47 +01:00
Android (Google) Code Review
11b6a29dfe Merge change 8564 into donut
* changes:
  Merge doc change from cupcake: commit 'a8d035ccf319e1aed685a1e1509681350f737fd1' into manualmerge
2009-07-24 20:52:01 -07:00
Android (Google) Code Review
1dc8c62c50 Merge change 8563 into donut
* changes:
  Empty merge from cupcake: commit '77bab58fd1c21b0e3035dee411b4a938e6a824ce' into manualmerge
2009-07-24 20:51:25 -07:00
Android (Google) Code Review
85e2cd89a0 Merge change 8562 into donut
* changes:
  Empty merge from cupcake: commit '7cecaed3192a6503df0ddf4d81b3b620b7cd9635' into manualmerge
2009-07-24 20:50:47 -07:00
Android (Google) Code Review
09a6ad8f78 Merge change 8561 into donut
* changes:
  Empty merge from cupcake: commit '414f62c0cb7eceeb1cd24bf9e570688a00683f9c' into manualmerge
2009-07-24 20:50:17 -07:00
Android (Google) Code Review
eec841f050 Merge change 8560 into donut
* changes:
  Merge doc changes from cupcake: commit '5ae517d9659e96e9525406ffbce18dcacc3294bc' into manualmerge
2009-07-24 20:49:41 -07:00
Android (Google) Code Review
b4fc70fcc9 Merge change 8559 into donut
* changes:
  Empty merge from cupcake: commit 'ff339f0b966c5ca62867689a13ea713e6cb62a15'
2009-07-24 20:49:01 -07:00
Android (Google) Code Review
d5aa644f59 Merge change 8558 into donut
* changes:
  Empty merge from cupcake: commit '79188bb2c9bac9fef1bc86b7f9f54324471ee53e'
2009-07-24 20:48:17 -07:00
Android (Google) Code Review
199bc37602 Merge change 8557 into donut
* changes:
  Merge doc change from cupcake: commit '2c44586d118208bdddfc727165ebf235fe7c0051'
2009-07-24 20:46:39 -07:00
Android (Google) Code Review
22a102022c Merge change 8556 into donut
* changes:
  Empty merge from cupcake: commit '2e7e15f2da527f762f6eb56b974e758d83f12660'
2009-07-24 20:45:56 -07:00
Android (Google) Code Review
7d41c8dee1 Merge change 8555 into donut
* changes:
  Empty merge from cupcake:  commit '5a3a63f8b450a1902dd26809f18e35ef30befff3'
2009-07-24 20:44:57 -07:00
Android (Google) Code Review
4d3a15be83 Merge change 8554 into donut
* changes:
  Empty merge from cupcake: commit 'b69bed1947d4c8835b861f7b68be756b6a8e80d3'
2009-07-24 20:44:21 -07:00
Android (Google) Code Review
1f4dd5d6ca Merge change 8553 into donut
* changes:
  Merge doc changes from cupcake at commit '373271b94cbe01c337b4952d0d5764e200c69f48'
2009-07-24 20:43:20 -07:00
Amith Yamasani
07ee3fdaea DO NOT MERGE. Already in master. Fix #1977876 : Key preview in WVGA broken.
Use PX unit when setting the text size since we're getting the size from getTextSize()
Reduce delay for popup.
2009-07-24 17:51:10 -07:00
Android (Google) Code Review
4ca6659fe4 Merge change 8565 into donut
* changes:
  Fixing bug 2003639 - this is a fix to prevent the AccessibilityManagerService from crashing if it gets an invalid accessibility event.
2009-07-24 17:09:33 -07:00
Charles Chen
bbc1934e0e Fixing bug 2003639 - this is a fix to prevent the AccessibilityManagerService
from crashing if it gets an invalid accessibility event.
2009-07-24 16:06:09 -07:00
Dirk Dougherty
76e95bbea6 Merge doc change from cupcake: commit 'a8d035ccf319e1aed685a1e1509681350f737fd1' into manualmerge 2009-07-24 15:35:09 -07:00
Dirk Dougherty
1ac40c700c Empty merge from cupcake: commit '77bab58fd1c21b0e3035dee411b4a938e6a824ce' into manualmerge 2009-07-24 14:42:23 -07:00
Dirk Dougherty
ad8fe45da0 Empty merge from cupcake: commit '7cecaed3192a6503df0ddf4d81b3b620b7cd9635' into manualmerge 2009-07-24 14:41:39 -07:00
Dirk Dougherty
106c09cc2c Empty merge from cupcake: commit '414f62c0cb7eceeb1cd24bf9e570688a00683f9c' into manualmerge 2009-07-24 14:40:03 -07:00
Dirk Dougherty
2bfd344b67 Merge doc changes from cupcake: commit '5ae517d9659e96e9525406ffbce18dcacc3294bc' into manualmerge 2009-07-24 14:39:03 -07:00
Dirk Dougherty
0c64c1c96a Empty merge from cupcake: commit 'ff339f0b966c5ca62867689a13ea713e6cb62a15' 2009-07-24 12:57:01 -07:00
Dirk Dougherty
9ba594e12d Empty merge from cupcake: commit '79188bb2c9bac9fef1bc86b7f9f54324471ee53e' 2009-07-24 12:55:55 -07:00
Dirk Dougherty
6d9ffc5f25 Merge doc change from cupcake: commit '2c44586d118208bdddfc727165ebf235fe7c0051' 2009-07-24 12:54:42 -07:00
Dirk Dougherty
616fe5134b Empty merge from cupcake: commit '2e7e15f2da527f762f6eb56b974e758d83f12660' 2009-07-24 12:53:09 -07:00