101987 Commits

Author SHA1 Message Date
Scott Kennedy
1a5bbe4675 am e0e448f1: Merge "Remove a method" into jb-mr2-dev
* commit 'e0e448f181ef5be8491bcef8e787fb96a7719c77':
  Remove a method
2013-03-14 18:35:02 +00:00
Scott Kennedy
e0e448f181 Merge "Remove a method" into jb-mr2-dev 2013-03-14 18:32:35 +00:00
Robert Greenwalt
bad9c23260 am 6cf355ff: Merge "Turn on more logging to find this bug." into jb-mr2-dev
* commit '6cf355fff703ac5f4228459c5d6a6c5cd515bd02':
  Turn on more logging to find this bug.
2013-03-14 18:03:50 +00:00
Robert Greenwalt
6cf355fff7 Merge "Turn on more logging to find this bug." into jb-mr2-dev 2013-03-14 17:59:19 +00:00
Guang Zhu
558030ee12 am 555fddb0: Merge "change how app launch is tested" into jb-mr2-dev
* commit '555fddb011548fb60e5abe90dd45df1cd7dd78af':
  change how app launch is tested
2013-03-14 17:55:51 +00:00
Guang Zhu
555fddb011 Merge "change how app launch is tested" into jb-mr2-dev 2013-03-14 17:54:18 +00:00
Scott Kennedy
da2223f897 Remove a method
It was only being called in one location, and the parameter was being
ignored.

Change-Id: Ia853dd8d3898ac3e4c4b2fb3a51d103844b57ca1
2013-03-14 10:47:10 -07:00
Robert Greenwalt
bb5bcaaaed Turn on more logging to find this bug.
bug:8377625
Change-Id: I0c086402122d45fc409d237a3b96d96146f1f74c
2013-03-14 10:37:56 -07:00
Chet Haase
8e035fd742 am 8fb6f418: Merge "Better fix for GL wallpaper creation" into jb-mr2-dev
* commit '8fb6f418bbfa5e2bd9263546fb6c7f37836b03bf':
  Better fix for GL wallpaper creation
2013-03-14 17:37:35 +00:00
Chet Haase
8fb6f418bb Merge "Better fix for GL wallpaper creation" into jb-mr2-dev 2013-03-14 17:34:54 +00:00
Craig Mautner
b7ca680485 am 67bea2ef: Merge "Remove WindowManager messages from remote queue." into jb-mr2-dev
* commit '67bea2ef32198e5e246715998c1d907b73225761':
  Remove WindowManager messages from remote queue.
2013-03-14 16:53:21 +00:00
Craig Mautner
67bea2ef32 Merge "Remove WindowManager messages from remote queue." into jb-mr2-dev 2013-03-14 16:48:53 +00:00
Craig Mautner
ca0ac718cb Remove WindowManager messages from remote queue.
When a new IME is attached it is not enough to remove the
WindowManager messages from the local queue, but the ones in
the previous IME queue must also be removed.

Fixes bug 8263462.

Change-Id: I9e916c6052a83dc7691bcba0b6ab8328b9b7cc36
2013-03-14 09:43:02 -07:00
Chet Haase
2e417be5c4 Better fix for GL wallpaper creation
A previous fix made initializing GL work better by calling eglMakeCurrent()
prior to querying the max texture size. However, that fix worked by creating an eglSurface
earlier than we did before, which for some reason causes problems later if wallpaper creation
fails and we back off to a software solution.

This new fix creates a temporary pbuffer surface instead, which still allows us to make the
call to eglMakeCurrent() prior to querying the max texture size, but does not result in the
later canvas lock failure if the wallpaper creation fails anyway.

Issue #8319960 sluggish yakju animations over launcher

Change-Id: I394d672549260a354f03ad9fd1b9e1f9a161a371
2013-03-14 09:38:01 -07:00
Jeff Sharkey
5d7b4a4448 am 34f37e74: Merge "Handle finished bugreports, share from private." into jb-mr2-dev
* commit '34f37e74125b09d13537782b602b6b4e37995ff7':
  Handle finished bugreports, share from private.
2013-03-14 15:46:29 +00:00
Jeff Sharkey
34f37e7412 Merge "Handle finished bugreports, share from private." into jb-mr2-dev 2013-03-14 15:44:12 +00:00
Chet Haase
9e19ea284a am 7534707b: Merge "Ensure wallpaper creation succeeds" into jb-mr2-dev
* commit '7534707b34ad7f2c8d3954d0fe8d2e6e7fcb2fc6':
  Ensure wallpaper creation succeeds
2013-03-14 13:30:13 +00:00
Chet Haase
7534707b34 Merge "Ensure wallpaper creation succeeds" into jb-mr2-dev 2013-03-14 13:28:13 +00:00
Chet Haase
187e1e2fc7 Ensure wallpaper creation succeeds
ImageWallpaper was sometimes querying GL for a max texture size too early
(before the first call to eglMakeCurrent()). This problem caused the wallpaper
to then get created in software, resulting in noticeably slower performance
when the wallpaper was visible.

This fix ensures that the
makeCurrent happens before the query, ensuring that wallpapers of the right
size actually get created instead of failing due to this error at creation time.

Issue #8319960 sluggish yakju animations over launcher

Change-Id: I12a3eba9f1818bdf544691e0727fe12f7e820651
2013-03-14 06:24:32 -07:00
John Spurlock
356bbd1c60 am ac3dfb38: Merge "WindowManager.LayoutParams docs cleanup." into jb-mr2-dev
* commit 'ac3dfb38802dc42053a9ac0cbcafd0304b7b01d8':
  WindowManager.LayoutParams docs cleanup.
2013-03-14 13:11:31 +00:00
John Spurlock
ac3dfb3880 Merge "WindowManager.LayoutParams docs cleanup." into jb-mr2-dev 2013-03-14 13:08:06 +00:00
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