101966 Commits

Author SHA1 Message Date
Guang Zhu
32abd66ebd change how app launch is tested
new approach:
  * for each app
    * initial launch
    * sleep 7.5s
    * do 10 iterations: launch app with force stop + sleep in between
    * report average of 10 launches

Change-Id: I9e68975325aa83af35620d727823f5c072aac488
2013-03-13 23:24:31 -07:00
Scott Main
7f39842d4f am 0a93dc9a: am 9b92e915: am baf974fa: am b608915d: am af1bd23b: am e8319257: Merge "cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649
* commit '0a93dc9ad8c990d179ac67659b834736bd5c55d3':
  cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f
2013-03-14 06:13:26 +00:00
Scott Main
a08e81e1bc am 81b29455: am c597f5b6: am bbc13661: am ed3f55f1: am 5f00c3c7: am d0d8f8a9: update IO announcement to remove registration
* commit '81b294554e919bcc5a6688d7bede3a603fc8a749':
  update IO announcement to remove registration
2013-03-14 06:13:24 +00:00
Scott Main
0a93dc9ad8 am 9b92e915: am baf974fa: am b608915d: am af1bd23b: am e8319257: Merge "cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d
* commit '9b92e9156dc762cd7802b5126b7a0f56b4c58897':
  cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f
2013-03-13 23:10:56 -07:00
Scott Main
81b294554e am c597f5b6: am bbc13661: am ed3f55f1: am 5f00c3c7: am d0d8f8a9: update IO announcement to remove registration
* commit 'c597f5b69b84943da7820d8d2233f958ed40ab5c':
  update IO announcement to remove registration
2013-03-13 23:10:51 -07:00
Mathias Agopian
f2362ceb50 am b1fa4f92: Merge "fix CloseGuard usage in Surface" into jb-mr2-dev
* commit 'b1fa4f92dcd6380b14cbff9cb8aec9e175d7d60d':
  fix CloseGuard usage in Surface
2013-03-14 02:15:34 +00:00
Mathias Agopian
b1fa4f92dc Merge "fix CloseGuard usage in Surface" into jb-mr2-dev 2013-03-14 02:13:13 +00:00
Chet Haase
107a48236a Fix erroneous requestLayout-during-layout issues
In general, calling requestLayout() during layout is a Bad Idea.
However, ListView does this during the normal course of its layout, as it
removes and adds views during layout. However, it handles this properly,
ensuring that the views in its hierarchy are all measured and laid out
properly by the time its layout process is done.

A previous fix to the request-during-layout issue attempted to distinguish
the correct from incorrect behavior by checking whether views had been properly
laid out since the requestLayout() call, and making sure the views were
visible in the hierarchy (parented, attached, and !GONE), since otherwise
the views would not be laid out, the flags wouldn't be cleared, and requests
are superfluous anyway. However, this logic only checked whether the
requesting views were GONE, whereas the check should include the entire
parent hierarchy of the views (since a view with a GONE parent is still not
visible to the user).

This fix adds that additional check and cleans up other parts of the previous
code, such as not bothering to post() requests that occur during the second
layout pass unless those requests are also valid (coming from visible views).

Issue #8370042 Path seems to be in an infinite layout loop

Change-Id: I7aaf701229adfeee349a9a7c9ec14585735ba9f6
2013-03-13 18:23:44 -07:00
Mathias Agopian
86e1bc7305 fix CloseGuard usage in Surface
Bug: 8375415
Change-Id: I03e9f318c2ad586f4bd93b280557ada66121d275
2013-03-13 18:21:11 -07:00
Scott Main
9b92e9156d am baf974fa: am b608915d: am af1bd23b: am e8319257: Merge "cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed0
* commit 'baf974fa5aaf9977fa1dc26a33ada4e7d68768c0':
  cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f
2013-03-13 17:23:20 -07:00
Scott Main
c597f5b69b am bbc13661: am ed3f55f1: am 5f00c3c7: am d0d8f8a9: update IO announcement to remove registration
* commit 'bbc13661504ef7cc8c397bd05f1ba33db619c77a':
  update IO announcement to remove registration
2013-03-13 17:23:17 -07:00
Scott Main
baf974fa5a am b608915d: am af1bd23b: am e8319257: Merge "cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f" into
* commit 'b608915d5dd1bb81c45b6f1406dd2e41f2e7c6cf':
  cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f
2013-03-13 17:20:57 -07:00
Scott Main
bbc1366150 am ed3f55f1: am 5f00c3c7: am d0d8f8a9: update IO announcement to remove registration
* commit 'ed3f55f12d6dd702fed9d9ba21f5d2e333382e44':
  update IO announcement to remove registration
2013-03-13 17:20:54 -07:00
Scott Main
b608915d5d am af1bd23b: am e8319257: Merge "cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f" into jb-mr1.1-docs
* commit 'af1bd23bf55efc456727874f39f7e35d49ec2a85':
  cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f
2013-03-13 17:19:32 -07:00
Scott Main
ed3f55f12d am 5f00c3c7: am d0d8f8a9: update IO announcement to remove registration
* commit '5f00c3c7d70b33ad360e48908e23c796fced43bb':
  update IO announcement to remove registration
2013-03-13 17:19:28 -07:00
Scott Main
af1bd23bf5 am e8319257: Merge "cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f" into jb-mr1.1-docs
* commit 'e83192577fbc1fc6e0a8d991f07be506605fa496':
  cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f
2013-03-13 17:18:20 -07:00
Scott Main
5f00c3c7d7 am d0d8f8a9: update IO announcement to remove registration
* commit 'd0d8f8a9d464e1bb2385639c2f70c219d8e605e1':
  update IO announcement to remove registration
2013-03-13 17:18:17 -07:00
Scott Main
e83192577f Merge "cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780 docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f" into jb-mr1.1-docs 2013-03-14 00:16:11 +00:00
Scott Main
d0d8f8a9d4 update IO announcement to remove registration
Change-Id: I0d9d984b90db1ee94b8b282fe816e95a6ec43094
2013-03-13 17:15:01 -07:00
Jim Miller
3fe0205a00 am 6d4dac74: Merge "Fix bug where Keyguard\'s emergencydialer wasn\'t being launched with a userid." into jb-mr2-dev
* commit '6d4dac74235972035a3a9109a4224e04a88039cd':
  Fix bug where Keyguard's emergencydialer wasn't being launched with a userid.
2013-03-14 00:02:29 +00:00
Robert Greenwalt
f0cf1ead71 am ad7a1d56: Merge "Add logging to track down bug" into jb-mr2-dev
* commit 'ad7a1d564dcaa560f59d3f44ff32aef6fbaabba3':
  Add logging to track down bug
2013-03-14 00:02:27 +00:00
Jim Miller
6d4dac7423 Merge "Fix bug where Keyguard's emergencydialer wasn't being launched with a userid." into jb-mr2-dev 2013-03-14 00:00:15 +00:00
Robert Greenwalt
ad7a1d564d Merge "Add logging to track down bug" into jb-mr2-dev 2013-03-13 23:59:00 +00:00
Mathias Agopian
7193952816 am 065a118e: Merge "Try to keep the same native Surface object when reading a parcel" into jb-mr2-dev
* commit '065a118e0e389dc785cda2e20fdb957361db89a0':
  Try to keep the same native Surface object when reading a parcel
2013-03-13 23:58:56 +00:00
Mathias Agopian
065a118e0e Merge "Try to keep the same native Surface object when reading a parcel" into jb-mr2-dev 2013-03-13 23:54:34 +00:00
Joe Fernandez
8119f871d8 cherrypick from jb-mr1.1-dev Change-Id: I9a7d106e73ca3553b8541def0a143911f4c44780
docs: SDK Platform image JB-MR1.1 and Support Library r12 Release Notes
formerly Change-Id: I54a58649c226b61c3707d0a5385fa97ed029e32f

Change-Id: Id5556ff25a41780703ab0f0b7f5b04dcb228ad87
2013-03-13 16:50:28 -07:00
Romain Guy
6f41ede9e4 am 03df4033: Merge "Less aggressive glyphs precaching" into jb-mr2-dev
* commit '03df4033728e6b943f36e51fbbce36067920c7b1':
  Less aggressive glyphs precaching
2013-03-13 23:48:39 +00:00
Romain Guy
03df403372 Merge "Less aggressive glyphs precaching" into jb-mr2-dev 2013-03-13 23:46:34 +00:00
Jeff Sharkey
02ffba940c Handle finished bugreports, share from private.
Show notification when a bugreport is finished, letting the user
launch a SEND_MULTIPLE intent to share them.  Add dialog that warns
user about contents before sharing.  Since bugreports are now stored
in private app data of the Shell app, use FileProvider to build Uris
that we can grant others access to.

Define BUGREPORT_FINISHED as being a protected broadcast.  Delete
older bugreports automatically to reclaim disk space.  Migrate any
Intent extras to ClipData when building PendingIntents.

Add --receiver-permission support to am shell command.

Bug: 7005318
Change-Id: If6c607dbcf137362d5887eac482ff7391563890f
2013-03-13 16:42:38 -07:00
Robert Greenwalt
5ddeb9ed70 Add logging to track down bug
bug:8377625
Change-Id: Ifd0c4081a2f1238dbbc39c6904b993e2fb95455a
2013-03-13 16:38:46 -07:00
Jaikumar Ganesh
5f3b22d691 am 980ef31f: Merge changes I1aab1dbc,I83c92971,I47337efd into jb-mr2-dev
* commit '980ef31f954c4126db8595399c3f4d945fe4c5e2':
  Revert "Add new sensor types."
  Revert "Remove spurious @Override."
  Revert "Add a minimum size for the event pools."
2013-03-13 23:23:08 +00:00
Jaikumar Ganesh
980ef31f95 Merge changes I1aab1dbc,I83c92971,I47337efd into jb-mr2-dev
* changes:
  Revert "Add new sensor types."
  Revert "Remove spurious @Override."
  Revert "Add a minimum size for the event pools."
2013-03-13 23:20:31 +00:00
Romain Guy
bd3055f95e Less aggressive glyphs precaching
The renderer used to pre-cache glyphs at record time. This then changed
to pre-caching at the beginning of every frame. This unfortunately entails
a lot of duplicate work on every frame, which amounts to 0.5 to 1ms in
some stock applications.

This change is somewhere in the middle: pre-caching happens the first
time a DrawTextOp is deferred or every time the screen-space transform
is different from the last pre-caching operation.

Change-Id: Id6d9e2599d90a5b75010b0f0a28746befbf3c205
2013-03-13 16:14:47 -07:00
Mathias Agopian
c3b9cd6351 Try to keep the same native Surface object when reading a parcel
If the IGraphicBufferProducers are the same, it's really the same
window, so we keep the same native object.

Bug: 8322406
Change-Id: I96d55a90e6656a05d4e32ae22945226c350b5747
2013-03-13 16:07:57 -07:00
Dianne Hackborn
f1ebd1bd67 am 5d122d96: Better documentation on permission checking in ContentProvider.call().
* commit '5d122d96a5bf3bbaccaca2765b45716efe7ee2ef':
  Better documentation on permission checking in ContentProvider.call().
2013-03-13 22:51:19 +00:00
Dianne Hackborn
5d122d96a5 Better documentation on permission checking in ContentProvider.call().
Change-Id: I4a85fd17362c2a32e2b1365fcc07ef0336521616
2013-03-13 15:48:12 -07:00
Jaikumar Ganesh
1aab1dbca5 Revert "Add new sensor types."
This reverts commit bc03a348d78326dee779a8ecc325799c9fceac98.
2013-03-13 15:00:21 -07:00
Jaikumar Ganesh
83c9297139 Revert "Remove spurious @Override."
This reverts commit 6e544fd4ca82a3f415c4cf6ca70eedea5112015e.
2013-03-13 15:00:04 -07:00
Jaikumar Ganesh
47337efd63 Revert "Add a minimum size for the event pools."
This reverts commit c0ce7eeb481540e24bc45f52e604df923c507043.
2013-03-13 14:59:57 -07:00
Mathias Agopian
1b11e4bdd2 am 2530b32d: Merge "remove uses of Surface in favor of IGraphicBufferProducer" into jb-mr2-dev
* commit '2530b32de5c609fc6738b292baaf540e4ac10cd7':
  remove uses of Surface in favor of IGraphicBufferProducer
2013-03-13 21:44:33 +00:00
Mathias Agopian
2530b32de5 Merge "remove uses of Surface in favor of IGraphicBufferProducer" into jb-mr2-dev 2013-03-13 21:42:35 +00:00
Romain Guy
6183f3d7ea am 8be3bc4a: Merge "Prevent infinite loop when trimming the path cache" into jb-mr2-dev
* commit '8be3bc4a3d586903ca5e29c24bb81b3c781c2f81':
  Prevent infinite loop when trimming the path cache
2013-03-13 21:37:38 +00:00
Romain Guy
8be3bc4a3d Merge "Prevent infinite loop when trimming the path cache" into jb-mr2-dev 2013-03-13 21:33:47 +00:00
Romain Guy
0f809f3b79 Prevent infinite loop when trimming the path cache
Change-Id: I04b5fa498336068f997c68d8613b35a99f67adbe
2013-03-13 14:32:45 -07:00
Craig Mautner
35d4501077 am dc50ba18: Merge "Put debug back in for b/b8263462." into jb-mr2-dev
* commit 'dc50ba187ece96052bfc5e7ce39e466837a58b64':
  Put debug back in for b/b8263462.
2013-03-13 21:22:43 +00:00
Craig Mautner
dc50ba187e Merge "Put debug back in for b/b8263462." into jb-mr2-dev 2013-03-13 21:20:22 +00:00
John Spurlock
33291d8d71 WindowManager.LayoutParams docs cleanup.
Fix a few things found in our "Constants" section.
 - Close unclosed links.
 - Avoid periods inside parens for summary sentences.
 - Lowercasing in a few places for consistency.

Change-Id: I9aa689fd980b373614dae7c4f8257e0786d2340a
2013-03-13 14:45:14 -04:00
Craig Mautner
6efb4c746f Put debug back in for b/b8263462.
Previous CL did not fix.

Change-Id: Ief9e8f519480fa41248d53e5b0187c9657f00b79
2013-03-13 11:12:26 -07:00
Przemyslaw Szczepaniak
decc6cb1a7 am 24943bf1: Failing Text-To-Speech CTS tests fix.
* commit '24943bf19d3d000f9f5840513526b48523b62c71':
  Failing Text-To-Speech CTS tests fix.
2013-03-13 17:37:42 +00:00
Przemyslaw Szczepaniak
24943bf19d Failing Text-To-Speech CTS tests fix.
Fix for failing android.speech.tts.cts.TextToSpeechServiceTest#testSynthesizeToFile.
In test env, ParcelFileDescriptor instance may be EXACTLY the same one that client uses.
And if it's closed by a client, then service is prevented from writing anything to the output.

Bug: 8377754
Change-Id: I7f95aae1b877e543ab02d3c548b29537aa852a89
2013-03-13 15:50:00 +00:00