155880 Commits

Author SHA1 Message Date
Dianne Hackborn
904313a65d am 34b11487: am 7631b257: Merge "A little more work on issue ##16907799." into lmp-dev
* commit '34b11487d16a060ec36599f289bb37235ada75d7':
  A little more work on issue ##16907799.
2014-09-15 00:52:45 +00:00
Dianne Hackborn
4c3a573e79 am 7631b257: Merge "A little more work on issue ##16907799." into lmp-dev
* commit '7631b257772e622b446b9c35112fe9ff0a596b17':
  A little more work on issue ##16907799.
2014-09-15 00:37:48 +00:00
Dianne Hackborn
95686694f7 Merge "A little more work on issue ##16907799." into lmp-dev 2014-09-15 00:27:00 +00:00
Dianne Hackborn
24c98e8cf8 A little more work on issue ##16907799.
I got distracted in the middle of it, and forget to finish
up with the test to not kill processes if they aren't using
an auto create binding.

Change-Id: Ieecfe97fa3208e50cb91ba94be2a8659d128b0de
2014-09-14 17:25:34 -07:00
Alan Viverette
14d639755e am 62b910c0: am 6ef642ca: Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev
* commit '62b910c008da3fbcf11f67340002aa14e1d297b0':
  Clean up view drawable tinting methods, fix default modes
2014-09-15 00:00:37 +00:00
Alan Viverette
b27e8ca24f am 6ef642ca: Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev
* commit '6ef642ca26e777c13c9a48665ed29e37e599736b':
  Clean up view drawable tinting methods, fix default modes
2014-09-14 23:44:58 +00:00
Alan Viverette
670288c252 Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev 2014-09-14 23:36:06 +00:00
Alan Viverette
57c5388c48 am 6b205498: am 1aa39ebf: Merge "Simplify progress bar paths" into lmp-dev
* commit '6b20549853d03f62f33c048049e148a250e6101f':
  Simplify progress bar paths
2014-09-14 23:21:14 +00:00
Adam Powell
35e752ef62 am 51bf4916: am 86a3adca: Merge "Magic null-background filling for PhoneWindows" into lmp-dev
* commit '51bf49165c01c6ee7386fcee35c17cf636a151cb':
  Magic null-background filling for PhoneWindows
2014-09-14 23:21:09 +00:00
Guang Zhu
46a00f16cd am 91081aa7: am 344a51ed: Merge "temporarily enable wifi verbose logging in download manager test" into lmp-dev
* commit '91081aa79f5075e38f9cf8f8dd6435d0148bbc96':
  temporarily enable wifi verbose logging in download manager test
2014-09-14 23:21:03 +00:00
Dianne Hackborn
cec6f37a7c am f29a8d99: am 601e63e8: Merge "Fix issue #16907799: Processes containing bound services..." into lmp-dev
* commit 'f29a8d99ce874490935113037fda887a8d3532eb':
  Fix issue #16907799: Processes containing bound services...
2014-09-14 23:20:55 +00:00
Alan Viverette
f392f78147 am 1aa39ebf: Merge "Simplify progress bar paths" into lmp-dev
* commit '1aa39ebf6739dffcd454417fcacd17868157111e':
  Simplify progress bar paths
2014-09-14 23:11:06 +00:00
Adam Powell
1c8c2e438c am 86a3adca: Merge "Magic null-background filling for PhoneWindows" into lmp-dev
* commit '86a3adcaf33128377c9125c92b65458a0500e023':
  Magic null-background filling for PhoneWindows
2014-09-14 23:11:01 +00:00
Guang Zhu
61f1ee0148 am 344a51ed: Merge "temporarily enable wifi verbose logging in download manager test" into lmp-dev
* commit '344a51ed5adec1c76b74cabe4c76e2a4766d90d3':
  temporarily enable wifi verbose logging in download manager test
2014-09-14 23:10:56 +00:00
Dianne Hackborn
8bef14c83c am 601e63e8: Merge "Fix issue #16907799: Processes containing bound services..." into lmp-dev
* commit '601e63e8b421db8e388cd0077e3dbad0cf144a0e':
  Fix issue #16907799: Processes containing bound services...
2014-09-14 23:10:36 +00:00
Alan Viverette
adabc55ab6 Merge "Simplify progress bar paths" into lmp-dev 2014-09-14 22:51:43 +00:00
Adam Powell
9dbe94d8cd Merge "Magic null-background filling for PhoneWindows" into lmp-dev 2014-09-14 22:51:29 +00:00
Alan Viverette
b56f5d2ab1 Clean up view drawable tinting methods, fix default modes
Calling setTint now only modifies the tint. It won't force a mode change.

BUG: 17494736
Change-Id: I91392634869ed23981d8e61a403bb2be42aa7a07
2014-09-14 15:48:50 -07:00
Adam Powell
f849a5e16d Magic null-background filling for PhoneWindows
In the past it's been a recommended approach to avoiding overdraw for
apps to set their window background to null at runtime if their
content view fully covers their window surface. The problem with this
is the IME.

The IME can force a resize of the window at unexpected times and
unless an app has been configured to fit system windows and manually
cover the padded area that the IME window covers, the asynchronous
nature of the IME-show process can leave surface buffer garbage
visible to the user. In previous platform versions this wasn't an
issue since pre-renderthread we would always animate a crossfade from
the closed to open state. This animation was always a bit of a hack
since it could break the contract of requestLayout/invalidate on the
view hierarchy - it could result in a draw happening into the saved
"before" state of the crossfade before a pending layout.

Now that this has been cleaned up the buffer garbage is sometimes
visible.

To prevent this, PhoneWindow now detects the state of a null window
background and draws solid rects into the area not covered by a
window's content. Which color is determined by the window context's
theme, though this is not a public API available to apps.

Bug 17006497

Change-Id: I714439a1608c4ae135f3d9d49bb165330d9fbe9f
2014-09-14 15:44:11 -07:00
Guang Zhu
ac60bea01f Merge "temporarily enable wifi verbose logging in download manager test" into lmp-dev 2014-09-14 22:35:30 +00:00
Guang Zhu
da7638db2e temporarily enable wifi verbose logging in download manager test
also temporarily compile against platfrom, not SDK, since we are
using private API

Bug: 17446070
Change-Id: I6da18aca2d5eaf305940514186ef2434e52f15b9
2014-09-14 15:33:49 -07:00
RoboErik
8b2cce544b am 92c2439c: am 4be289e8: Merge "Route volume commands whenever media stream is in use" into lmp-dev
* commit '92c2439ccbd3a07b1e9b80d25abf3a551218ad2a':
  Route volume commands whenever media stream is in use
2014-09-14 22:13:20 +00:00
Jorim Jaggi
e9f5e7901c am 82c09d6f: am 7dbbaf7e: Merge "Fix jank while unlocking and security is set" into lmp-dev
* commit '82c09d6f4c133c16bc2b74c485c3063d64b2b973':
  Fix jank while unlocking and security is set
2014-09-14 22:13:15 +00:00
Alan Viverette
e5a4345a08 Simplify progress bar paths
BUG: 17366831
Change-Id: I7efa215d399e4bf47b41949d313fba4487f068a0
2014-09-14 15:10:54 -07:00
Dianne Hackborn
f075330db4 Merge "Fix issue #16907799: Processes containing bound services..." into lmp-dev 2014-09-14 22:02:36 +00:00
Chet Haase
c148f7d008 am f2fdeb5f: am f9f4d316: Merge "set correct bounds in ActionBar based on visibility of ActionBarView" into lmp-dev
* commit 'f2fdeb5fe8770cfe09163a151a140f7ce59e6f0f':
  set correct bounds in ActionBar based on visibility of ActionBarView
2014-09-14 21:54:50 +00:00
RoboErik
74bc7de1ad am 4be289e8: Merge "Route volume commands whenever media stream is in use" into lmp-dev
* commit '4be289e84aba1fc5227fa518075fb8f2c60181ba':
  Route volume commands whenever media stream is in use
2014-09-14 21:54:35 +00:00
Jorim Jaggi
861da4e0ef am 7dbbaf7e: Merge "Fix jank while unlocking and security is set" into lmp-dev
* commit '7dbbaf7edb12a92aa119dc23fa705a3fb405668d':
  Fix jank while unlocking and security is set
2014-09-14 21:54:30 +00:00
RoboErik
d8c36a7b60 Merge "Route volume commands whenever media stream is in use" into lmp-dev 2014-09-14 21:45:03 +00:00
Jorim Jaggi
49b03451f9 Merge "Fix jank while unlocking and security is set" into lmp-dev 2014-09-14 21:40:15 +00:00
Chet Haase
c08f397624 am f9f4d316: Merge "set correct bounds in ActionBar based on visibility of ActionBarView" into lmp-dev
* commit 'f9f4d3161ed7be2365ba4f2b16d1c6571e725eb0':
  set correct bounds in ActionBar based on visibility of ActionBarView
2014-09-14 21:39:27 +00:00
Dianne Hackborn
465fa39635 Fix issue #16907799: Processes containing bound services...
...are killed over eagerly.

When the current foreground activity is moving to the background,
it was briefly going through the CACHED_ACTIVITY state before the
correct LAST_ACTIVITY state, allowing its bound service processes
to be killed (because they went in to the cached list).  To solve
this, as long as a process has stopping activities, it won't go
lower than LAST_ACTIVITY.

Also fixed a problem where we could put a process in CACHED_EMPTY
instead of CACHED_ACTIVITY_CLIENT.  There were a number of cases
in the binding flow and also the client process state transitions
where we would not correctly updateing the bound client activity
state.

And add some sanity code so that if a process hosting a
service is killed, and a client process of that service is in the
cached state, we kill the client process.  This avoids situations
where we can start thrashing around in the cached list because we
are restarting process for no reason -- since they will just
continue to be cached.

Finally, tune the process LRU list to allow twice as many cached
activity processes (from 8 to 16), so we can make better use of
the RAM we have available these days.

Change-Id: Ib0cdf78c321cbb035259fc9dd6ee27b5ba1f90c5
2014-09-14 14:32:45 -07:00
Chet Haase
4605b2929e Merge "set correct bounds in ActionBar based on visibility of ActionBarView" into lmp-dev 2014-09-14 21:30:21 +00:00
RoboErik
94c716ea29 Route volume commands whenever media stream is in use
Found a regression in volume handling. Previously we handled
volume commands as long as the media stream was active but we were only
handling them when there was an active session on L. This adds a check to
make sure we handle volume if anything is playing on the media stream.

bug:17498479
Change-Id: Iddd745c8a762cf7ebedb37f1b26fc934db01fba0
2014-09-14 21:16:51 +00:00
Chet Haase
ccd3da23c6 set correct bounds in ActionBar based on visibility of ActionBarView
ActionBarContainer was setting the bounds of its background assuming the
visibility of the ActionBarView. But that view becomes GONE when the
ActionBarContextView is visible, causing artifacts such as wrong shadows
when resized (as in custom configuration changes).

Issue #17280341 Quantum: drop shadow on CAB has wrong width after rotation on L, when configuration change is handled by the app

Change-Id: I07e57f00e27b41d5370cb9440b35734a8ec10f3a
2014-09-14 13:53:10 -07:00
Alan Viverette
4a7ac30043 am d2f58ac3: am 84670eef: Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev
* commit 'd2f58ac3e3e0b49f33b98bd9f99f7658fd18b9a6':
  Reduce instructions required to obtain and recycle TypedArray
2014-09-14 20:21:46 +00:00
Shawn Willden
b61ce7c402 am 4a1a3402: am eaabd9ac: Merge "Correct test data size in keystore signing and verification tests." into lmp-dev
* commit '4a1a340272c996056042ef181a83437f68da3029':
  Correct test data size in keystore signing and verification tests.
2014-09-14 20:21:42 +00:00
John Spurlock
b9e2fe1d4a am 1c1683a3: am 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev
* commit '1c1683a35a0267c03729fa36b930c3dc803aff7a':
  Saver: PowerManager call to set low power mode.
2014-09-14 20:09:39 +00:00
Alan Viverette
6b30763fe2 am 84670eef: Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev
* commit '84670eef1f2d685efc98644914d2bb191d0e665c':
  Reduce instructions required to obtain and recycle TypedArray
2014-09-14 20:06:44 +00:00
Shawn Willden
8d7380ad0b am eaabd9ac: Merge "Correct test data size in keystore signing and verification tests." into lmp-dev
* commit 'eaabd9ac2b3409d8eb6b6c49d2be6c89c70999f8':
  Correct test data size in keystore signing and verification tests.
2014-09-14 20:06:39 +00:00
Alan Viverette
c6a65dfbff Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev 2014-09-14 20:04:38 +00:00
Shawn Willden
9e3485533d Merge "Correct test data size in keystore signing and verification tests." into lmp-dev 2014-09-14 19:58:06 +00:00
John Spurlock
14fc72f814 am 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev
* commit '1ddb7a6b406f23c3b549aa6a771cec61c1778f3e':
  Saver: PowerManager call to set low power mode.
2014-09-14 19:51:00 +00:00
Ramanan Rajeswaran
917fd5f6a9 am ec3b810f: am 90756e97: Merge "Fix creation issue of stack trace dump directory" into lmp-dev
* commit 'ec3b810f4d5ca288ff16841693e148a7c6fbcd7c':
  Fix creation issue of stack trace dump directory
2014-09-14 19:43:16 +00:00
Ramanan Rajeswaran
c116f02a4a am 232d417a: am 2e9ca0aa: Merge "Fix crash in TranserPipe." into lmp-dev
* commit '232d417a5efc4029d4eebac04d003c73e5b4b65e':
  Fix crash in TranserPipe.
2014-09-14 19:43:11 +00:00
vandwalle
397b30b1bd am dfb82a24: am 35967d04: Merge "make wifi cellular params configurable" into lmp-dev
* commit 'dfb82a243b00ced8f093b54a9ed51c06ab11d7ac':
  make wifi cellular params configurable
2014-09-14 19:43:06 +00:00
John Spurlock
7ca1161e30 Merge "Saver: PowerManager call to set low power mode." into lmp-dev 2014-09-14 19:36:13 +00:00
Ramanan Rajeswaran
45aa575163 am 90756e97: Merge "Fix creation issue of stack trace dump directory" into lmp-dev
* commit '90756e972a152a70ab1a2f3bcfd9532ece1f2056':
  Fix creation issue of stack trace dump directory
2014-09-14 19:29:41 +00:00
Ramanan Rajeswaran
2a25027b18 am 2e9ca0aa: Merge "Fix crash in TranserPipe." into lmp-dev
* commit '2e9ca0aa3de6f8e6e6691125497248dd6940c5f1':
  Fix crash in TranserPipe.
2014-09-14 19:29:36 +00:00
vandwalle
1bcd0659b0 am 35967d04: Merge "make wifi cellular params configurable" into lmp-dev
* commit '35967d0432b587dd78774ccea993f497f8b9eeb6':
  make wifi cellular params configurable
2014-09-14 19:29:31 +00:00