OSDN Git Service
Jack Palevich [Tue, 10 Apr 2012 12:56:19 +0000 (05:56 -0700)]
Notify monitor waiters when changing mSurfaceIsBad value.
Otherwise the waiters might not wake up, leading to ANRs.
Bug:
6307843
Change-Id: I0646b4e8368f80dbff46342f75709992796973fd
Daniel Sandler [Tue, 10 Apr 2012 12:33:07 +0000 (05:33 -0700)]
Merge "New Android Dreams architecture, disabled for now."
Scott Main [Tue, 10 Apr 2012 06:59:12 +0000 (23:59 -0700)]
am
37250468: am
be36ea9e: am
a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit '
372504684fa0f74c290e0eaf7134979a55118fea':
Scott Main [Tue, 10 Apr 2012 06:55:47 +0000 (23:55 -0700)]
am
be36ea9e: am
a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit '
be36ea9e04df8f3b97dec7793e37fa1d1465922b':
Jesse Hall [Tue, 10 Apr 2012 05:43:34 +0000 (22:43 -0700)]
Merge "Avoid waking EGL in getInitCount"
Jesse Hall [Tue, 10 Apr 2012 05:41:04 +0000 (22:41 -0700)]
Merge "Release the scratch pbuffer surface after use"
Dianne Hackborn [Tue, 10 Apr 2012 00:45:06 +0000 (17:45 -0700)]
Merge "Fix issue #
6309296: Framework returns Configuration.SCREENLAYOUT_SIZE_LARGE for Xoom"
Scott Main [Tue, 10 Apr 2012 00:14:59 +0000 (17:14 -0700)]
am
2f133265: am
b92851d8: am
a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit '
2f133265d0eb601885a608114b6bbc5b8a710f16':
Scott Main [Tue, 10 Apr 2012 00:11:42 +0000 (17:11 -0700)]
am
14d3b807: am
a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit '
14d3b807b730e04d90d6dd9c9569decdf12cc9cb':
docs: Add 101 class about supporting various devices
Scott Main [Tue, 10 Apr 2012 00:11:21 +0000 (17:11 -0700)]
am
b92851d8: am
a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit '
b92851d850a778d1a2e5a797c2ddd315b61b15f9':
docs: Add 101 class about supporting various devices
Scott Main [Tue, 10 Apr 2012 00:08:28 +0000 (17:08 -0700)]
am
a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit '
a5894871b2a64f8ef80089a8ca962227c4d77155':
docs: Add 101 class about supporting various devices
Scott Main [Tue, 10 Apr 2012 00:08:11 +0000 (17:08 -0700)]
am
a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit '
a5894871b2a64f8ef80089a8ca962227c4d77155':
docs: Add 101 class about supporting various devices
Scott Main [Tue, 10 Apr 2012 00:08:09 +0000 (17:08 -0700)]
am
a5894871: Merge "docs: Add 101 class about supporting various devices" into ics-mr1
* commit '
a5894871b2a64f8ef80089a8ca962227c4d77155':
docs: Add 101 class about supporting various devices
Scott Main [Tue, 10 Apr 2012 00:06:15 +0000 (17:06 -0700)]
Merge "docs: Add 101 class about supporting various devices" into ics-mr1
John Grossman [Tue, 10 Apr 2012 00:00:24 +0000 (17:00 -0700)]
am
e1d6c080: Make common_time more deferential when coming out of networkless mode.
* commit '
e1d6c080f0b1769637d742e51cc22167c7af12bb':
Make common_time more deferential when coming out of networkless mode.
Adam Powell [Mon, 9 Apr 2012 23:49:47 +0000 (16:49 -0700)]
Merge "Restrictions for action buttons with text"
Scott Main [Mon, 2 Apr 2012 20:11:23 +0000 (13:11 -0700)]
docs: Add 101 class about supporting various devices
Change-Id: Iafeb99c9dab8462236a41cc4991085062ff7fa14
Adam Powell [Mon, 9 Apr 2012 22:54:01 +0000 (15:54 -0700)]
Restrictions for action buttons with text
Restrict action buttons with text to 2 lines max. Action buttons with
text will always consume at least 2 cells in split mode because they
look silly in 1.
Note that this affects text provided by menu items, not TextViews
embedded within app-provided action views.
Fixes bug
6236467
Change-Id: I7bcbf80f448b13a895ddc3bc6a7a555c0f0bac7c
Scott Main [Mon, 9 Apr 2012 23:28:58 +0000 (16:28 -0700)]
am
35c97085: am
7ec02d76: am
ede62bb6: Merge "docs: fix NDK r7c release data and remove "new" tag" into ics-mr1
* commit '
35c97085008b6d6409afb62a2c452460f148d89c':
Dianne Hackborn [Mon, 9 Apr 2012 23:27:07 +0000 (16:27 -0700)]
Fix issue #
6309296: Framework returns Configuration.SCREENLAYOUT_SIZE_LARGE for Xoom
Change-Id: I5882e6f6ab249232b69bdc4b8e692716f2fe5efa
Scott Main [Mon, 9 Apr 2012 23:26:16 +0000 (16:26 -0700)]
am
7ec02d76: am
ede62bb6: Merge "docs: fix NDK r7c release data and remove "new" tag" into ics-mr1
* commit '
7ec02d7648a030edaf730b6d5ff04fe888009bc3':
George Mount [Tue, 3 Apr 2012 18:19:08 +0000 (11:19 -0700)]
Remove composing span after setting text.
Bug
5070241
Change-Id: I8cf7e5f119c7a828df603e91ba4bcf0f571bbc72
John Grossman [Mon, 9 Apr 2012 18:26:16 +0000 (11:26 -0700)]
Make common_time more deferential when coming out of networkless mode.
Addresses issues seen in bug
6260139.
This is a really tough bug to repro, but there is no doubt that it is
happening occasionally on our super huge A@H subnet. I have collected
data all weekend; the failure did not occur, but I got enough to have
a theoretical sequence of events which could trigger this behavior.
The sequence goes like this.
1) A network is running and happy with a timeline master M,
maintaining timeline X.
2) Device B boots, but its network is taking a long time to come up.
After 60 seconds of waiting for the network to come up, device B
goes into networkless master mode and creates timeline Y.
3) Device B's network comes up. It immediately sends a master
announcement saying that it is the current low-priority master of
timeline Y (its low priority because it has never had any real
clients)
4) Master M ignores B because B is low priority.
5) Device C boots and sends out a who is master request. It is a race
between M and A to see who will respond first. In this case, A
responds first.
6) C sends B a request which B receives. B now has its first client
and is now high priority. In this scenario, B matches M in all
aspects of the priority ranking function, including winning the tie
breaker (larger MAC address when interpreted as a 48 bit integer)
7) M sends its master announcement; it is ignored by B since B
now wins in the ranking function vs M.
8) Finally, B sends its next master announcement. M sees it, realizes
that there is a higher priority master out there (looks like a
bridged network scenario to M). M gives up master status along
with timeline X. The clients of M become clients of B and move
from timeline X to timeline Y (something which should only be
needed during an actual network bridging event)
This change has a few different things meant to severely minimize the
chance that this can happen.
First, and the most important change, is that networkless masters do
not immediately announce themselves as masters on the network they are
joining. Instead, they transition into Ronin to discover any
pre-existing masters on the network. If there are no masters out
there, the device will simply transition back to master and continue
to maintain the timeline it had in networkless mode. In the scenario
above, however, B should discover M and become its client, preserving
the established timeline X.
Second, any time a device experienced an interface reconfiguration
(including coming out of networkless mode), it clears its high
priority bit. This is a good thing. The bit used to get set again
any time...
1) The device is master and receives a client request.
2) The device becomes a client of another master on the network.
3) The device becomes a master.
Number 3 in this list is a mistake. The high priority bit should only
be set for devices during master election which have been
participating in a timeline which has been used by multiple devices.
We know that this is the case when we are master and receive a
request. We also know that this is the case when we hear from a
master and decide to become its client. Simply becoming a master
should not make us high priority. This behavior has been removed.
Third, timeouts have been adjusted just for some extra "stickyness"
when it comes to master status. Clients now say in the Ronin state
for up to 10 seconds looking for a master sending up to 20 discovery
requests, instead of only 3 seconds (sending 6 requests). The
wait-for-election timeout has been adjusted up from 5 seconds to 12.5
seconds to track the longer election cycle as well. Also, while in
steady-state, clients will now wait until 10 packets (10 seconds)
have not been answered by its master before giving up and dropping
into Ronin.
Change-Id: I438b39f31265e34d6719d4adfa9e8b95a2afc188
Signed-off-by: John Grossman <johngro@google.com>
Scott Main [Mon, 9 Apr 2012 22:31:24 +0000 (15:31 -0700)]
am
40a081a0: am
5e555df1: am
ede62bb6: Merge "docs: fix NDK r7c release data and remove "new" tag" into ics-mr1
* commit '
40a081a0d7c1f88f2614ae6343cd253cd8d50e6f':
Scott Main [Mon, 9 Apr 2012 22:27:22 +0000 (15:27 -0700)]
am
5e555df1: am
ede62bb6: Merge "docs: fix NDK r7c release data and remove "new" tag" into ics-mr1
* commit '
5e555df1b13c030a5b9a720afc59b53be8dc02d5':
docs: fix NDK r7c release data and remove "new" tag
Scott Main [Mon, 9 Apr 2012 22:27:21 +0000 (15:27 -0700)]
am
faef0d0f: am
ede62bb6: Merge "docs: fix NDK r7c release data and remove "new" tag" into ics-mr1
* commit '
faef0d0f648570dae5e919e8cb2d9096861f2491':
docs: fix NDK r7c release data and remove "new" tag
Scott Main [Mon, 9 Apr 2012 22:24:17 +0000 (15:24 -0700)]
am
ede62bb6: Merge "docs: fix NDK r7c release data and remove "new" tag" into ics-mr1
* commit '
ede62bb6ee3ac2d98094280cea6343f62936342f':
docs: fix NDK r7c release data and remove "new" tag
Scott Main [Mon, 9 Apr 2012 22:24:13 +0000 (15:24 -0700)]
am
ede62bb6: Merge "docs: fix NDK r7c release data and remove "new" tag" into ics-mr1
* commit '
ede62bb6ee3ac2d98094280cea6343f62936342f':
docs: fix NDK r7c release data and remove "new" tag
Scott Main [Mon, 9 Apr 2012 22:23:57 +0000 (15:23 -0700)]
am
ede62bb6: Merge "docs: fix NDK r7c release data and remove "new" tag" into ics-mr1
* commit '
ede62bb6ee3ac2d98094280cea6343f62936342f':
docs: fix NDK r7c release data and remove "new" tag
Scott Main [Mon, 9 Apr 2012 22:21:53 +0000 (15:21 -0700)]
Merge "docs: fix NDK r7c release data and remove "new" tag" into ics-mr1
Scott Main [Mon, 9 Apr 2012 22:16:36 +0000 (15:16 -0700)]
am
8432ab2e: am
372e667c: am
ae01af5e: docs: fix a few link titles in tv class
* commit '
8432ab2e3f52a15693a39e5d135dabbca9848ef4':
Scott Main [Mon, 9 Apr 2012 22:16:34 +0000 (15:16 -0700)]
am
ae94f0b3: am
9f6176ee: am
ae01af5e: docs: fix a few link titles in tv class
* commit '
ae94f0b3d80fd076344f86b9500ce671b7bd1c0d':
Scott Main [Mon, 9 Apr 2012 22:16:31 +0000 (15:16 -0700)]
am
99140419: am
7e9fbe11: am
5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '
99140419010093817f329e2c670557d769507842':
Scott Main [Mon, 9 Apr 2012 22:16:28 +0000 (15:16 -0700)]
am
371704ed: am
fd41f154: am
5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '
371704ed05a4b454a5eafcb13335dbf144181b0f':
Irfan Sheriff [Mon, 9 Apr 2012 21:29:01 +0000 (14:29 -0700)]
Merge "P2p fixes"
Wink Saville [Mon, 9 Apr 2012 21:22:13 +0000 (14:22 -0700)]
Merge "Telephony: Fix NV ready state"
Eric Fischer [Mon, 9 Apr 2012 21:09:23 +0000 (14:09 -0700)]
Merge "Import translations. DO NOT MERGE"
Eric Fischer [Mon, 9 Apr 2012 20:54:59 +0000 (13:54 -0700)]
Import translations. DO NOT MERGE
Change-Id: I9299202c20b57a4bbdee61cc1db3cb3d7cefb762
Wink Saville [Mon, 9 Apr 2012 20:41:49 +0000 (13:41 -0700)]
Merge "Add some additional debug for set operator numeric."
Scott Main [Mon, 9 Apr 2012 20:39:46 +0000 (13:39 -0700)]
am
372e667c: am
ae01af5e: docs: fix a few link titles in tv class
* commit '
372e667cbe3503598635387136cf299d5dfffcf9':
Gilles Debunne [Mon, 9 Apr 2012 20:27:11 +0000 (13:27 -0700)]
Merge "More minor refactoring in SpannableStringBuilder"
Brian Colonna [Mon, 9 Apr 2012 20:25:37 +0000 (13:25 -0700)]
Merge "Separated FUL functionality from LockPatternKeyguardView"
Scott Main [Mon, 9 Apr 2012 20:18:35 +0000 (13:18 -0700)]
am
ec73b7c5: am
ae01af5e: docs: fix a few link titles in tv class
* commit '
ec73b7c5e615f0e85af3f1127fc1e5d4cbd41780':
docs: fix a few link titles in tv class
Victoria Lease [Mon, 9 Apr 2012 20:14:28 +0000 (13:14 -0700)]
Merge "Make WebView.findAllAsync() and WebView.setFindListener() public."
Scott Main [Mon, 9 Apr 2012 20:06:36 +0000 (13:06 -0700)]
am
9f6176ee: am
ae01af5e: docs: fix a few link titles in tv class
* commit '
9f6176eedcce9c8b6c4f18d8fbf537952727faf3':
docs: fix a few link titles in tv class
Scott Main [Mon, 9 Apr 2012 20:03:20 +0000 (13:03 -0700)]
am
ae01af5e: docs: fix a few link titles in tv class
* commit '
ae01af5efdf8dfa8bd711bfe045722d00efddf68':
docs: fix a few link titles in tv class
Scott Main [Mon, 9 Apr 2012 20:02:54 +0000 (13:02 -0700)]
am
ae01af5e: docs: fix a few link titles in tv class
* commit '
ae01af5efdf8dfa8bd711bfe045722d00efddf68':
docs: fix a few link titles in tv class
Scott Main [Mon, 9 Apr 2012 20:02:35 +0000 (13:02 -0700)]
am
ae01af5e: docs: fix a few link titles in tv class
* commit '
ae01af5efdf8dfa8bd711bfe045722d00efddf68':
docs: fix a few link titles in tv class
Scott Main [Mon, 9 Apr 2012 19:58:26 +0000 (12:58 -0700)]
docs: fix a few link titles in tv class
Change-Id: I9d87d6a5625c9a95d25354572d35990b37efbba6
Daniel Sandler [Mon, 30 Jan 2012 19:33:52 +0000 (14:33 -0500)]
New Android Dreams architecture, disabled for now.
Rather than normal Activities (which have a host of problems
when used for this purpose), screen savers are now a
special kind of Service that can add views to its own
special window (TYPE_DREAM, in the SCREENSAVER layer).
Dreams are now launched by the power manager; whenever it is
about to turn the screen off, it asks the window manager if
it wants to run a screen saver instead. (http://b/
5677408)
Also, the new config_enableDreams bool allows the entire
feature to be switched on or off in one place. It is
currently switched off (and the APIs are all @hidden).
Change-Id: Idfe9d430568471d15f4b463cb70586a899a331f7
Wink Saville [Tue, 3 Apr 2012 17:22:09 +0000 (10:22 -0700)]
Add some additional debug for set operator numeric.
Change-Id: I7e22a33f893984c1ad5bd9dd79428ad72d2b4d7c
Wink Saville [Mon, 9 Apr 2012 19:14:03 +0000 (12:14 -0700)]
Telephony: Fix NV ready state
Don't trigger RuimRecords onReady so that it doesn't overwrite
mccmnc property value set by CdmaPhone in NV case.
Bug:
6153667
Change-Id: I2f25f6a69deecd085f11dbe1dbf752c2fd51cecb
Daniel Sandler [Mon, 9 Apr 2012 19:00:52 +0000 (12:00 -0700)]
Merge "Fix notifications transitioning from small->big."
Victoria Lease [Mon, 26 Mar 2012 20:04:10 +0000 (13:04 -0700)]
Make WebView.findAllAsync() and WebView.setFindListener() public.
Deprecate WebView.findAll() while we're at it.
Bug:
6052412
Change-Id: I2f7116786109b4d6a01d24ac892c13b5d1f498f4
Scott Main [Mon, 9 Apr 2012 18:28:53 +0000 (11:28 -0700)]
am
3f23b713: am
5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '
3f23b71364e7a0960c6a1269ec2467937bc13388':
docs: add 101 Training class "Building Your First App"
Jeff Sharkey [Mon, 9 Apr 2012 18:26:34 +0000 (11:26 -0700)]
Merge "Migrate to @Override to remove warnings."
Jeff Brown [Mon, 9 Apr 2012 18:25:02 +0000 (11:25 -0700)]
Merge "Fix lid switch interpretation."
Jeff Brown [Mon, 9 Apr 2012 18:24:16 +0000 (11:24 -0700)]
Merge "Use new EVIOCSCLOCKID ioctl if supported."
Jeff Brown [Mon, 9 Apr 2012 18:05:16 +0000 (11:05 -0700)]
Fix lid switch interpretation.
Also remove unnecessary permission check for method that is
only called internally.
Change-Id: I32f63fc3e96b06709d18b046ee2d3c8f310de70d
Daniel Sandler [Mon, 9 Apr 2012 17:15:42 +0000 (13:15 -0400)]
Fix notifications transitioning from small->big.
We'll have to go back and tweak this when we add a more
sophisticated switch from contentView to bigContentView, but
for now, this ought to detect that the notification has
gotten bigger (or smaller).
Change-Id: I3816fe8ed321569d1ce07d8a62cb08a434e55c2d
Scott Main [Mon, 9 Apr 2012 18:15:35 +0000 (11:15 -0700)]
docs: fix NDK r7c release data and remove "new" tag
Change-Id: I37d2dfb46aef66b75cfd93a21005748358d457ec
Jeff Brown [Sat, 7 Apr 2012 02:31:36 +0000 (19:31 -0700)]
Use new EVIOCSCLOCKID ioctl if supported.
Bug:
6292993
Change-Id: I718f167c2cd41298ed54847dbc5de872cd4c7e4a
Jeff Sharkey [Mon, 9 Apr 2012 17:49:19 +0000 (10:49 -0700)]
Migrate to @Override to remove warnings.
Bug:
6303344
Change-Id: I0d33b2ed448467379d576ccd71fb5ae20c878852
Adam Powell [Mon, 9 Apr 2012 17:52:26 +0000 (10:52 -0700)]
Merge "Tweaks to Activity up navigation"
Jeff Sharkey [Mon, 9 Apr 2012 17:31:20 +0000 (10:31 -0700)]
Merge "Splice operations before collapsing ifaces."
Adam Powell [Mon, 9 Apr 2012 17:22:12 +0000 (10:22 -0700)]
Tweaks to Activity up navigation
Be more explicit in docs about getParentActivityIntent and guard against
calls when a parent has not been declared in the manifest.
Move automatic up navigation to happen after dispatch of the menu
selection event of id android.R.id.home to fragments. (Last.)
Fixes bug
6305357
Change-Id: I944e5c40774121f9a28250d8d98da6aa646f9357
Jeff Sharkey [Mon, 9 Apr 2012 17:27:55 +0000 (10:27 -0700)]
Splice operations before collapsing ifaces.
Bug:
6241038
Change-Id: Ide9058703f7305df8fb070af149ddce0653a0abf
Scott Main [Mon, 9 Apr 2012 17:21:05 +0000 (10:21 -0700)]
am
7e9fbe11: am
5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '
7e9fbe11c2c8dc875a24ec51e9405ab266385c39':
Scott Main [Mon, 9 Apr 2012 17:18:59 +0000 (10:18 -0700)]
am
fd41f154: am
5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '
fd41f15440eadcc5dd0b1f0d549efad293192154':
docs: add 101 Training class "Building Your First App"
Scott Main [Mon, 9 Apr 2012 17:16:17 +0000 (10:16 -0700)]
am
5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '
5f2570773d9b4d7d55b9bac5c9fafb56e1dcce88':
docs: add 101 Training class "Building Your First App"
Scott Main [Mon, 9 Apr 2012 17:15:59 +0000 (10:15 -0700)]
am
5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '
5f2570773d9b4d7d55b9bac5c9fafb56e1dcce88':
docs: add 101 Training class "Building Your First App"
Scott Main [Mon, 9 Apr 2012 17:15:46 +0000 (10:15 -0700)]
am
5f257077: Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
* commit '
5f2570773d9b4d7d55b9bac5c9fafb56e1dcce88':
docs: add 101 Training class "Building Your First App"
Scott Main [Mon, 9 Apr 2012 17:13:58 +0000 (10:13 -0700)]
Merge "docs: add 101 Training class "Building Your First App"" into ics-mr1
Scott Main [Sat, 3 Mar 2012 02:02:43 +0000 (18:02 -0800)]
docs: add 101 Training class "Building Your First App"
Change-Id: I9a1f27dc2b44fac8b0e9fbeb9326b5c62a93bc41
Eric Laurent [Mon, 9 Apr 2012 15:39:05 +0000 (08:39 -0700)]
Merge "Added support for USB audio devices"
Daniel Sandler [Mon, 9 Apr 2012 15:35:00 +0000 (08:35 -0700)]
Merge "Remove Chronometer logspew."
Daniel Sandler [Mon, 9 Apr 2012 14:28:59 +0000 (07:28 -0700)]
Merge "Fix alignment of notification action buttons."
Daniel Sandler [Mon, 9 Apr 2012 14:18:28 +0000 (10:18 -0400)]
Remove Chronometer logspew.
Change-Id: Ie9ea1ac9fb0b8053b00ce162c191dfa44c1ff6ab
Brian Colonna [Fri, 6 Apr 2012 17:01:29 +0000 (13:01 -0400)]
Separated FUL functionality from LockPatternKeyguardView
This is the first step toward fix
5460649. All of the FUL functions
were pulled out of LockPatternKeyguardView into their own FaceUnlock
class. LockPatternKeyguardView now has an mFaceUnlock member, which
is new'd inside of the LockPatternKeyguardView constructor, passing
it some objects it needs to do FUL. FUL calls are now made from
LockPatternKeyguardView by doing mFaceUnlock.foo(). Some of the
function names were reduced to avoid redundancy (e.g.
mFaceUnlock.start() instead of mFaceUnlock.startFaceLock()).
This change is just a refactoring and is not intended to change
any functionality. There will be other cleanups in the near
future...this is basically just the minimum changes needed to get
the FUL functionality into its own class.
Change-Id: I7dc5b22857bbf1659238b0e2d113069f7bf9ffe7
Daniel Lehmann [Sat, 7 Apr 2012 03:22:57 +0000 (20:22 -0700)]
Merge "Expose NORMALIZED_NUMBER in the API"
Jeff Brown [Sat, 7 Apr 2012 01:26:48 +0000 (18:26 -0700)]
Merge "Ensure that apps crash if they throw exceptions."
Jeff Brown [Sat, 7 Apr 2012 00:39:41 +0000 (17:39 -0700)]
Ensure that apps crash if they throw exceptions.
Previously, if an app threw an uncaught exception in an input,
vsync or native activity callback, it would log the exception then
continue limping merrily along. In the case of input, it
could result in an ANR occurring because we had not drained
all of the pending input events and marked them as finished
(we only marked the most recent one finished).
Bug:
6304124
Change-Id: I87d76f7fd605e1a8af1237c66d8d62973080277e
Eric Laurent [Fri, 6 Apr 2012 02:42:21 +0000 (19:42 -0700)]
Added support for USB audio devices
Two types of USB audio devices are defined:
- USB audio device: the audio device in USB device mode while
the Android device is in USB host mode.
- USB audio accessory: the audio device in USB host mode while
the Android device is in USB device mode.
Renamed intents for analog and digital docks to avoid confusion:
- ACTION_USB_ANLG_HEADSET_PLUG to ACTION_ANALOG_AUDIO_DOCK_PLUG
- ACTION_USB_DGTL_HEADSET_PLUG to ACTION_DIGITAL_AUDIO_DOCK_PLUG
Factorized code in AudioService broadcast receiver.
Change-Id: I1b6d0257a9d68ecb9495c78c98bac8c67fec7891
Craig Mautner [Sat, 7 Apr 2012 01:14:15 +0000 (18:14 -0700)]
Merge "Fix endless looping in layout."
Craig Mautner [Sat, 7 Apr 2012 01:04:13 +0000 (18:04 -0700)]
Fix endless looping in layout.
An odd alignment of the stars can end up with all of mAppToken.allDrawn
animating and mAppToken.startingDisplayed all false, and animation not
null. In such a case we can continue returning false but still pass
the test in WindowAnimator.updateWindowsAndRotation setting
wasAnimating to true. The combination continually sets the
FINISH_LAYOUT_REDO_WALLPAPER bit in mPendingLayoutChanges.
Fixes bug
6304838.
Change-Id: Ie7a7b39ea218213f51dc3df3eefe4ff03f1d885d
Dianne Hackborn [Sat, 7 Apr 2012 00:53:59 +0000 (17:53 -0700)]
Merge "Fix issue #
6242583: ResolverActivity is considered as home activity"
Adam Powell [Fri, 6 Apr 2012 23:41:17 +0000 (16:41 -0700)]
Merge "Add contentDescription for compact action_mode_close_item"
Adam Powell [Fri, 6 Apr 2012 23:39:11 +0000 (16:39 -0700)]
Add contentDescription for compact action_mode_close_item
Fix bug
6219630
Change-Id: I551624466d02f5d31be7030518b0d47b3b7f03b5
Eric Fischer [Fri, 6 Apr 2012 23:38:33 +0000 (16:38 -0700)]
Merge "Import translations. DO NOT MERGE"
Ying Wang [Fri, 6 Apr 2012 23:33:11 +0000 (16:33 -0700)]
You don't need LOCAL_STATIC_LIBRARIES when building static library.
and there is no target static library with name libutils.
Change-Id: Ifec34e1b484d749d3fcd11abe610f192a3213767
Dianne Hackborn [Fri, 6 Apr 2012 23:24:14 +0000 (16:24 -0700)]
Fix issue #
6242583: ResolverActivity is considered as home activity
Change-Id: Ib29908cdfcbbff769d12df1770264ad13ec5337b
Joe Fernandez [Fri, 6 Apr 2012 22:58:10 +0000 (15:58 -0700)]
am
e03ca3b5: am
1c23169e: am
1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '
e03ca3b565d74a86afa72f7edbd102f213a2ccd3':
Joe Fernandez [Fri, 6 Apr 2012 22:54:28 +0000 (15:54 -0700)]
am
8c5eb364: am
b7df1f4e: am
1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '
8c5eb364f38aa0a3944f003e9b1bbb67f6527da3':
Joe Fernandez [Fri, 6 Apr 2012 22:51:47 +0000 (15:51 -0700)]
am
1c23169e: am
1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '
1c23169eb114a1f254330b40385726c92786b47f':
Joe Fernandez [Fri, 6 Apr 2012 22:51:34 +0000 (15:51 -0700)]
am
014ac37a: am
1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '
014ac37a992a2c94eff765ed38cbdc4a064d263d':
docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
Joe Fernandez [Fri, 6 Apr 2012 22:50:34 +0000 (15:50 -0700)]
am
b7df1f4e: am
1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '
b7df1f4e92e4fbff373e46ea54477af34b5a44a4':
docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
Joe Fernandez [Fri, 6 Apr 2012 22:47:21 +0000 (15:47 -0700)]
am
1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '
1bf704bd1878fa372cfa50e7166d6ddcb1ba1369':
docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
Joe Fernandez [Fri, 6 Apr 2012 22:47:21 +0000 (15:47 -0700)]
am
1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '
1bf704bd1878fa372cfa50e7166d6ddcb1ba1369':
docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
Joe Fernandez [Fri, 6 Apr 2012 22:46:55 +0000 (15:46 -0700)]
am
1bf704bd: docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
* commit '
1bf704bd1878fa372cfa50e7166d6ddcb1ba1369':
docs: small fixes for Accessibility dev guide (Eyes-Free Keyboard)
Irfan Sheriff [Fri, 6 Apr 2012 22:25:41 +0000 (15:25 -0700)]
P2p fixes
Add powersave on client after connect
Set concurrency priority to STA
Fix connection cancellation
Change-Id: I76fd9d1085c611a8c4068047b64289ef539ab389