Commit Graph

176611 Commits

Author SHA1 Message Date
Andres Morales
97621e05c0 Increase min free levels for cached processes on 64bit
Requires less memory pressure to start killing cached
processes.

Bug: 18241791
Change-Id: Ia02f5aee115535badc900330b9361f0099203e4f
2014-11-05 01:36:27 +00:00
Wale Ogunwale
ed24700385 Merge "Fix issue #18240452: No recents screenshot when resuming from keyguard." into lmp-mr1-dev
automerge: c56a1f1

* commit 'c56a1f17153844c8015a440ed52e84bbce0b894f':
  Fix issue #18240452: No recents screenshot when resuming from keyguard.
2014-11-05 01:25:09 +00:00
Craig Mautner
26a733ce33 Merge "When keyguard exits use same anim for all windows" into lmp-mr1-dev 2014-11-05 01:23:04 +00:00
Stuart Scott
8585e0dd4c Merge "Use CharSequence for DisplayName" into lmp-mr1-dev 2014-11-05 01:19:12 +00:00
Wale Ogunwale
c56a1f1715 Merge "Fix issue #18240452: No recents screenshot when resuming from keyguard." into lmp-mr1-dev 2014-11-05 01:14:22 +00:00
Alan Viverette
2cd23e6b9d Fix hasSurfaceInsets check when creating hardware renderer
BUG: 17729606
Change-Id: I8c7092428b790e0ff3bbf84b64ba385ef2b2f521
2014-11-04 17:04:02 -08:00
Alan Viverette
2fe08558cc am 9fb51ad8: am a04a5e82: am 6e85abd4: Merge "Default gradient radius to %p when no intrinsic width or height set" into lmp-mr1-dev
* commit '9fb51ad840f445c387994ff1ebf8913b9d918f6a':
  Default gradient radius to %p when no intrinsic width or height set
2014-11-05 00:57:24 +00:00
Alan Viverette
9fb51ad840 am a04a5e82: am 6e85abd4: Merge "Default gradient radius to %p when no intrinsic width or height set" into lmp-mr1-dev
* commit 'a04a5e82f0b84d57394c28600e3b142d649880cb':
  Default gradient radius to %p when no intrinsic width or height set
2014-11-05 00:51:45 +00:00
Jeff Davidson
9634abe86b Update network selections on capability change.
Among other reasons, this is needed when a Wi-Fi connection is
upgraded from untrusted to trusted, so that the default route can be
updated to point to the Wi-Fi network instead.

Bug: 18206275
Change-Id: I53f7a6f00f66a23ae4873fa2334cd8a621f39d4f
2014-11-04 16:48:27 -08:00
Alan Viverette
a04a5e82f0 am 6e85abd4: Merge "Default gradient radius to %p when no intrinsic width or height set" into lmp-mr1-dev
* commit '6e85abd45b890bf583346a0935d1f24a789dc88b':
  Default gradient radius to %p when no intrinsic width or height set
2014-11-05 00:48:09 +00:00
Alan Viverette
6e85abd45b Merge "Default gradient radius to %p when no intrinsic width or height set" into lmp-mr1-dev 2014-11-05 00:43:16 +00:00
Eric Gilmore
66df2b1868 am 3cde7b98: am ffcc5657: am 9fe0017d: am 1c9860f9: am 4f82acd8: am bf78adb2: Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
* commit '3cde7b9801660e6e539bbec123755be34caedecc':
  Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
2014-11-05 00:42:41 +00:00
Eric Gilmore
3cde7b9801 am ffcc5657: am 9fe0017d: am 1c9860f9: am 4f82acd8: am bf78adb2: Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
* commit 'ffcc5657b9045435983ec1f981ea8890c423ba14':
  Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
2014-11-05 00:39:20 +00:00
Adam Lesinski
a7d1d73a47 Implement back-tracking when searching for attributes in XML or resource bag
Shared libraries have their package ID assigned at run-time, so some
of the guarantees we used to have about sort order of attributes in
bags or XML elements no longer hold.

This CL adds back-tracking and can jump to the nearest attribute with the
same package ID and continue searching.

This means that attributes with the same package ID must be sorted by increasing
resource ID, as was the case before.

Attributes with the same package ID must be grouped together, but the groups can
be in any order. Ex: 0x02010001, 0x02010002, 0x01010000, 0x01010010, 0x7f010032

Bug:17666947
Change-Id: I9c198bbb6ca788849aac85b6323606ea5d9550d6
2014-11-04 16:34:34 -08:00
Eric Gilmore
ffcc5657b9 am 9fe0017d: am 1c9860f9: am 4f82acd8: am bf78adb2: Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
* commit '9fe0017dd1a2908d00b35a39edd00af5f9b79e14':
  Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
2014-11-05 00:34:05 +00:00
Eric Gilmore
9fe0017dd1 am 1c9860f9: am 4f82acd8: am bf78adb2: Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
* commit '1c9860f9285709cddff2e570a50e3afc66091135':
  Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
2014-11-05 00:26:49 +00:00
Eric Gilmore
1c9860f928 am 4f82acd8: am bf78adb2: Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
* commit '4f82acd810601c4d055906cb2b671cafd15d3fc8':
  Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
2014-11-05 00:20:18 +00:00
Alan Viverette
f74a4d7ddc am ffa031bb: am e9596818: am aa33a487: Merge "Always update date picker position after change in range" into lmp-mr1-dev
* commit 'ffa031bbada658fd33c137e381e219ac248d29fe':
  Always update date picker position after change in range
2014-11-05 00:17:32 +00:00
Eric Gilmore
4f82acd810 am bf78adb2: Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
* commit 'bf78adb25e80b9107fcd682d30e7157093681547':
  Adding 5.0 emulator image and removing older image. 2nd patch set includes low/high res. images.
2014-11-05 00:12:16 +00:00
Alan Viverette
ffa031bbad am e9596818: am aa33a487: Merge "Always update date picker position after change in range" into lmp-mr1-dev
* commit 'e9596818e58d912323132c63185719f1e69cbbd5':
  Always update date picker position after change in range
2014-11-05 00:11:12 +00:00
Wale Ogunwale
d3e2a0891b Fix issue #18240452: No recents screenshot when resuming from keyguard.
WindowManager.keyguardGoingAway() isn't called early enough when you exit
the keyguard by clicking on a notification. So, the WindowState for the
preivous activity behind the keyguard is never transitioned to visible
and the activity manager then fails to take the screenshot for recents.
We will now be taking a screenshot of the activity before we go to sleep
so we are not dependent on signals from the keyguard.

Change-Id: I2acb2ad7a627d4e446ba11c9a0842d21fa6922d3
2014-11-04 16:09:19 -08:00
Alan Viverette
e9596818e5 am aa33a487: Merge "Always update date picker position after change in range" into lmp-mr1-dev
* commit 'aa33a487c8bfa0503a4c744a932a8344a96d52e1':
  Always update date picker position after change in range
2014-11-05 00:05:33 +00:00
Alan Viverette
aa33a487c8 Merge "Always update date picker position after change in range" into lmp-mr1-dev 2014-11-05 00:00:52 +00:00
Alan Viverette
84feea1185 Abort accessibility node prefetch if parent node is null
BUG: 18004444
Change-Id: I80757daeb6b381947c4f3abbd762711cff2a978c
2014-11-04 15:59:55 -08:00
ztenghui
86ec6088b5 VD:test:Remove open animation AVD
This is for unbundle apps, so it is not a good idea to put in open source.

b/18171696

Change-Id: I4272a9cd12904b90b4421e88304795a292ceec58
2014-11-04 15:59:46 -08:00
Craig Mautner
b834080181 When keyguard exits use same anim for all windows
The entering animations were only applied to the incoming windows
one time. If those windows weren't drawn yet then they never had
an animation assigned.

Furthermore if a starting window was drawn in time it would get the
animation but its main window would not get it if it weren't drawn.
Even if an animation were assigned later they wouldn't be synced
with each other.

This change creates a single animation which is shared by all
incoming windows. As windows are drawn they can then animate with
the starting window.

(Also refactorings to eliminate redundant code and unnecessary
variables.)

Fixes bug 15991916.

Change-Id: I9949ef0a1639c831754316da34de97cb86403f5a
2014-11-04 15:38:05 -08:00
Eric Gilmore
bf78adb25e Adding 5.0 emulator image and removing older image.
2nd patch set includes low/high res. images.

Bug: 18026943

Change-Id: I102e5de616251e742c8e7b9cf1948be1cbbc4a1c
2014-11-04 15:01:24 -08:00
Tyler Gunn
3b4b1dcb60 Support disconnecting conference participants from conference.
- Added "onDisconnectConferenceParticipant" method used to inform a
connection acting as the conference host that one of the participants
should be disconnected.
- Added "VIRTUAL_CALL" PhoneCapability used to indicate that a call cannot
be the active or background call, but only be a child of another call.

Bug: 18228141
Bug: 18176606
Change-Id: I7aec631cc89c0f08e174b24ce3a9cb547b47e36b
2014-11-04 14:53:37 -08:00
Stuart Scott
8b564c2af8 Use CharSequence for DisplayName
Change-Id: Ibb93424b85b11913282a4980e756b66a8d7946d5
2014-11-04 14:47:47 -08:00
Adam Lesinski
35d352a90e am 124fce2b: am af53bfd0: am efd8a85d: Merge "Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService" into lmp-mr1-dev
* commit '124fce2b3646f7a1f01f5830b5201f1baf30a226':
  Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService
2014-11-04 22:46:22 +00:00
Adam Lesinski
124fce2b36 am af53bfd0: am efd8a85d: Merge "Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService" into lmp-mr1-dev
* commit 'af53bfd06e701a1815a1c62a35020e70b76585c2':
  Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService
2014-11-04 22:41:35 +00:00
Adam Lesinski
af53bfd06e am efd8a85d: Merge "Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService" into lmp-mr1-dev
* commit 'efd8a85d30c35ca4a274835f10e371289bb9bc5e':
  Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService
2014-11-04 22:37:03 +00:00
Tom Hudson
ed83a47d13 Merge "Replace StatefulBaseRenderer inheritance with CanvasState member" 2014-11-04 22:33:00 +00:00
Adam Lesinski
efd8a85d30 Merge "Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService" into lmp-mr1-dev 2014-11-04 22:32:31 +00:00
Sreeram Ramachandran
9ea3a401e0 am ebb0bdb0: am 9b32f9a4: am 0610ff97: Merge "Don\'t use framework permission strings for netd permissions." into lmp-mr1-dev
* commit 'ebb0bdb0f19b4f87f9080e37fb5a7ad540c0ccb2':
  Don't use framework permission strings for netd permissions.
2014-11-04 22:19:21 +00:00
Tom Hudson
984162fb7e Replace StatefulBaseRenderer inheritance with CanvasState member
Incrementally disentangles DisplayListRenderer and OpenGLRenderer.
Introduces abstract CanvasStateClient class to share three functions
between the two.

Design doc at https://docs.google.com/a/google.com/document/d/1PY1JF7AfPEF2UOUAnETS5j_4_tnJShTAMExvpCJfP8o/edit?usp=sharing.

BUG:15672762
R=djsollen@google.com,ccraik@google.com,jreck@google.com

Change-Id: Ic9fdffe18808e7d921ad06d01ea1ca25b2ad6f23
2014-11-04 17:16:36 -05:00
Sreeram Ramachandran
ebb0bdb0f1 am 9b32f9a4: am 0610ff97: Merge "Don\'t use framework permission strings for netd permissions." into lmp-mr1-dev
* commit '9b32f9a46687c1f9d720452f8972e43f1d15294b':
  Don't use framework permission strings for netd permissions.
2014-11-04 22:11:24 +00:00
Sreeram Ramachandran
9b32f9a466 am 0610ff97: Merge "Don\'t use framework permission strings for netd permissions." into lmp-mr1-dev
* commit '0610ff97f11d37d514ea20fcbd73a96ede3518ce':
  Don't use framework permission strings for netd permissions.
2014-11-04 22:03:47 +00:00
Sreeram Ramachandran
0610ff97f1 Merge "Don't use framework permission strings for netd permissions." into lmp-mr1-dev 2014-11-04 21:59:23 +00:00
RoboErik
131e63adaa Add extras to the PlaybackState
This allows apps to include extras that are atomic with play state
changes.

bug:18189125
bug:18103891
Change-Id: Ia3bc5b0dcf29960cb70e2ff3a67ec1fdd48b7a5a
2014-11-04 13:47:45 -08:00
Adam Lesinski
32e580604d Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService
- Forgot to increment loop variable :S

Bug:18239732
Change-Id: Ie37a83584d7849108dbfd3bd4cbb595520d488b1
2014-11-04 13:38:46 -08:00
RoboErik
566c1ed18f Add setRatingType to MediaSession
This was missing in L. Needed to tell controllers how to rate content.

bug:18051829
Change-Id: I26e662ff04f77ed7f2922bf9e74acf74c850547b
2014-11-04 13:14:19 -08:00
Tom Hudson
a5545d24c7 Merge "Remove status return from all uirenderer::Renderer functions" 2014-11-04 21:05:29 +00:00
Tom Hudson
107843de45 Remove status return from all uirenderer::Renderer functions
This moves the interface closer to android::Canvas. The only use of
return values was in the OpenGLRenderer subclass; that is replaced
with an internal dirty flag: returned from finish(), checked by
CanvasContext.

This is part of a series of CLs to refactor the Graphics JNI bindings.

BUG:15672762
R=djsollen@google.com,ccraik@google.com

Change-Id: Ifd533eb8839a254b0d3a5d04fc5a2905afdfc89e
2014-11-04 15:49:44 -05:00
Bryce Lee
55e846d4a2 Add config to control going to sleep when entering theater mode.
Bug: 18241209
Change-Id: I7fa29d92391b1c8ab74585008d6599fd7174cc61
2014-11-04 12:43:44 -08:00
Mike Lockwood
2155e0c83f Merge "Add BluetoothDevice field to BluetoothHeadsetClientCall" 2014-11-04 20:01:38 +00:00
Alan Viverette
12a72ada52 am 954f2567: am 3fff156e: am 18b055e1: Merge "Pass surface insets from window attributes rather than params" into lmp-mr1-dev
* commit '954f2567f90f1fa8b3d3d7d0c426ebd35494e182':
  Pass surface insets from window attributes rather than params
2014-11-04 19:45:08 +00:00
Alan Viverette
954f2567f9 am 3fff156e: am 18b055e1: Merge "Pass surface insets from window attributes rather than params" into lmp-mr1-dev
* commit '3fff156e13341b0bf818f83d2bb0e9404285dd0c':
  Pass surface insets from window attributes rather than params
2014-11-04 19:40:08 +00:00
Mike Lockwood
ddbfc9ada1 Add BluetoothDevice field to BluetoothHeadsetClientCall
Change-Id: I9bc70eb289fdfb64e315e3508ddeef1cb009cc54
2014-11-04 11:37:24 -08:00
Dan Stoza
2c34b5e813 Add a BufferItem parameter to onFrameAvailable
Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.

Bug: 18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
2014-11-04 11:36:33 -08:00