63269 Commits

Author SHA1 Message Date
Ben Cheng
0450570879 Initialize bwr.read_buffer in IPCThreadState::talkWithDriver.
I/valgrind( 1309): ==1310== Syscall param
ioctl(BINDER_WRITE_READ).read_buffer points to uninitialised byte(s)
I/valgrind( 1309): ==1310==    at 0x480E670: __ioctl (__ioctl.S:10)
I/valgrind( 1309): ==1310==  Address 0xbda651b4 is on thread 1's stack

Change-Id: I02893df7b5786b6b2dbd9659f5706d7171295ab2
2011-12-01 17:11:32 -08:00
The Android Automerger
b823f1be49 merge in ics-mr1-release history after reset to ics-mr1 2011-12-01 16:45:56 -08:00
Stephen Hines
976ae27270 Add support for handling a bitcode wrapper to librs.
BUG=5425905

Change-Id: I75676060703df6d9043b287fea900c4379455ee2
2011-12-01 16:37:00 -08:00
Gilles Debunne
0715f12605 am b4812f8a: am 335c4e6c: Broken build. New methods made private.
* commit 'b4812f8a815a4c4a9896e73412f4011d7a30f03f':
  Broken build. New methods made private.
2011-12-01 16:10:03 -08:00
Gilles Debunne
b4812f8a81 am 335c4e6c: Broken build. New methods made private.
* commit '335c4e6cb2094c7cbd6039e0c7915702b69e7657':
  Broken build. New methods made private.
2011-12-01 16:06:51 -08:00
Mike Lockwood
1958dc27c9 MTP: Don't attempt to read more than 16K at a time from the MTP driver
This could happen sometimes if other operations increased the size of the
data packet buffer to > 16K

Change-Id: I4d316c7e2e558d3dd861d39accae6514fd9a62f5
Signed-off-by: Mike Lockwood <lockwood@google.com>
2011-12-01 18:37:29 -05:00
Gilles Debunne
335c4e6cb2 Broken build. New methods made private.
Change-Id: Ia123ab4ddb1fe93bcd053c3ea5bf6b87c7204640
2011-12-01 15:36:08 -08:00
Gilles Debunne
03cb8bc450 am 120cb5af: am 58d89539: Merge "Scroll performance improved in multiline TextEdit" into ics-mr1
* commit '120cb5afd345a97c5e43683232c857ce2e5c8f29':
  Scroll performance improved in multiline TextEdit
2011-12-01 15:09:00 -08:00
Gilles Debunne
44bba9a8bb am ee8862dc: am eb189d39: Merge "Performance improvement in TextView" into ics-mr1
* commit 'ee8862dc7b7266ee99633e0f13b2393a2185c30d':
  Performance improvement in TextView
2011-12-01 15:08:58 -08:00
Gilles Debunne
120cb5afd3 am 58d89539: Merge "Scroll performance improved in multiline TextEdit" into ics-mr1
* commit '58d8953958ce452c5080eaa582d7e5d2b5017398':
  Scroll performance improved in multiline TextEdit
2011-12-01 15:07:10 -08:00
Gilles Debunne
ee8862dc7b am eb189d39: Merge "Performance improvement in TextView" into ics-mr1
* commit 'eb189d399a459c2e1ad29e1beba70d1de9f447b3':
  Performance improvement in TextView
2011-12-01 15:07:08 -08:00
Gilles Debunne
2101c57552 am a8205d24: am 09cbff02: Merge "Better handles\' visibility test" into ics-mr1
* commit 'a8205d24703fc353076cf30795b3a06a87208cfa':
  Better handles' visibility test
2011-12-01 15:06:49 -08:00
Amith Yamasani
2ef6f1bb56 Further volume improvements.
- Remove silent mode from Power menu
- Show volume dialog on lockscreen
- Allow beeps when adjusting volume in lockscreen

Bug: 5586083
Change-Id: I93052a8ec5004c784f20e04488af9382d495e711
2011-12-01 15:05:54 -08:00
Gilles Debunne
a8205d2470 am 09cbff02: Merge "Better handles\' visibility test" into ics-mr1
* commit '09cbff0294a27d33c93de50e0b4471ad86154a84':
  Better handles' visibility test
2011-12-01 15:04:46 -08:00
Gilles Debunne
58d8953958 Merge "Scroll performance improved in multiline TextEdit" into ics-mr1 2011-12-01 15:04:35 -08:00
Gilles Debunne
eb189d399a Merge "Performance improvement in TextView" into ics-mr1 2011-12-01 15:03:55 -08:00
Gilles Debunne
09cbff0294 Merge "Better handles' visibility test" into ics-mr1 2011-12-01 15:03:27 -08:00
Winson Chung
01c35c54d0 am ecdc38be: am cea32ecd: Merge "Adding a sound when you take a screenshot. (Bug 5617734)" into ics-mr1
* commit 'ecdc38be1ef6ee5375ff6abe92f2e1e84a78ea57':
  Adding a sound when you take a screenshot. (Bug 5617734)
2011-12-01 14:59:45 -08:00
Winson Chung
ecdc38be1e am cea32ecd: Merge "Adding a sound when you take a screenshot. (Bug 5617734)" into ics-mr1
* commit 'cea32ecd3aef013bc5da6e401eeb8e9e8cd1b595':
  Adding a sound when you take a screenshot. (Bug 5617734)
2011-12-01 14:57:50 -08:00
Gilles Debunne
cea45132e3 Handle animations in Views' rectangle clipping methods.
getChildVisibleRect and getLocationInWindow do not take the new
mTransformationInfo View attribute.

As a result, these methods return invalid value during an animation
Bug 5638710

Changes in Patch Set 2:
- temporary allocations removed using static thread local variables (method
calls are NOT reentrant).

- scroll should be handled *before* applying the transformation matrix.
Fixed the call order in View#getLocationInWindow()

Patch set 4: fix from comments.
Patch set 5: <p>s

Change-Id: I15dc44c0659305d9029c59a47aba3a738bb35ae1
2011-12-01 14:55:50 -08:00
Winson Chung
cea32ecd3a Merge "Adding a sound when you take a screenshot. (Bug 5617734)" into ics-mr1 2011-12-01 14:55:41 -08:00
Winson Chung
8d513eaef7 Adding a sound when you take a screenshot. (Bug 5617734)
Change-Id: I7f253adddd09da65481081a4ca22f043d3325d65
2011-12-01 14:39:44 -08:00
Kenny Root
cfe82181cb am 7f36d421: am 5a7c9176: Merge "Fix free_cache to actually work" into ics-mr1
* commit '7f36d4217269e79f8409c46f12f10464a1f585ea':
  Fix free_cache to actually work
2011-12-01 14:18:58 -08:00
Kenny Root
7f36d42172 am 5a7c9176: Merge "Fix free_cache to actually work" into ics-mr1
* commit '5a7c91769f011bc150c9def9edab9cccb4761c66':
  Fix free_cache to actually work
2011-12-01 14:16:18 -08:00
Kenny Root
5a7c91769f Merge "Fix free_cache to actually work" into ics-mr1 2011-12-01 14:14:22 -08:00
Jeff Brown
4952dfd16a Ensure input events are processed in-order in the application.
As it turns out, it used to be possible for there to be multiple
input events simultaneously in flight in an application.  Although
it worked, it made it hard to reason about what was going on.
The problem was somewhat exacerbated by the introduction of a
queue of "InputEventMessage" objects as part of an earlier latency
optimization.

This change restores order from chaos and greatly simplifies the
invariants related to input event dispatch within the application.

Change-Id: I6de5fe61c1fe2ac3dd33edf770d949044df8a019
2011-12-01 14:13:48 -08:00
Jeff Brown
95db2b20d7 Improve latency instrumentation.
Change-Id: I4edfa0a5659d207f7e46722e48ffa1dc43d2aa13
2011-12-01 14:13:48 -08:00
Glenn Kasten
d01d261183 Merge "Add README for media "automated" tests" 2011-12-01 13:55:41 -08:00
Roman Nurik
8077b4feba am aeda641e: am a7d825dd: am c3998ced: Merge "Update widget design guidelines for padding and 8dp." into ics-mr0
* commit 'aeda641e331e86f86b19493f9e5c1be38a45f5db':
  Update widget design guidelines for padding and 8dp.
2011-12-01 13:47:29 -08:00
Roman Nurik
aeda641e33 am a7d825dd: am c3998ced: Merge "Update widget design guidelines for padding and 8dp." into ics-mr0
* commit 'a7d825dddcb2e8bfd765bad2fb406498f4f1e37e':
  Update widget design guidelines for padding and 8dp.
2011-12-01 13:44:41 -08:00
Roman Nurik
a7d825dddc am c3998ced: Merge "Update widget design guidelines for padding and 8dp." into ics-mr0
* commit 'c3998ced746ee97bc5f10a9de1b2848f85c8711e':
  Update widget design guidelines for padding and 8dp.
2011-12-01 13:42:23 -08:00
Roman Nurik
c3998ced74 Merge "Update widget design guidelines for padding and 8dp." into ics-mr0 2011-12-01 13:40:38 -08:00
Matthew Xie
2f2e3ba11c am 6001d3ad: am 1a1be44c: Merge "Unlink the Binder DeathRecipient when removing a Bluetooth service record" into ics-mr1
* commit '6001d3ad9f5ddb5be09ec6e70b5e646cb9a0f469':
  Unlink the Binder DeathRecipient when removing a Bluetooth service record
2011-12-01 13:36:48 -08:00
Glenn Kasten
a54a06b3f0 Add README for media "automated" tests
Change-Id: I92e611fb6df2d870ded9e246963277ecc35b0d15
2011-12-01 13:35:32 -08:00
Matthew Xie
6001d3ad9f am 1a1be44c: Merge "Unlink the Binder DeathRecipient when removing a Bluetooth service record" into ics-mr1
* commit '1a1be44c5bf1e6099d678c81ef5e9326cabcb3df':
  Unlink the Binder DeathRecipient when removing a Bluetooth service record
2011-12-01 13:34:18 -08:00
Matthew Xie
1a1be44c5b Merge "Unlink the Binder DeathRecipient when removing a Bluetooth service record" into ics-mr1 2011-12-01 13:32:19 -08:00
Jeff Sharkey
7a1c428ed3 Merge "Uniform rethrowing of NDC exceptions." 2011-12-01 13:27:38 -08:00
Roman Nurik
061cf70da9 Update widget design guidelines for padding and 8dp.
Instead of using layout_margin for widget margins, the recommendation is to
now use padding. Additionally, update all docs to mention an example default
padding of 8dp instead of 15 or 16dp.

Change-Id: I330aedc56986dbb31a70260279ad2f6668c67c92
2011-12-01 13:21:14 -08:00
Svetoslav Ganov
55cdacb9ba am 0bfdd7c2: am e9f24a43: Merge "Fix memory leaks in the accessibility layer." into ics-mr1
* commit '0bfdd7c2927fb683b89fdd52befe643e8e069e77':
  Fix memory leaks in the accessibility layer.
2011-12-01 13:01:50 -08:00
Svetoslav Ganov
0bfdd7c292 am e9f24a43: Merge "Fix memory leaks in the accessibility layer." into ics-mr1
* commit 'e9f24a43021734d28a4f65ebc804847b31ce13e8':
  Fix memory leaks in the accessibility layer.
2011-12-01 12:59:11 -08:00
Svetoslav Ganov
e9f24a4302 Merge "Fix memory leaks in the accessibility layer." into ics-mr1 2011-12-01 12:57:12 -08:00
Dianne Hackborn
4da2f669bf am c4c19a23: am 55e81bd0: Merge "Improve how we manage the previous app." into ics-mr1
* commit 'c4c19a23d74896b4117bf274d1d7e0268ab401c3':
  Improve how we manage the previous app.
2011-12-01 12:52:07 -08:00
Dianne Hackborn
c4c19a23d7 am 55e81bd0: Merge "Improve how we manage the previous app." into ics-mr1
* commit '55e81bd0f219acbe00bbeebc8d33ef9c67a4aa60':
  Improve how we manage the previous app.
2011-12-01 12:49:38 -08:00
Dianne Hackborn
55e81bd0f2 Merge "Improve how we manage the previous app." into ics-mr1 2011-12-01 12:47:43 -08:00
Daniel Sandler
d884f5a14a am 0c22fa74: am b73dc9c8: Merge "Add copious navigation bar info to SystemUI dumps." into ics-mr1
* commit '0c22fa749a779fd539c4c13f83364efc611c3694':
  Add copious navigation bar info to SystemUI dumps.
2011-12-01 12:41:57 -08:00
Bill Gruber
9b188ea2b7 am 92a2f5fd: am 715a3c52: am 92ad16d3: Merge "Cherrypick from HCMR2 Change ID: Id849cb25098fef76c96c4935db31ebc1422d74d8 IAB doc update: CSV import feature Also fixed Bug 5221766" into ics-mr0
* commit '92a2f5fd6a8e423d6c9ef5b42c576a2ce7e900a2':
  Cherrypick from HCMR2 Change ID: Id849cb25098fef76c96c4935db31ebc1422d74d8 IAB doc update: CSV import feature Also fixed Bug 5221766
2011-12-01 12:41:54 -08:00
Scott Main
f434ad0fe2 am 42e4ecc7: am a8fa89f7: am 8f3993b1: Merge "docs: dashboard update for 12/1" into ics-mr0
* commit '42e4ecc7277bb568971c701e14ac2f97da7b4d02':
  docs: dashboard update for 12/1
2011-12-01 12:41:48 -08:00
Dianne Hackborn
50685606cf Improve how we manage the previous app.
Setting it when a new activity is being resumed is too soon, because
things like an activity launching an exiting (without being seen by
the user) can knock out the real previous app that we want.

So now we set it when an activity is stopped.  At this point it is
going to move from the preceptible to background oom adj, so it is
a good point to determine whether it should be a previous app to
instead put it to that oom adj.  This also avoids things like
activities that start and immediately finish from impacting the
previous app.

Further, we keep track of the time each activity was last shown, and
use this to further filter what is set as the previous app.

Change-Id: I72d1cac4de0cc2d4598170296028f11b06918d4f
2011-12-01 12:23:37 -08:00
Amith Yamasani
41995689f2 am 52976f04: am e9b0608c: Merge "No clicking on volume icon in volume dialog." into ics-mr1
* commit '52976f04d8bebf44398a94cf5796f6a998c8935d':
  No clicking on volume icon in volume dialog.
2011-12-01 12:17:50 -08:00
Scott Main
67592fad19 am 075bd9eb: am 4f926932: am acf1038a: docs: remove broken link from renderscript docs bug: 5696178
* commit '075bd9eb93449fb0a5c6da1379e11f51f8379794':
  docs: remove broken link from renderscript docs bug: 5696178
2011-12-01 12:17:46 -08:00