5602 Commits

Author SHA1 Message Date
Amith Yamasani
e45b3ff8b2 am 07ee3fda: (-s ours) DO NOT MERGE. Already in master. Fix #1977876 : Key preview in WVGA broken.
Merge commit '07ee3fdaea879fb568ab3263102766b46130ce56'

* commit '07ee3fdaea879fb568ab3263102766b46130ce56':
  DO NOT MERGE. Already in master. Fix #1977876 : Key preview in WVGA broken.
2009-07-26 21:46:28 -07:00
Android (Google) Code Review
a69f055445 am 4ca6659f: Merge change 8565 into donut
Merge commit '4ca6659fe4c8299f886eba7f745bed509be8126b'

* commit '4ca6659fe4c8299f886eba7f745bed509be8126b':
  Fixing bug 2003639 - this is a fix to prevent the AccessibilityManagerService
2009-07-26 21:46:23 -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
Jeff Sharkey
ef348c757d Minor naming fixes. 2009-07-26 14:14:47 -07:00
Jean-Baptiste Queru
6431e95715 reconcile korg/master into goog/master 2009-07-26 11:43:55 -07:00
Satish.Kulkarni
eafe72a0db Fix for missing call drop notice in CDMA mode
In case the cdma modem indicates unspecified error as a reason for a
dropped call, then the cause was wrongly being translated to NORMAL call in
DisconnectCause. This has been fixed to report ERROR_UNSPECIFIED as
DisconnectCause in Connection.java.
2009-07-25 21:28:20 -07:00
Jean-Baptiste Queru
2af1b3db3d Merge korg/donut into korg/master 2009-07-25 21:15:25 -07:00
Elliott Hughes
65de0e6a26 Encourage the better way of removing an Activity's title bar.
Books and web pages seem to prefer the requestWindowFeature method
over the android:theme, despite the advantages of the latter. This
may be because we mention requestWindowFeature but not android:theme
in our FAQ.

(Also add missing end tag to fix page rendering with Chrome.)
2009-07-25 15:55:19 -07:00
Eric Laurent
a04aaff2be Fix the build for BOARD_USES_GENERIC_AUDIO option 2009-07-25 01:41:52 -07:00
Android (Google) Code Review
d0bb9ae101 Merge change 8495
* changes:
  Fix issue 2001204: libaudiopolicy.so and libaudiopolicygeneric.so libraries must be pre-linked.
2009-07-25 00:54:36 -07: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
Android (Google) Code Review
f55b8e200f Merge change 8567
* changes:
  Add getCacheDir() to RenamingDelegatingContext.
2009-07-24 20:24:20 -07:00
Eric Fischer
a6e5045489 When you double-tap a word in an EditText, select the word.
Bug 1978109
2009-07-24 18:15:18 -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
Dianne Hackborn
ddca3ee3e8 Add support for power keys, improve behavior of virtual keys.
The platform now knows how to deal with a platform key, which at this
point is "just like end call, but don't end a call."

Also improve the handling of virtual keys, to allow for canceling when
sliding off into the display and providing haptic feedback.

Finally fixes a bug where the raw x and y in motion event were not
always set which caused the status bar to not work.
2009-07-24 17:30:15 -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
Android (Google) Code Review
8e4ac7140a Merge change 8571
* changes:
  Don't leave restore data lying around after the operation
2009-07-24 16:38:49 -07:00
Christopher Tate
1531dc80e6 Don't leave restore data lying around after the operation 2009-07-24 16:37:43 -07:00
Grace Kloba
a16de7b03a Fix 1993520 where page cycler fails.
Recover the old logic before removing network management. Remove the empty
list for the host after consuming the last entry. As we should never have
an empty list, it is safe to call removeFirst without checking whether it is
empty.

Currently, in getRequest() or removeFrist(), if we found an empty list, we
remove it. Then we return null for the request even there are requests in
another list. So the page stops loading until the next getRequest() or
removeFirst() is called. If they are not called, those requests will never
be accessed.
2009-07-24 16:27:11 -07:00
Dianne Hackborn
e2dba02441 am 11ea3347: Allow for screen density drawables in compatibility mode.
Merge commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8'

* commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8':
  Allow for screen density drawables in compatibility mode.
2009-07-24 16:08:56 -07:00
Android (Google) Code Review
2470a7b4a8 am 3b99e64e: Merge change 8475 into donut
Merge commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d'

* commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d':
  Per conversation, remove the toast while saving the Certificates to CertTools.
2009-07-24 16:08:50 -07:00
Android (Google) Code Review
41220f2c5b am 7c187de1: Merge change 8462 into donut
Merge commit '7c187de14f6b5ec6d90bc8e26265a2ca2824e39a'

* commit '7c187de14f6b5ec6d90bc8e26265a2ca2824e39a':
  Make the DatePicker respect the date format setting if the date is numeric.
2009-07-24 16:08:45 -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
Android (Google) Code Review
27700ef16b Merge change 8525
* changes:
  Add method in Phone interface to check whether data is enabled.
2009-07-24 13:25:56 -07:00
Wink Saville
c6d6b687af Add method in Phone interface to check whether data is enabled.
This adds isDataConnectivityEnabled to allow test methods to query the
data connectivity state.
2009-07-24 13:23:55 -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
Chung-yih Wang
d0ac7ab1f9 am 719eba5b: Change to SPKAC certificate request format for keygen.
Merge commit '719eba5bb1fbc72e3b55450f16b38a6be5640055'

* commit '719eba5bb1fbc72e3b55450f16b38a6be5640055':
  Change to SPKAC certificate request format for keygen.
2009-07-24 12:52:40 -07:00
Chung-yih Wang
b4e552844c am 75b68163: Add memcpy and strcpy boundary check.
Merge commit '75b681639d3945d22d4ab90856a65a05405d2538'

* commit '75b681639d3945d22d4ab90856a65a05405d2538':
  Add memcpy and strcpy boundary check.
2009-07-24 12:52:33 -07:00
Android (Google) Code Review
ff899e4090 am 0a4730f8: Merge change 8443 into donut
Merge commit '0a4730f8889bd98e272bd5e7e0fedb6a69d33f54'

* commit '0a4730f8889bd98e272bd5e7e0fedb6a69d33f54':
  add some more defensiveness to SuggestionsAdapter to avoid system process crashes.
2009-07-24 12:52:09 -07:00