77732 Commits

Author SHA1 Message Date
Andreas Huber
c8c5e98b9e Merge "Document some of the more common mimetypes to be used when instantiating" into jb-dev 2012-06-25 14:50:53 -07:00
Andreas Huber
68b1a6eed8 Document some of the more common mimetypes to be used when instantiating
MediaCodec components.

Change-Id: I810507d1d76a28666eb6fb63e3b597d38e5f1389
2012-06-25 14:38:16 -07:00
Scott Main
e9b4b3e94d Merge "docs: clean up javadoc code snippets, unescaped entities" into jb-dev 2012-06-25 12:31:11 -07:00
Scott Main
dccd66f568 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 2012-06-25 11:57:09 -07:00
Scott Main
8ce79cc87a 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
2012-06-25 11:55:20 -07:00
Eric Fischer
c5fc8f5c1b Merge "Import translations. DO NOT MERGE" into jb-dev 2012-06-25 11:32:30 -07:00
Scott Main
97e0a1c6f3 docs: clean up javadoc code snippets, unescaped entities
Change-Id: Idc21caceccaaa2cc11a6c46b453b6a9b26164f34
2012-06-25 11:25:20 -07:00
Eric Fischer
d7e646d6d7 Import translations. DO NOT MERGE
Change-Id: I829c0795e2bf76fe1e2315977aeab8d63d3ed76d
2012-06-25 11:24:00 -07:00
Scott Main
e40c4636d9 docs: move AIDL doc under Services in api guides.
Change-Id: I525de97958e2093af15cce2b007ec022cb315a71
2012-06-25 10:02:13 -07:00
Adam Powell
dbbfa702a0 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
2012-06-24 14:32:04 -07:00
Scott Main
40a0376ea5 docs: remove unused id attribute from Button
Change-Id: Ia61c418972699d40757923fd69ea27b26eddaa05
2012-06-23 16:42:33 -07:00
Scott Main
b0efc7fce7 eat comment so it doesn't appear in docs
Change-Id: Id2b539fc80422edb32c86fa17ad888abbc48ba49
2012-06-23 12:36:17 -07:00
Scott Main
067d64a99a docs: fix broken link
Change-Id: Ia4ccab838e36b6e0e9298ed7222b5a581d3d5234
2012-06-23 11:27:20 -07:00
Scott Main
6f3e5e03cf docs: remove ICS from developer hompage
Change-Id: I6c2ca0f8e859a65f2de1d73198af9fd40d374f95
2012-06-22 22:18:26 -07:00
Scott Main
4708d8f54b Merge "docs: add jelly bean to homepage" into jb-dev 2012-06-22 21:23:20 -07:00
Scott Main
32c1c5cedc docs: add jelly bean to homepage
Change-Id: I9e94eca22b7255ee84afc5b5ba320368bdfe2200
2012-06-22 21:21:35 -07:00
Adam Powell
1b4ea7eff5 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
2012-06-22 20:41:31 -07:00
Adam Powell
fd3fd482ab Merge "Update route count properly when MediaRouteButton detects grouped/ungrouped events" into jb-dev 2012-06-22 19:58:13 -07:00
Adam Powell
f3b653a21c Update route count properly when MediaRouteButton detects
grouped/ungrouped events

Change-Id: I1b00678cc3b548f347c51c3fcbfce18ecc8fbabe
2012-06-22 19:22:38 -07:00
Scott Main
fa54ba47f3 Merge "docs: change class names for links to design docs" into jb-dev 2012-06-22 17:01:03 -07:00
Hiroshi Lockheimer
5beeb04b52 Merge "Don't display based on a dummy animation." into jb-dev 2012-06-22 15:33:15 -07:00
Craig Mautner
9c5bf3b36f 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
2012-06-22 15:19:13 -07:00
Ying Wang
ddeb7bd3c7 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-06-22 14:58:39 -07:00
Michael Jurka
ab779e0bb2 Merge "Increase bitmap memory cap for widgets (Bug 6597440)" into jb-dev 2012-06-22 14:38:12 -07:00
Scott Main
91b5ecc486 docs: change class names for links to design docs
Change-Id: I34d85096eecb4e83f52e481411cf2f590d553a37
2012-06-22 14:37:27 -07:00
Adam Powell
40a9da3b9e Merge "Allow sloppy touch targeting on Action Bar home/up" into jb-dev 2012-06-22 14:26:20 -07:00
Winson Chung
e92aad432a Increase bitmap memory cap for widgets (Bug 6597440)
Change-Id: I4149b8c5f204f10ebf0ef1f8d03709c0559178d0
2012-06-22 14:12:39 -07:00
Adam Powell
6231ab8bbb 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
2012-06-22 14:09:25 -07:00
Ying Wang
8f2acd0a2b Import translations. DO NOT MERGE
Change-Id: Idcb453e08823c584fb0f748ebe46ed036046c9d4
2012-06-22 12:53:57 -07:00
Scott Main
9be0105fbc docs: fix several links
Change-Id: I89d9fd64dc22c90680bb05415cc966c255165af9
2012-06-22 12:35:08 -07:00
Adam Powell
3cd4624448 Merge "Avoid memory leak by only registering callback while attached to window." into jb-dev 2012-06-22 10:44:27 -07:00
Dianne Hackborn
0b9b053ce6 Merge "Don't crash in window manager if we fail getting .apk resources." into jb-dev 2012-06-22 10:38:45 -07:00
Jack Palevich
101c449152 Avoid memory leak by only registering callback while attached to window.
Bug: 6710307
Change-Id: Idf57251e6feb48ec3e75e797144ff800fa874cc8
2012-06-22 16:06:57 +08:00
Scott Main
50e990c64f Massive clobber of all HTML files in developer docs for new site design
Change-Id: Idc55a0b368c1d2c1e7d4999601b739dd57f08eb3
2012-06-21 21:27:30 -07:00
Scott Main
a2860267ca update make file with 'since' tag for api level 16, update version number
Change-Id: I30d04dcde5cd505959d94c274634018b3602cb26
2012-06-21 21:20:42 -07:00
Adam Powell
4dd21c8e77 Volume changes in MediaRouteChooserDialog
Use the max volume reported by the selected route as the max value to set.

Change-Id: I9848dfb201387843e7ed398ac61e2d13e14e3f51
2012-06-21 19:59:53 -07:00
Craig Mautner
9ce1ea3aa7 Merge "Fix starting window problems." into jb-dev 2012-06-21 18:56:27 -07:00
Craig Mautner
f412095686 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
2012-06-21 18:25:39 -07:00
RoboErik
b047b1f738 Merge "b/6705777 Remove 'speaker' from strings" into jb-dev 2012-06-21 17:20:55 -07:00
RoboErik
be76e21543 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
2012-06-21 17:05:52 -07:00
Adam Powell
95cf8c1121 Merge "Allow ungrouping media routes when a group is the only alternate route" into jb-dev 2012-06-21 15:44:47 -07:00
Adam Powell
f7e0a328c9 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
2012-06-21 15:29:40 -07:00
Dianne Hackborn
0b800190d7 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
2012-06-21 15:29:36 -07:00
Dianne Hackborn
e06e1619a1 Merge "Fix issue #6700897: Activity paused by activating the..." into jb-dev 2012-06-21 15:14:44 -07:00
Dianne Hackborn
f530ac323b 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
2012-06-21 14:17:48 -07:00
Craig Mautner
89c6bec321 Merge "Make sure onScreenTurnedOn is called at power on." into jb-dev 2012-06-21 14:04:10 -07:00
Eric Fischer
cda6996408 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-06-21 13:10:49 -07:00
Craig Mautner
4f5d1511b9 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
2012-06-21 13:03:41 -07:00
Eric Fischer
ed6103d573 Import translations. DO NOT MERGE
Change-Id: If3ebb62b4c2a912512600e51129551e23cf31553
2012-06-21 12:57:27 -07:00
Jake Hamby
65d4445bfd Merge "Add config option to enable links to Cell Broadcast app." into jb-dev 2012-06-21 12:32:39 -07:00