153301 Commits

Author SHA1 Message Date
Jorim Jaggi
459c3095d4 am 026a5154: Aggressive tuning of recents memory usage
* commit '026a51548b783713d5b47f3bae7f1ba998fee0c8':
  Aggressive tuning of recents memory usage
2014-09-15 09:26:08 +00:00
Jorim Jaggi
81e0c8491f Aggressive tuning of recents memory usage
Limit the thumbnail count to a maximum of 10 thumbnails and the app
icon count to a maximum of 20 thumbnails, instead of using a
byte-size based limit.

Also prune entries immediately when leaving recents.

Bug: 16513124
Change-Id: Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93
2014-09-15 10:56:35 +02:00
Baligh Uddin
d591b2ac8c am ad893340: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
* commit 'ad893340705e863e537167199b50696e989aa945':
  Import translations. DO NOT MERGE
2014-09-15 04:32:22 +00:00
Baligh Uddin
d776ffea75 am a52cb4fc: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
* commit 'a52cb4fc1694cbe77287862faf016463ed06a6f8':
  Import translations. DO NOT MERGE
2014-09-15 04:32:18 +00:00
Baligh Uddin
0e77f2409f am fc4dbeb9: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
* commit 'fc4dbeb9aecee5367afc55d7223c7b11f2ec2137':
  Import translations. DO NOT MERGE
2014-09-15 04:32:14 +00:00
Baligh Uddin
f3d0e47572 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:49 +00:00
Baligh Uddin
00bb3fe4a3 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:48 +00:00
Baligh Uddin
5dfa84f77f Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:44 +00:00
Baligh Uddin
0a8e7d1f31 Import translations. DO NOT MERGE
Change-Id: Ib73a5356d8804c8216be0ce59c84637ff609e81a
Auto-generated-cl: translation import
2014-09-14 21:05:55 -07:00
Baligh Uddin
5b5a4afc20 Import translations. DO NOT MERGE
Change-Id: Ie385c9b051b20bf52b7c0b266ca4c9147f7fbb90
Auto-generated-cl: translation import
2014-09-14 21:04:22 -07:00
Baligh Uddin
bbaf0bb630 Import translations. DO NOT MERGE
Change-Id: Ic6c7d7ca45834f3f0b73967347232991b5c31910
Auto-generated-cl: translation import
2014-09-14 21:02:30 -07:00
Baligh Uddin
2f0899a581 am 840f0f88: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
* commit '840f0f8810902a454dfc68497a5e3b1d65e2c80e':
  Import translations. DO NOT MERGE
2014-09-15 03:01:56 +00:00
Baligh Uddin
f056ef451e am 30729765: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
* commit '30729765f6ccce8a1e649a71cde2040246b86e8b':
  Import translations. DO NOT MERGE
2014-09-15 03:01:52 +00:00
Baligh Uddin
fd48090a25 am f07d95d6: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
* commit 'f07d95d663b0313818820108243bbab04596d825':
  Import translations. DO NOT MERGE
2014-09-15 03:01:48 +00:00
Baligh Uddin
b310039442 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 02:45:11 +00:00
Baligh Uddin
3471203196 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 02:45:00 +00:00
Baligh Uddin
b8810b04ba Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 02:44:57 +00:00
Jungshik Jang
65e6e76900 am d0d188e5: Merge "Remove unnecessary warning." into lmp-dev
* commit 'd0d188e5b4991aef62c99553d59ddcb3428021bb':
  Remove unnecessary warning.
2014-09-15 02:37:19 +00:00
Dan Sandler
7c948c02c9 am 3c7954e6: NavigationBarView: Fix NPE in Drawable.setVisible()
* commit '3c7954e6d6045c377a72b4d10f72602c84845b77':
  NavigationBarView: Fix NPE in Drawable.setVisible()
2014-09-15 02:37:14 +00:00
Jungshik Jang
2d02b20405 Merge "Remove unnecessary warning." into lmp-dev 2014-09-15 02:23:08 +00:00
Baligh Uddin
b3c8598174 Import translations. DO NOT MERGE
Change-Id: I57bb85dcb94f83e095e07ee4956d786849284688
Auto-generated-cl: translation import
2014-09-14 19:17:12 -07:00
Baligh Uddin
3e8ce3bb33 Import translations. DO NOT MERGE
Change-Id: Idb536e9edfaee903119b8d84188d013e045f5fba
Auto-generated-cl: translation import
2014-09-14 19:12:57 -07:00
Baligh Uddin
0fc76f0755 Import translations. DO NOT MERGE
Change-Id: Ifb234cb1ae0c96f393e3b203488f61467d97c267
Auto-generated-cl: translation import
2014-09-14 19:11:15 -07:00
Dan Sandler
8cd9e2db31 NavigationBarView: Fix NPE in Drawable.setVisible()
Bug: 17495735
Change-Id: I9d5ed5a324ae5c08ea0c225104c41b44462aff22
2014-09-14 21:25:08 -04:00
Prem Kumar
207283ad0d am a203fbc8: Merge "Allow creating EAP_TLS network without specifying Phase2.None" into lmp-dev
* commit 'a203fbc87ae41547afb9dbdd06dd41221ed75c26':
  Allow creating EAP_TLS network without specifying Phase2.None
2014-09-15 01:01:34 +00:00
Jungshik Jang
6b096d349b Remove unnecessary warning.
Bug: 17501260

Change-Id: I5e7edd6d1fc179c00306d745adc99bebdcb65316
2014-09-15 09:54:47 +09:00
Prem Kumar
97a0c45cf8 Merge "Allow creating EAP_TLS network without specifying Phase2.None" into lmp-dev 2014-09-15 00:51:13 +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
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
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
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
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