Merge commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c'
* commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c':
Fiddle with default densities to try to sanitize the API.
Merge commit 'ba989ad0ed91beda010d44945fa015d75d99cf67'
* commit 'ba989ad0ed91beda010d44945fa015d75d99cf67':
Use the old string for bookmarks permissions.
Merge commit '6ddaa3497ce7af2c303771365449501e2be52511'
* commit '6ddaa3497ce7af2c303771365449501e2be52511':
Send max displayed position in search dialog click event
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
- Update according to comments
- Add aidl support in frameworks for Settings to retrieve current
PBAP transaction status.
- Add status bar support for PBAP
Merge commit '11b6a29dfe380c97fa3df67a6b97ff3383592b58'
* commit '11b6a29dfe380c97fa3df67a6b97ff3383592b58':
AI 150594: change the homepage markup and styles to allow variable height in
AI 150587: add a sitemap for translated docs, for submission to Webmaster Tools,
AI 150541: roll the docs forward to 1.5 r3
AI 150538: add note that appwidget updates will wake the device and suggest an alarm
AI 150536: Change the formatting of sdk redirect pages so that they are not language-specific.
AI 150535: add the Videos page to the site
Merge commit '1dc8c62c5078f1598cc906de1b97b572cc3449a3'
* commit '1dc8c62c5078f1598cc906de1b97b572cc3449a3':
AI 150506: Fix some date format problems by switching cupcake over to using
Merge commit 'eec841f0505c3aeb5b18e53f48b755ff69b78c15'
* commit 'eec841f0505c3aeb5b18e53f48b755ff69b78c15':
AI 150460: Add missing art files for menu_guidelines doc.
AI 150397: turn off the right arrow in the carousel -- we only have 3 items.
AI 150390: Roll the docs back to 1.5 r2, temporarily.
AI 150381: Add localized content (ja2) to developer site.
AI 150380: Add localized content (ja) for developer site.
AI 150369: Add localized TOCs for developer site.
AI 150351: Doc updates for Android 1.5 SDK r3.
Merge commit 'b4fc70fcc9d8060bd4baf86294f6bc4aa0b1be49'
* commit 'b4fc70fcc9d8060bd4baf86294f6bc4aa0b1be49':
AI 150335: Removed the links to wikipedia.
Merge commit 'd5aa644f59f254133101369d71ec3fcea4baf33b'
* commit 'd5aa644f59f254133101369d71ec3fcea4baf33b':
AI 150304: Import a bunch of revised translations.
Merge commit '7d41c8dee1d5b789a9ecfab65929237c603f2a40'
* commit '7d41c8dee1d5b789a9ecfab65929237c603f2a40':
AI 150245: Import and add to the l10n builds new and updated translations for:
Merge commit '1f4dd5d6ca82bee7c2ac257d61b373f80dcc1354'
* commit '1f4dd5d6ca82bee7c2ac257d61b373f80dcc1354':
AI 150106: Add gcc/gmake/cygwin details to NDK sys requirements
AI 150083: Minor updates to the ndk docs based on approved messaging.
AI 150055: In Icon Guidelines doc, remove example icons that are not accessible to apps.
AI 150054: Misc changes for the sdk/devsite docs
AI 150008: update the Google IO announcement, point to session videos.
Merge commit '07ee3fdaea879fb568ab3263102766b46130ce56'
* commit '07ee3fdaea879fb568ab3263102766b46130ce56':
DO NOT MERGE. Already in master. Fix#1977876 : Key preview in WVGA broken.
Merge commit '4ca6659fe4c8299f886eba7f745bed509be8126b'
* commit '4ca6659fe4c8299f886eba7f745bed509be8126b':
Fixing bug 2003639 - this is a fix to prevent the AccessibilityManagerService
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.
+ 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.
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
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.