OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "docs: remove graphics rs docs and restructure existing docs" into jb-dev
Robert Ly [Wed, 27 Jun 2012 00:58:57 +0000 (17:58 -0700)]
Merge "docs: remove graphics rs docs and restructure existing docs" into jb-dev

12 years agodocs: remove graphics rs docs and restructure existing docs
Robert Ly [Mon, 18 Jun 2012 01:22:17 +0000 (18:22 -0700)]
docs: remove graphics rs docs and restructure existing docs

Change-Id: I8603c827095143327053e8eba855177ec466a948

12 years agoMerge "MtpDatabase: Fix sqlite3 pattern matching for MTP directory deletes" into...
Mike Lockwood [Tue, 26 Jun 2012 23:57:02 +0000 (16:57 -0700)]
Merge "MtpDatabase: Fix sqlite3 pattern matching for MTP directory deletes" into jb-dev

12 years agoMerge "docs: add landing for gcm" into jb-dev
Scott Main [Tue, 26 Jun 2012 23:53:44 +0000 (16:53 -0700)]
Merge "docs: add landing for gcm" into jb-dev

12 years agodocs: add landing for gcm
Robert Ly [Wed, 20 Jun 2012 18:54:25 +0000 (11:54 -0700)]
docs: add landing for gcm

Change-Id: Icfe158670c0a07a6dffed496a444e49b5c5ef926

12 years agoMerge "docs: Android SDK r20 Release Notes - cherypick from dac-dev - Change-Id:...
Joe Fernandez [Tue, 26 Jun 2012 23:45:31 +0000 (16:45 -0700)]
Merge "docs: Android SDK r20 Release Notes - cherypick from dac-dev - Change-Id: I696dd125e04c8edb23ed88f8639af3b556c0b0e1" into jb-dev

12 years agoMerge "docs: GL Tracer, Device Monitor Tools for SDK r20" into jb-dev
Joe Fernandez [Tue, 26 Jun 2012 23:45:12 +0000 (16:45 -0700)]
Merge "docs: GL Tracer, Device Monitor Tools for SDK r20" into jb-dev

12 years agoMerge "Fix issue #6730064: When turning off Nakasi, it very often..." into jb-dev
Dianne Hackborn [Tue, 26 Jun 2012 23:36:36 +0000 (16:36 -0700)]
Merge "Fix issue #6730064: When turning off Nakasi, it very often..." into jb-dev

12 years agoMtpDatabase: Fix sqlite3 pattern matching for MTP directory deletes
Mike Lockwood [Tue, 26 Jun 2012 23:31:41 +0000 (16:31 -0700)]
MtpDatabase: Fix sqlite3 pattern matching for MTP directory deletes

Bug: 6684451

Change-Id: I90204550ccfcd1b7a5b1973bed2a88e934aae053
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agodocs: GL Tracer, Device Monitor Tools for SDK r20
Joe Fernandez [Tue, 19 Jun 2012 22:48:29 +0000 (15:48 -0700)]
docs: GL Tracer, Device Monitor Tools for SDK r20

Change-Id: Ib45210b88a7eb93e3bba4f7d535f344ccb054a72

12 years agoMerge "Doc update: Adding new GCM docs." into jb-dev
Katie McCormick [Tue, 26 Jun 2012 22:29:05 +0000 (15:29 -0700)]
Merge "Doc update: Adding new GCM docs." into jb-dev

12 years agoDoc update: Adding new GCM docs.
Katie McCormick [Mon, 25 Jun 2012 16:56:29 +0000 (09:56 -0700)]
Doc update: Adding new GCM docs.

Change-Id: I98dcbad644e416538f6dcad64a063809f8662e24

12 years agoFix issue #6730064: When turning off Nakasi, it very often...
Dianne Hackborn [Tue, 26 Jun 2012 21:34:54 +0000 (14:34 -0700)]
Fix issue #6730064: When turning off Nakasi, it very often...

...turns itself immediately back on.

The ON_AFTER_RELEASE flag is documented to not turn the screen on if
it is currently off.

Unfortunately, it didn't seem to actually do this -- it would just
cause a userActivity() call, which turns on the screen if it is
currently off.

Fix this by adding yet another boolean to that function to tell it
to not poke user activity if the screen is off.  (Yes the number of
booleans on it is now insane, and should be cleaned up after we
get through JB.)

Bug: 6730064
Change-Id: I850dfbc777c7668d08b7d63f42a293e22b878256

12 years agoMerge "docs: ADK 2012 documentation with AOA protocol docs" into jb-dev
Joe Fernandez [Tue, 26 Jun 2012 20:15:26 +0000 (13:15 -0700)]
Merge "docs: ADK 2012 documentation with AOA protocol docs" into jb-dev

12 years agoMerge "image typos in documents fix" into jb-dev
Peter Ng [Tue, 26 Jun 2012 20:12:45 +0000 (13:12 -0700)]
Merge "image typos in documents fix" into jb-dev

12 years agoMerge "Reducing the contrast of text underline" into jb-dev
Gilles Debunne [Tue, 26 Jun 2012 20:12:07 +0000 (13:12 -0700)]
Merge "Reducing the contrast of text underline" into jb-dev

12 years agoMerge "docs: rs api docs" into jb-dev
Robert Ly [Tue, 26 Jun 2012 19:14:04 +0000 (12:14 -0700)]
Merge "docs: rs api docs" into jb-dev

12 years agodocs: rs api docs
Robert Ly [Fri, 22 Jun 2012 00:00:34 +0000 (17:00 -0700)]
docs: rs api docs

Change-Id: Ib2f1ae1ba47118242d4a52b943f5eba26714aa1f

12 years agoimage typos in documents fix
Peter Ng [Tue, 26 Jun 2012 18:18:29 +0000 (11:18 -0700)]
image typos in documents fix

Change-Id: I357ff2d99bc2dff9ac27cfd6d1e97afb35740dbc

12 years agoMerge "Use removePackageLI instead of removing mPackages" into jb-dev
Kenny Root [Tue, 26 Jun 2012 17:34:44 +0000 (10:34 -0700)]
Merge "Use removePackageLI instead of removing mPackages" into jb-dev

12 years agoMerge "TabletStatusBar: Lights-out shadow view should be taller" into jb-dev
John Spurlock [Tue, 26 Jun 2012 16:55:53 +0000 (09:55 -0700)]
Merge "TabletStatusBar: Lights-out shadow view should be taller" into jb-dev

12 years agodocs: ADK 2012 documentation with AOA protocol docs
Joe Fernandez [Mon, 25 Jun 2012 06:58:25 +0000 (23:58 -0700)]
docs: ADK 2012 documentation with AOA protocol docs

Change-Id: Ife96b3ffa890d42fc97125b30bdd389448645562

12 years agoMerge "docs: move NDK into Download section" into jb-dev
Scott Main [Tue, 26 Jun 2012 04:17:49 +0000 (21:17 -0700)]
Merge "docs: move NDK into Download section" into jb-dev

12 years agoMerge "DevicePolicyManagerService: dump less" into jb-dev
Nick Kralevich [Tue, 26 Jun 2012 01:43:56 +0000 (18:43 -0700)]
Merge "DevicePolicyManagerService: dump less" into jb-dev

12 years agoDevicePolicyManagerService: dump less
Nick Kralevich [Tue, 26 Jun 2012 00:39:12 +0000 (17:39 -0700)]
DevicePolicyManagerService: dump less

Reduce the amount of unnecessary information emitted from
the DevicePolicyManagerService.

Bug: 6732364
Change-Id: I639f6beab8471bdbe41ce6cd3a5a378acaf678b2

12 years agoMerge "Fix issue #6381224: Initial emulator boot fails and shows a blank black screen...
Dianne Hackborn [Tue, 26 Jun 2012 00:35:49 +0000 (17:35 -0700)]
Merge "Fix issue #6381224: Initial emulator boot fails and shows a blank black screen." into jb-dev

12 years agoMerge "Fix issue #6717667: expanded notification actions don't work on the lock scree...
Dianne Hackborn [Tue, 26 Jun 2012 00:35:36 +0000 (17:35 -0700)]
Merge "Fix issue #6717667: expanded notification actions don't work on the lock screen" into jb-dev

12 years agoMerge "DO NOT MERGE Fix issue #6697105: App launching sometimes has random pauses...
Dianne Hackborn [Tue, 26 Jun 2012 00:35:21 +0000 (17:35 -0700)]
Merge "DO NOT MERGE Fix issue #6697105: App launching sometimes has random pauses" into jb-dev

12 years agoMerge "Ensure screen reader URL gets updated during ICS to JB update." into jb-dev
Svetoslav Ganov [Tue, 26 Jun 2012 00:09:24 +0000 (17:09 -0700)]
Merge "Ensure screen reader URL gets updated during ICS to JB update." into jb-dev

12 years agodocs: Android SDK r20 Release Notes - cherypick from dac-dev - Change-Id: I696dd125e0...
Joe Fernandez [Tue, 19 Jun 2012 16:54:07 +0000 (09:54 -0700)]
docs: Android SDK r20 Release Notes - cherypick from dac-dev - Change-Id: I696dd125e04c8edb23ed88f8639af3b556c0b0e1

Change-Id: I37ac2387b1fcc6a321f5c8edc44abe834a01762d

12 years agoReducing the contrast of text underline
Gilles Debunne [Mon, 25 Jun 2012 22:46:50 +0000 (15:46 -0700)]
Reducing the contrast of text underline

Alpha set to 50%.

Bug: 6712694
Change-Id: Ic292b6e24a97426e835fa379b1fd60d3b7912e99

12 years agoUse removePackageLI instead of removing mPackages
Kenny Root [Mon, 25 Jun 2012 23:37:32 +0000 (16:37 -0700)]
Use removePackageLI instead of removing mPackages

When adding an system app via OTA, trying to remove it from mPackages
directly doesn't work. The ContentProviders and other things aren't
removed and point to the hidden system app's applicationInfo instead of
the updated app.

Bug: 6685263
Change-Id: I487cf518e0e3c60fae736e9b974617023a7dee8d

12 years agoMerge "cherrypick from ics-mr1: fixed custom-view zip file - Change-Id: Iaa6273846c4b...
Joe Fernandez [Mon, 25 Jun 2012 22:58:47 +0000 (15:58 -0700)]
Merge "cherrypick from ics-mr1: fixed custom-view zip file - Change-Id: Iaa6273846c4b132723f4574925a0db107f3cda7f" into jb-dev

12 years agoMerge "Update documentation on max widget bitmap usage" into jb-dev
Michael Jurka [Mon, 25 Jun 2012 22:26:48 +0000 (15:26 -0700)]
Merge "Update documentation on max widget bitmap usage" into jb-dev

12 years agoMerge "Don't wait until boot timeout if there is no wallpaper." into jb-dev
Jeff Brown [Mon, 25 Jun 2012 22:26:19 +0000 (15:26 -0700)]
Merge "Don't wait until boot timeout if there is no wallpaper." into jb-dev

12 years agoMerge "Don't enable input dispatch until display enabled." into jb-dev
Jeff Brown [Mon, 25 Jun 2012 22:26:14 +0000 (15:26 -0700)]
Merge "Don't enable input dispatch until display enabled." into jb-dev

12 years agocherrypick from ics-mr1: fixed custom-view zip file - Change-Id: Iaa6273846c4b132723f...
Ian Ni-Lewis [Mon, 25 Jun 2012 19:59:07 +0000 (12:59 -0700)]
cherrypick from ics-mr1: fixed custom-view zip file - Change-Id: Iaa6273846c4b132723f4574925a0db107f3cda7f

Change-Id: I894d4f7b265dbbc2792207e7955453dcf27472d6

12 years agoUpdate documentation on max widget bitmap usage
Michael Jurka [Mon, 25 Jun 2012 22:11:21 +0000 (15:11 -0700)]
Update documentation on max widget bitmap usage

Change-Id: I564afccc425f7e76501cb7ffd404ad369bdd396d

12 years agoMerge "TabletStatusBar: Hide notifications during Setup Wizard" into jb-dev
John Spurlock [Mon, 25 Jun 2012 21:58:22 +0000 (14:58 -0700)]
Merge "TabletStatusBar: Hide notifications during Setup Wizard" into jb-dev

12 years agoMerge "Document some of the more common mimetypes to be used when instantiating"...
Andreas Huber [Mon, 25 Jun 2012 21:50:53 +0000 (14:50 -0700)]
Merge "Document some of the more common mimetypes to be used when instantiating" into jb-dev

12 years agoDocument some of the more common mimetypes to be used when instantiating
Andreas Huber [Mon, 25 Jun 2012 20:53:43 +0000 (13:53 -0700)]
Document some of the more common mimetypes to be used when instantiating

MediaCodec components.

Change-Id: I810507d1d76a28666eb6fb63e3b597d38e5f1389

12 years agoFix issue #6717667: expanded notification actions don't work on the lock screen
Dianne Hackborn [Fri, 22 Jun 2012 22:21:36 +0000 (15:21 -0700)]
Fix issue #6717667: expanded notification actions don't work on the lock screen

FLAG_ACTIVITY_CLOSE_SYSTEM_DIALOGS was a mistake.

Instead, and the infrastructure for the status bar to take care
of closing and hiding things itself when you press these buttons,
just like it does for the main Intent of the notification.

Bug: 6717667
Change-Id: I1b22186e0cedc05f46a1a3ec78053a72afaf61b1

12 years agoFix issue #6381224: Initial emulator boot fails and shows a blank black screen.
Dianne Hackborn [Sun, 24 Jun 2012 20:20:51 +0000 (13:20 -0700)]
Fix issue #6381224: Initial emulator boot fails and shows a blank black screen.

Make sure that all cases where we remove an activity from the history
stack, we call resumeTopActivityLocked() to cause the home activity
to be launched if the stack is now empty.

Also fixed a problem where some timeouts would not be removed when destroying
an activity, and a race condition in boot that would cause the
PhoneWindowManager to initially start out with the home key not working.

Bug: 6381224
Change-Id: If046bb01aed624b0d9ee3bbaaba68ed6b98fd1d0

12 years agoMerge "docs: clean up javadoc code snippets, unescaped entities" into jb-dev
Scott Main [Mon, 25 Jun 2012 19:31:11 +0000 (12:31 -0700)]
Merge "docs: clean up javadoc code snippets, unescaped entities" into jb-dev

12 years agoMerge "docs: return the sdk terms doc to the site. needs to be revised, but for now...
Scott Main [Mon, 25 Jun 2012 18:57:09 +0000 (11:57 -0700)]
Merge "docs: return the sdk terms doc to the site. needs to be revised, but for now offers some info that's still relevant to some services" into jb-dev

12 years agodocs: return the sdk terms doc to the site. needs to be revised,
Scott Main [Mon, 25 Jun 2012 18:55:20 +0000 (11:55 -0700)]
docs: return the sdk terms doc to the site. needs to be revised,
but for now offers some info that's still relevant to some services

Change-Id: I689171ab81b7c47334d8dfa738be80e7eca4581a

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Mon, 25 Jun 2012 18:32:30 +0000 (11:32 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoTabletStatusBar: Lights-out shadow view should be taller
John Spurlock [Mon, 25 Jun 2012 18:32:05 +0000 (14:32 -0400)]
TabletStatusBar: Lights-out shadow view should be taller

The lights-out shadow view is now the same height as the system bar.
This makes for a better looking animation (no cropping) and positions
the dots in the right place.

Bug: 6722791
Change-Id: Ifc2cc1586cd72a81a7bb801442be4fa4e03da2a5

12 years agodocs: clean up javadoc code snippets, unescaped entities
Scott Main [Mon, 25 Jun 2012 18:22:10 +0000 (11:22 -0700)]
docs: clean up javadoc code snippets, unescaped entities

Change-Id: Idc21caceccaaa2cc11a6c46b453b6a9b26164f34

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 25 Jun 2012 18:24:00 +0000 (11:24 -0700)]
Import translations. DO NOT MERGE

Change-Id: I829c0795e2bf76fe1e2315977aeab8d63d3ed76d

12 years agodocs: move AIDL doc under Services in api guides.
Scott Main [Mon, 25 Jun 2012 17:02:13 +0000 (10:02 -0700)]
docs: move AIDL doc under Services in api guides.

Change-Id: I525de97958e2093af15cce2b007ec022cb315a71

12 years agoTabletStatusBar: Hide notifications during Setup Wizard
John Spurlock [Sat, 23 Jun 2012 21:11:27 +0000 (17:11 -0400)]
TabletStatusBar: Hide notifications during Setup Wizard

Protect tablet users going through the initial setup wizard from trapping
themselves in Settings before the setup wizard is complete. A similar change
was already made for phones, so use the same logic.

Also hide quick-settings button (another way to get trapped in Settings) and
associated panel click handler.  Remove clear button since we're no longer
showing notification items.

Bug: 6704080
Change-Id: If7148cde9d18f493627f8367fd4b39d22e0d5ef1

12 years agoFix MediaRouter bugs
Adam Powell [Sun, 24 Jun 2012 21:30:46 +0000 (14:30 -0700)]
Fix MediaRouter bugs

Fix a bug where a newly added group had no supported types at the time
of callback dispatch, meaning that no registered callbacks would be
invoked.

Fix a bug where subscribed type flags were not updated properly when
re-adding a callback for new types.

Change-Id: I7d9f11b363ebdca692786cec1d432600946e5721

12 years agoDon't wait until boot timeout if there is no wallpaper.
Jeff Brown [Sun, 24 Jun 2012 19:15:38 +0000 (12:15 -0700)]
Don't wait until boot timeout if there is no wallpaper.

When launching only core apps, the wallpaper service
is not started.  Without this change the WM waits
up to 30 seconds for the wallpaper window to be created even
though it will never happen.  This introduces a significant
delay before the boot animation is dismissed so the user can
enter a decryption password.

Bug: 6263070
Change-Id: Ia975127a0bf09cf99818f7cc4fd6c0264b740ec6

12 years agoDon't enable input dispatch until display enabled.
Jeff Brown [Sun, 24 Jun 2012 19:14:49 +0000 (12:14 -0700)]
Don't enable input dispatch until display enabled.

Bug: 6263070
Change-Id: I05d036fc1d9ec06d164d6743d45bb3f199cfab47

12 years agodocs: remove unused id attribute from Button
Scott Main [Sat, 23 Jun 2012 23:34:32 +0000 (16:34 -0700)]
docs: remove unused id attribute from Button

Change-Id: Ia61c418972699d40757923fd69ea27b26eddaa05

12 years agoeat comment so it doesn't appear in docs
Scott Main [Sat, 23 Jun 2012 19:36:17 +0000 (12:36 -0700)]
eat comment so it doesn't appear in docs

Change-Id: Id2b539fc80422edb32c86fa17ad888abbc48ba49

12 years agodocs: fix broken link
Scott Main [Sat, 23 Jun 2012 18:27:20 +0000 (11:27 -0700)]
docs: fix broken link

Change-Id: Ia4ccab838e36b6e0e9298ed7222b5a581d3d5234

12 years agodocs: remove ICS from developer hompage
Scott Main [Sat, 23 Jun 2012 05:18:26 +0000 (22:18 -0700)]
docs: remove ICS from developer hompage

Change-Id: I6c2ca0f8e859a65f2de1d73198af9fd40d374f95

12 years agoMerge "docs: add jelly bean to homepage" into jb-dev
Scott Main [Sat, 23 Jun 2012 04:23:20 +0000 (21:23 -0700)]
Merge "docs: add jelly bean to homepage" into jb-dev

12 years agodocs: add jelly bean to homepage
Scott Main [Sat, 23 Jun 2012 04:21:35 +0000 (21:21 -0700)]
docs: add jelly bean to homepage

Change-Id: I9e94eca22b7255ee84afc5b5ba320368bdfe2200

12 years agoSanity check while updating volume in MediaRouteChooserDialog
Adam Powell [Sat, 23 Jun 2012 03:41:31 +0000 (20:41 -0700)]
Sanity check while updating volume in MediaRouteChooserDialog

Bug 6720224

When a window dies it's possible to receive a lingering ACTION_CANCEL
event to the SeekBar for volume. Be sure that we don't try to mess
with something that's already gone by that point.

Change-Id: I4f6119718fc21204d9013d591bc984b785b698b4

12 years agoMerge "Update route count properly when MediaRouteButton detects grouped/ungrouped...
Adam Powell [Sat, 23 Jun 2012 02:58:13 +0000 (19:58 -0700)]
Merge "Update route count properly when MediaRouteButton detects grouped/ungrouped events" into jb-dev

12 years agoUpdate route count properly when MediaRouteButton detects
Adam Powell [Sat, 23 Jun 2012 01:19:08 +0000 (18:19 -0700)]
Update route count properly when MediaRouteButton detects
grouped/ungrouped events

Change-Id: I1b00678cc3b548f347c51c3fcbfce18ecc8fbabe

12 years agodocs: move NDK into Download section
Scott Main [Fri, 22 Jun 2012 23:57:57 +0000 (16:57 -0700)]
docs: move NDK into Download section

Change-Id: I7c16b465c45ac4456f689ff81300f65f767acb12

12 years agoMerge "docs: change class names for links to design docs" into jb-dev
Scott Main [Sat, 23 Jun 2012 00:01:03 +0000 (17:01 -0700)]
Merge "docs: change class names for links to design docs" into jb-dev

12 years agoMerge "Don't display based on a dummy animation." into jb-dev
Hiroshi Lockheimer [Fri, 22 Jun 2012 22:33:15 +0000 (15:33 -0700)]
Merge "Don't display based on a dummy animation." into jb-dev

12 years agoDon't display based on a dummy animation.
Craig Mautner [Fri, 22 Jun 2012 22:19:13 +0000 (15:19 -0700)]
Don't display based on a dummy animation.

The Starting window was being made visible early because the app
token had the dummy animation set. When the real animation started
the Starting window picked it up and became transparent causing
the underlying window to become visible again => jank.

Fixes bug 6691421.

Change-Id: I95fe88d2887760e6da3adedeb6be300eb6755283

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Ying Wang [Fri, 22 Jun 2012 21:58:39 +0000 (14:58 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "Increase bitmap memory cap for widgets (Bug 6597440)" into jb-dev
Michael Jurka [Fri, 22 Jun 2012 21:38:12 +0000 (14:38 -0700)]
Merge "Increase bitmap memory cap for widgets (Bug 6597440)" into jb-dev

12 years agodocs: change class names for links to design docs
Scott Main [Fri, 22 Jun 2012 20:26:08 +0000 (13:26 -0700)]
docs: change class names for links to design docs

Change-Id: I34d85096eecb4e83f52e481411cf2f590d553a37

12 years agoMerge "Allow sloppy touch targeting on Action Bar home/up" into jb-dev
Adam Powell [Fri, 22 Jun 2012 21:26:20 +0000 (14:26 -0700)]
Merge "Allow sloppy touch targeting on Action Bar home/up" into jb-dev

12 years agoIncrease bitmap memory cap for widgets (Bug 6597440)
Winson Chung [Fri, 22 Jun 2012 21:11:47 +0000 (14:11 -0700)]
Increase bitmap memory cap for widgets (Bug 6597440)

Change-Id: I4149b8c5f204f10ebf0ef1f8d03709c0559178d0

12 years agoAllow sloppy touch targeting on Action Bar home/up
Adam Powell [Fri, 22 Jun 2012 21:08:11 +0000 (14:08 -0700)]
Allow sloppy touch targeting on Action Bar home/up

Bug 6521608

When there are no custom views or other actionable views next to the
action bar's home/up affordance, expand the touch target by a generous
slop value. This helps frustrating cases where a user accidentally
hits just to the right of Up and nothing happens.

Change-Id: I09ef604ce70ad380aab62a373b04c4b02007c644

12 years agoImport translations. DO NOT MERGE
Ying Wang [Fri, 22 Jun 2012 19:53:57 +0000 (12:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idcb453e08823c584fb0f748ebe46ed036046c9d4

12 years agoDO NOT MERGE Fix issue #6697105: App launching sometimes has random pauses
Dianne Hackborn [Thu, 21 Jun 2012 01:37:16 +0000 (18:37 -0700)]
DO NOT MERGE Fix issue #6697105: App launching sometimes has random pauses

In the course of the window manager refactoring into a separate
layout state, we introduced a bad interaction between the two
sides of the world.  This resulting in multiple hops needed between
the two sides after an application has said it is finished drawing
its window, until the window/app transition is actually started.
Especially since these hops require going through the anim side
which is vsynced (so will delay its operation until the next frame),
this could introduce a notable delay until the window is first shown.

Fix this by re-arranging the code to make one straight path from
when a window reports it is shown to us starting the app transition
that is waiting for it.  This change also includes various improvements
to debugging code that was done while working on it.

Change-Id: I7883674052da1a58df89cd1d9b8d754843cdd3db

12 years agodocs: fix several links
Scott Main [Fri, 22 Jun 2012 19:35:08 +0000 (12:35 -0700)]
docs: fix several links

Change-Id: I89d9fd64dc22c90680bb05415cc966c255165af9

12 years agoEnsure screen reader URL gets updated during ICS to JB update.
alanv [Fri, 22 Jun 2012 17:47:28 +0000 (10:47 -0700)]
Ensure screen reader URL gets updated during ICS to JB update.

Bug: 6702042
Change-Id: I771863c53fa420ba0746fce30cd17eb8b2b9fba1

12 years agoMerge "Avoid memory leak by only registering callback while attached to window."...
Adam Powell [Fri, 22 Jun 2012 17:44:27 +0000 (10:44 -0700)]
Merge "Avoid memory leak by only registering callback while attached to window." into jb-dev

12 years agoMerge "Don't crash in window manager if we fail getting .apk resources." into jb-dev
Dianne Hackborn [Fri, 22 Jun 2012 17:38:45 +0000 (10:38 -0700)]
Merge "Don't crash in window manager if we fail getting .apk resources." into jb-dev

12 years agoAvoid memory leak by only registering callback while attached to window.
Jack Palevich [Fri, 22 Jun 2012 08:06:57 +0000 (16:06 +0800)]
Avoid memory leak by only registering callback while attached to window.

Bug: 6710307
Change-Id: Idf57251e6feb48ec3e75e797144ff800fa874cc8

12 years agoMassive clobber of all HTML files in developer docs for new site design
Scott Main [Fri, 22 Jun 2012 00:14:39 +0000 (17:14 -0700)]
Massive clobber of all HTML files in developer docs for new site design

Change-Id: Idc55a0b368c1d2c1e7d4999601b739dd57f08eb3

12 years agoupdate make file with 'since' tag for api level 16, update version number
Scott Main [Fri, 22 Jun 2012 04:20:42 +0000 (21:20 -0700)]
update make file with 'since' tag for api level 16, update version number

Change-Id: I30d04dcde5cd505959d94c274634018b3602cb26

12 years agoVolume changes in MediaRouteChooserDialog
Adam Powell [Fri, 22 Jun 2012 02:59:53 +0000 (19:59 -0700)]
Volume changes in MediaRouteChooserDialog

Use the max volume reported by the selected route as the max value to set.

Change-Id: I9848dfb201387843e7ed398ac61e2d13e14e3f51

12 years agoMerge "Fix starting window problems." into jb-dev
Craig Mautner [Fri, 22 Jun 2012 01:56:27 +0000 (18:56 -0700)]
Merge "Fix starting window problems." into jb-dev

12 years agoFix starting window problems.
Craig Mautner [Fri, 22 Jun 2012 01:25:39 +0000 (18:25 -0700)]
Fix starting window problems.

Three problems fixed:
1. When one Activity took over for another Activity not all of the
starting window state was being copied over. Now copying over more
parameters.

2. When the visibility of an Activity was being changed the dummy
animation was overwriting the existing animation. If that animation
was the starting window animating then it started over when the
dummy animation was assigned. Now the dummy animation no longer
replaces an existing starting window animation.

3. The test for whether to animate away the starting window only
looked to see if the Activity had already drawn a window but did
not include the starting window. This caused the starting window
to immediately be hidden when the Activity was removed if no
windows were drawn, thereby exposing the fading window behind.
Now the starting window is included in the hasAppShownWindows test
and is animated away if it is exposed.

Fixes bug 6691421.

Change-Id: I4d32a1546c201652574a44d9e7f2752f1f1eb5a6

12 years agoMerge "b/6705777 Remove 'speaker' from strings" into jb-dev
RoboErik [Fri, 22 Jun 2012 00:20:55 +0000 (17:20 -0700)]
Merge "b/6705777 Remove 'speaker' from strings" into jb-dev

12 years agob/6705777 Remove 'speaker' from strings
RoboErik [Fri, 22 Jun 2012 00:05:52 +0000 (17:05 -0700)]
b/6705777 Remove 'speaker' from strings

We should just say Tablet or Phone when selecting the local
playback instead of Tablet speakers or Phone speaker.

Change-Id: Ia6c439f711bacb7b1e70fbcf4887df8141f91b61

12 years agoMerge "Allow ungrouping media routes when a group is the only alternate route" into...
Adam Powell [Thu, 21 Jun 2012 22:44:47 +0000 (15:44 -0700)]
Merge "Allow ungrouping media routes when a group is the only alternate route" into jb-dev

12 years agoAllow ungrouping media routes when a group is the only alternate route
Adam Powell [Thu, 21 Jun 2012 22:29:40 +0000 (15:29 -0700)]
Allow ungrouping media routes when a group is the only alternate route

Fix a MediaRouteButton bug where group item counts weren't taken into
account when deciding whether to toggle between two available groups
or show the chooser dialog.

Change-Id: I6400ffd4cfe80c8072c5be360264b8ca91d71c41

12 years agoDon't crash in window manager if we fail getting .apk resources.
Dianne Hackborn [Thu, 21 Jun 2012 22:29:36 +0000 (15:29 -0700)]
Don't crash in window manager if we fail getting .apk resources.

This normally shouldn't noramlly happen, but it can in the case of
bug 6647334 (crash in LoadedApk.makeApplication) where the package
manager information becomes inconsistent, and it could also happen
if an app was uninstalled or started updating at just the right
time during a launch.

Bug: 6647334
Change-Id: Iba22efe1d646cdac46099b2135466309577dfa54

12 years agoMerge "Fix issue #6700897: Activity paused by activating the..." into jb-dev
Dianne Hackborn [Thu, 21 Jun 2012 22:14:44 +0000 (15:14 -0700)]
Merge "Fix issue #6700897: Activity paused by activating the..." into jb-dev

12 years agoFix issue #6700897: Activity paused by activating the...
Dianne Hackborn [Thu, 21 Jun 2012 21:17:48 +0000 (14:17 -0700)]
Fix issue #6700897: Activity paused by activating the...

...lock screen does not response to onNewIntent()

We now keep activities stopped even while the lock screen is
displayed.  (We used to keep them stopped while the screen was
off, and then resume the top activity when the screen was turned
on even though they are covered by the lock screen.)

When a new intent is being delivered to an application, if it
is not resumed it is held in a pending list until the next
time the activity is resumed.  Unfortunately that means for
the case where the activity is being held stopped due to the
screen off or lock screen, it will not receive any new intents,
even though it is at the top of the stack.

Fix this by adding an additional condition that allows the new
intent to be delivered immediately if the activity manager is
sleeping and the target activity is at the top of the stack.

Also some debug output improvements, since pending new intents
were not being included in the debug output, making it impossible
to see we were in that situation.

Change-Id: I5df82ac21657f1c82e05fd8bf21474e883f44e6f

12 years agoMerge "Make sure onScreenTurnedOn is called at power on." into jb-dev
Craig Mautner [Thu, 21 Jun 2012 21:04:10 +0000 (14:04 -0700)]
Merge "Make sure onScreenTurnedOn is called at power on." into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Thu, 21 Jun 2012 20:10:49 +0000 (13:10 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMake sure onScreenTurnedOn is called at power on.
Craig Mautner [Thu, 21 Jun 2012 20:03:41 +0000 (13:03 -0700)]
Make sure onScreenTurnedOn is called at power on.

KeyguardViewMediator.onScreenTurnedOn is not called if the device is
booted into the power-on state. In this case mScreenOn remains false
and the lockscreen will always appear after outgoing calls. This fix
ensures that onScreenTurnedOn is called when the device is powered
up in the on state.

Fixes bug 6709173.

Change-Id: I7557d8f002307b9125bc53b13bc3cb4c5c9b2758

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 21 Jun 2012 19:57:27 +0000 (12:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: If3ebb62b4c2a912512600e51129551e23cf31553

12 years agoMerge "Add config option to enable links to Cell Broadcast app." into jb-dev
Jake Hamby [Thu, 21 Jun 2012 19:32:39 +0000 (12:32 -0700)]
Merge "Add config option to enable links to Cell Broadcast app." into jb-dev

12 years agoAdd config option to enable links to Cell Broadcast app.
Jake Hamby [Thu, 21 Jun 2012 17:56:44 +0000 (10:56 -0700)]
Add config option to enable links to Cell Broadcast app.

Add "config_cellBroadcastAppLinks" internal boolean config item,
defaulting to false. For devices with the Cell Broadcast app,
setting this config option to true will add a menu item to the
MMS app to jump to the list of received cell broadcasts, and a
preferences item to Settings to jump to cell broadcast settings.

Bug: 6709985
Change-Id: I9fe1919e6d76ba1dfe1e1381e2c38ecdd5e0a867

12 years agorevert I057b7ac0 now that the layouts are the expected height.
Chris Wren [Thu, 21 Jun 2012 15:25:58 +0000 (11:25 -0400)]
revert I057b7ac0 now that the layouts are the expected height.

Bug: 6546766
Change-Id: I736290b897b864228ecc3e46d86ef566efda1efd