OSDN Git Service

android-x86/frameworks-base.git
12 years agoFix issue #6745498: Cannot view consecutive event details from agenda view
Dianne Hackborn [Thu, 28 Jun 2012 20:49:17 +0000 (13:49 -0700)]
Fix issue #6745498: Cannot view consecutive event details from agenda view

- There was a long-standing bug when using FLAG_ACTIVITY_REORDER_TO_FRONT
where we could find and use an activity that is currently finishing.
- There was a recently introduced bug where activities being destroyed
would not be removed from the history stack at the time they are done
being destroyed, allowing the above bug to be exposed.
- Removing a task would not kill any processes associated with the app
that had a different name from the app itself.

Change-Id: I4401ab6d348a69e1ac4fb8f719d2c69d5a78e567

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 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 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 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

12 years agoFix docs
Daniel Sandler [Thu, 21 Jun 2012 13:28:07 +0000 (09:28 -0400)]
Fix docs

Change-Id: Ic5ff9aa07e65166a4ecaeecc5fb5e0091275bdcc

12 years agoMerge "Unhide new methods on RemoteViews and Notification." into jb-dev
Daniel Sandler [Thu, 21 Jun 2012 13:04:43 +0000 (06:04 -0700)]
Merge "Unhide new methods on RemoteViews and Notification." into jb-dev

12 years agoDejank: don't allocate when scrolling lists
Romain Guy [Thu, 21 Jun 2012 06:59:06 +0000 (23:59 -0700)]
Dejank: don't allocate when scrolling lists

The new display list properties introduces in JB were causing numerous
and expensive memory allocations while scrolling lists. During a scroll
ListView sometimes attempts to apply an offset to views before they are
drawn for the first time. This had the side effect of generating a new
IllegalStateException and its entire stack trace. The exception was
caught inside the display list and never seen by users.

Generating an exception is very expensive both in terms of allocated
memory and CPU time spent crawling the stack.

List scrolls/flings are a common case of this issue but it also happens
during various types of animations. A simple alpha animation, for instance,
can cause the problem to occur.

Another side effect of this issue is more frequent and longer GC pauses.

Change-Id: Ic1b37cc84f7c8f290209cfb990d030e96d6e0dc7

12 years agoMerge "MediaRouter group volume reporting" into jb-dev
Adam Powell [Thu, 21 Jun 2012 07:12:04 +0000 (00:12 -0700)]
Merge "MediaRouter group volume reporting" into jb-dev

12 years agoMediaRouter group volume reporting
Adam Powell [Thu, 21 Jun 2012 06:46:19 +0000 (23:46 -0700)]
MediaRouter group volume reporting

RouteGroups always report back the loudest volume of their component
routes. Maintain this through volume update requests (such as those
reported by volume hard keys) such that each route updates
individually, but the group slider always indicates the loudest value.

Change-Id: I5de4b9048bf55682b6271e9485fe50496a1c97c2

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Thu, 21 Jun 2012 05:42:58 +0000 (22:42 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "Expand volume APIs for MediaRouter" into jb-dev
Adam Powell [Thu, 21 Jun 2012 05:32:39 +0000 (22:32 -0700)]
Merge "Expand volume APIs for MediaRouter" into jb-dev

12 years agoExpand volume APIs for MediaRouter
Adam Powell [Wed, 20 Jun 2012 22:56:39 +0000 (15:56 -0700)]
Expand volume APIs for MediaRouter

Allow applications to set a requested volume level on RouteInfo
objects. If requested for a user route, the app-supplied callback will
be invoked to perform actual volume adjustment.

Change-Id: I856990a0da7292492aa15e6562dbc3d055b848a0

12 years agoUnhide new methods on RemoteViews and Notification.
Daniel Sandler [Thu, 21 Jun 2012 03:43:41 +0000 (23:43 -0400)]
Unhide new methods on RemoteViews and Notification.

Change-Id: I0cbc270d9d7e9e728482c3b10650a32589636c9d

12 years agoMerge "Don't reset brightness to 0 on initial boot." into jb-dev
Jeff Brown [Thu, 21 Jun 2012 03:37:37 +0000 (20:37 -0700)]
Merge "Don't reset brightness to 0 on initial boot." into jb-dev

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

Change-Id: Ic5c7a282f3ce75cba92d8cda741ecaa9088d12be

12 years agoMerge "made the pressed state white" into jb-dev
Hiroshi Lockheimer [Thu, 21 Jun 2012 02:47:19 +0000 (19:47 -0700)]
Merge "made the pressed state white" into jb-dev

12 years agoDon't reset brightness to 0 on initial boot.
Jeff Brown [Thu, 21 Jun 2012 02:20:57 +0000 (19:20 -0700)]
Don't reset brightness to 0 on initial boot.

Bug: 6705012
Change-Id: I8114fda081784abbe720d5eaa637aa5234b5a947

12 years agoMerge "Crash in SurfaceTextureTarget filter open" into jb-dev
Pannag Sanketi [Thu, 21 Jun 2012 02:32:44 +0000 (19:32 -0700)]
Merge "Crash in SurfaceTextureTarget filter open" into jb-dev

12 years agoMerge "Make animations persist after completion." into jb-dev
Craig Mautner [Thu, 21 Jun 2012 02:28:16 +0000 (19:28 -0700)]
Merge "Make animations persist after completion." into jb-dev

12 years agoCrash in SurfaceTextureTarget filter open
Pannag Sanketi [Fri, 18 May 2012 18:38:37 +0000 (11:38 -0700)]
Crash in SurfaceTextureTarget filter open

If the filter graph in an app closes out, the SurfaceTextureTarget
filter was losing the reference to the original surfacetexture, and the
app would re-start the graph without setting the surfacetexture again,
thus leading to a crash in registering a surface from surfacetexture.

Typical scenarios is start/stop immediately in camera effects recording.

Fix part of b/6651352
Fix part of b/6655597

Change-Id: Ib2bae7e886784e91b3a886f7ccd439ff190feb22

12 years agoMake animations persist after completion.
Craig Mautner [Thu, 21 Jun 2012 01:27:32 +0000 (18:27 -0700)]
Make animations persist after completion.

Transition animations were set to fillAfter=false which caused them
to revert when they had completed. Normally this would not have
mattered as the final state was obscured by the new Activity. In
the case of the Phone app the Activities churn so much that the
original Activity was exposed.

Fixes bug 6691421.

Change-Id: I96b8a43d0a2cac9a34a14a309548c41451c65a57

12 years agoMerge "Change hard-coded URL for accessibility script." into jb-dev
Svetoslav Ganov [Thu, 21 Jun 2012 01:09:58 +0000 (18:09 -0700)]
Merge "Change hard-coded URL for accessibility script." into jb-dev

12 years agoMerge "Fix crash when SimpleCursorAdapter changes cursor from null" into jb-dev
Hung-ying Tyan [Thu, 21 Jun 2012 00:56:40 +0000 (17:56 -0700)]
Merge "Fix crash when SimpleCursorAdapter changes cursor from null" into jb-dev

12 years agoMerge "Fix GlowPadView accessibility behavior." into jb-dev
Svetoslav Ganov [Wed, 20 Jun 2012 23:52:16 +0000 (16:52 -0700)]
Merge "Fix GlowPadView accessibility behavior." into jb-dev

12 years agoChange hard-coded URL for accessibility script.
alanv [Wed, 20 Jun 2012 23:51:00 +0000 (16:51 -0700)]
Change hard-coded URL for accessibility script.

The old version of the script is broken and is cached due to an error in
our gstatic configuration. We had to change the name to avoid hitting the
cached version on external proxies.

Bug: 6702042
Change-Id: I0e5ee8b3a6ae8c7ba11f5760f2f99d4b5614ac97

12 years agoMerge "Unhide new API in android.media.MediaRouter for remote playback" into jb-dev
Jean-Michel Trivi [Wed, 20 Jun 2012 23:41:44 +0000 (16:41 -0700)]
Merge "Unhide new API in android.media.MediaRouter for remote playback" into jb-dev

12 years agoMerge "Asynchronous handling of remote volume updates" into jb-dev
Jean-Michel Trivi [Wed, 20 Jun 2012 23:41:25 +0000 (16:41 -0700)]
Merge "Asynchronous handling of remote volume updates" into jb-dev

12 years agoMerge "Add a private method to retrieve the header list from PreferenceActivity"...
Amith Yamasani [Wed, 20 Jun 2012 22:44:48 +0000 (15:44 -0700)]
Merge "Add a private method to retrieve the header list from PreferenceActivity" into jb-dev

12 years agoCherrypick from ics-mr1 Change-Id: I2f63aef72962990afeb2bf236e0cce3bac3af738
Scott Main [Fri, 15 Jun 2012 21:52:01 +0000 (14:52 -0700)]
Cherrypick from ics-mr1 Change-Id: I2f63aef72962990afeb2bf236e0cce3bac3af738
docs: Remove side padding built into Design images to improve alignment.
a few HTML adjustments for alignment as well

Change-Id: I432e25128a90b0376a2a469859b0ad49b035a2df

12 years agoUnhide new API in android.media.MediaRouter for remote playback
Jean-Michel Trivi [Wed, 20 Jun 2012 21:34:05 +0000 (14:34 -0700)]
Unhide new API in android.media.MediaRouter for remote playback

Expose new functionality for handling remote volume in:
 android.media.MediaRouter.RouteInfo
 android.media.MediaRouter.UserRouteInfo
 android.media.MediaRouter.VolumeCallback

Change-Id: I8fd9c92be606364599e65939f318e11c2860bab9

12 years agomade the pressed state white
Richard Ngo [Wed, 20 Jun 2012 21:01:59 +0000 (14:01 -0700)]
made the pressed state white

Change-Id: Ic30f6f9aa574731ff1ed52364262c0d9b795dca0

12 years agoAdd a private method to retrieve the header list from PreferenceActivity
Amith Yamasani [Wed, 20 Jun 2012 20:54:53 +0000 (13:54 -0700)]
Add a private method to retrieve the header list from PreferenceActivity

This is required by Settings app to be able to update the header list
if the accounts list changed.

Bug: 6685701
Change-Id: If27f83ec86fe1f3519a6e25de4e4fe4864133dc8

12 years agoAsynchronous handling of remote volume updates
Jean-Michel Trivi [Wed, 20 Jun 2012 20:40:22 +0000 (13:40 -0700)]
Asynchronous handling of remote volume updates

Remote playback information updates will be posted from the
 application thread, and sent to AudioService. Because they
 require locking the stack containing the remote playback
 information, the update should happen on AudioService's handler
 thread to avoid lock contention.

Change-Id: Ie04898295e08c16dd8ab5985fd825301e9cf1981