Dianne Hackborn
35f72be50b
Implement issue #10691359 : Kill long-running processes
...
We now have the activity manager kill long-running processes
during idle maintanence.
This involved adding some more information to the activity manager
about the current memory state, so that it could know if it really
should bother killing anything. While doing this, I also improved
how we determine when memory is getting low by better ignoring cases
where processes are going away for other reasons (such as now idle
maintenance). We now won't raise our memory state if either a process
is going away because we wanted it gone for another reason or the
total number of processes is not decreasing.
The idle maintanence killing also uses new per-process information
about whether the process has ever gone into the cached state since
the last idle maintenance, and the initial pss and current pss size
over its run time.
Change-Id: Iceaa7ffb2ad2015c33a64133a72a272b56dbad53
2013-09-16 14:05:34 -07:00
Yuhao Zheng
af672998af
Merge "Fix Settings app crash while enabling tethering" into klp-dev
2013-09-16 20:36:50 +00:00
Vinit Deshapnde
7354b834fc
Merge "Fix an NPE in WifiService" into klp-dev
2013-09-16 20:25:52 +00:00
Yuhao Zheng
8c461c6fc6
Fix Settings app crash while enabling tethering
...
While enabling Portable Wifi hotspot in Settings, a null WifiConfiguration
is provided. This null config is on purpose and meanful, and it should bypass
the validation test to avoid the NullPointerException.
Bug: 10780414
Change-Id: Ic507ecae463946c925b3d5fb5a1d185b37db410f
2013-09-16 13:24:04 -07:00
Igor Murashkin
26cb5fd5ff
Merge "media: Update ImageReader APIs" into klp-dev
2013-09-16 20:19:15 +00:00
Daniel Sandler
311daf2053
Merge "New platlogo for K." into klp-dev
2013-09-16 20:09:05 +00:00
Vinit Deshapnde
ffec332727
Fix an NPE in WifiService
...
The check to validate incoming configurations is flagging a correct
API usage as well - which doesn't provide any configuration to test.
Fixing code to accommodate this.
Bug: 10749041
Change-Id: I972f0edbdfa14aaa3edb34e4c6784b436c288383
2013-09-16 12:41:12 -07:00
Daniel Sandler
1656a346d9
Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev
2013-09-16 18:40:14 +00:00
Daniel Sandler
80c3c4e960
New platlogo for K.
...
Bug: 10605145
Change-Id: I23f285ec24118982b10f5d801b75925b9dc81c64
2013-09-16 14:40:03 -04:00
Daniel Sandler
9cb5445d26
Merge "Fix recent SystemUI dump crash." into klp-dev
2013-09-16 18:36:04 +00:00
Glenn Kasten
6b2b845948
Merge "Miscellaneous fixes to SoundPool unit test" into klp-dev
2013-09-16 18:24:13 +00:00
Glenn Kasten
36317eac4b
Merge "Stress test for AudioTrack shared memory bug" into klp-dev
2013-09-16 18:23:54 +00:00
Zhijun He
78a1de6519
Merge "Camera2: Add MAX_CAMERAS_IN_USE error case handling" into klp-dev
2013-09-16 18:21:17 +00:00
Joe Fernandez
e8311187c3
am da304484: am a1e59983: am 27ab2172: Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs
...
* commit 'da304484a14062703284596d50f33df28fe66cc4':
docs: SDK / ADT 22.2 Release Notes
2013-09-16 11:18:51 -07:00
Joe Fernandez
da304484a1
am a1e59983: am 27ab2172: Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs
...
* commit 'a1e59983ef6e1f6b0a1c8e65b439e80846f8b662':
docs: SDK / ADT 22.2 Release Notes
2013-09-16 11:15:37 -07:00
Joe Fernandez
f47b13d4be
am 7bacc72c: am 90bb0cf7: am 385179b2: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-docs
...
* commit '7bacc72c748249926ee0d4733d194ff712aacddb':
Update RenderScript docs to include Support Library APIs
2013-09-16 11:15:22 -07:00
Joe Fernandez
a1e59983ef
am 27ab2172: Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs
...
* commit '27ab217212a663e22133cdd2a72ef27bdf5f778c':
docs: SDK / ADT 22.2 Release Notes
2013-09-16 11:13:08 -07:00
Joe Fernandez
7bacc72c74
am 90bb0cf7: am 385179b2: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-docs
...
* commit '90bb0cf7680874a5332fd5f063b54e7f65ef2cea':
Update RenderScript docs to include Support Library APIs
2013-09-16 11:12:05 -07:00
Joe Fernandez
27ab217212
Merge "docs: SDK / ADT 22.2 Release Notes" into jb-mr2-docs
2013-09-16 18:10:55 +00:00
Joe Fernandez
90bb0cf768
am 385179b2: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-docs
...
* commit '385179b2811e95833066dfdb801e963e43229b97':
Update RenderScript docs to include Support Library APIs
2013-09-16 11:09:40 -07:00
Joe Fernandez
d3e7723a1e
am 2793a3b3: am d82b567c: am 881a4b82: Support Library 18.1 Release Notes
...
* commit '2793a3b3fdb24a1fe5f28076a6f8a5f17bc3b0c3':
Support Library 18.1 Release Notes
2013-09-16 11:08:47 -07:00
Joe Fernandez
385179b281
Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-docs
2013-09-16 18:07:19 +00:00
Joe Fernandez
2793a3b3fd
am d82b567c: am 881a4b82: Support Library 18.1 Release Notes
...
* commit 'd82b567c718dafdcd3477cb3da8f729bd64859cc':
Support Library 18.1 Release Notes
2013-09-16 11:06:33 -07:00
Chet Haase
978a455d66
Merge "Plug leaks in transitions" into klp-dev
2013-09-16 18:05:43 +00:00
Joe Fernandez
d82b567c71
am 881a4b82: Support Library 18.1 Release Notes
...
* commit '881a4b8235160884b9fc7aa9a6c6b13be5567aa4':
Support Library 18.1 Release Notes
2013-09-16 11:05:12 -07:00
John Spurlock
41c1e359c6
Fix recent SystemUI dump crash.
...
If only string format specification errors were compilation errors...
Bug:10781286
Change-Id: I2843a805f6bba35f9cddcbfe7e551d3f0248e789
2013-09-16 13:57:13 -04:00
Michael Jurka
1199a37a03
Merge "Catch ActivityNotFoundException in Recents" into klp-dev
2013-09-16 17:56:28 +00:00
Michael Jurka
4e85f46c1c
Catch ActivityNotFoundException in Recents
...
Bug: 8633151
2013-09-16 19:52:21 +02:00
Leon Scroggins III
b693ef60ef
Merge "Do not allocate so much memory on the stack." into klp-dev
2013-09-16 17:36:58 +00:00
Zhijun He
869f44cc32
Merge "ImageReader: get correct crop size" into klp-dev
2013-09-16 17:33:36 +00:00
Martijn Coenen
370b593c37
Merge "Rename FLAG_READER_NFC_KOVIO to FLAG_READER_NFC_BARCODE." into klp-dev
2013-09-16 17:31:40 +00:00
Joe Fernandez
fef978f389
am 9919088b: am c2260830: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-ub-dev
...
* commit '9919088b943f4fc7800d2c0307182f905bb248e4':
Update RenderScript docs to include Support Library APIs
2013-09-16 10:31:06 -07:00
Joe Fernandez
9919088b94
am c2260830: Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-ub-dev
...
* commit 'c2260830f092152067eac18634b5f4001bf13298':
Update RenderScript docs to include Support Library APIs
2013-09-16 10:29:06 -07:00
Joe Fernandez
881a4b8235
Support Library 18.1 Release Notes
...
adding release notes for v8 support library containing RenderScript
Change-Id: I12d48c26e6b99cacfb8f36750c3f1ce80da5ef23
(cherry picked from commit 75026c547fd00600572c9c4b471ecc9512ab1b17)
2013-09-16 17:28:26 +00:00
Joe Fernandez
0edad69ab4
Update RenderScript docs to include Support Library APIs
...
Added new section to explain how to access the Support Library
RenderScript APIs in Eclipse.
Change-Id: Ife6e25bcc7b91c39bb399d1ace624e106a3f38bc
(cherry picked from commit f82b04d4ecb9450afc8a3679e7178bfa4ca782b8)
2013-09-16 17:27:08 +00:00
Joe Fernandez
c2260830f0
Merge "Update RenderScript docs to include Support Library APIs" into jb-mr2-ub-dev
2013-09-16 17:26:31 +00:00
Joe Fernandez
095d2c61ed
am 4a8ade3b: am 1f7cee21: Merge "Support Library 18.1 Release Notes" into jb-mr2-ub-dev
...
* commit '4a8ade3b85b606c5d3c582bdc4eb06051bce7283':
Support Library 18.1 Release Notes
2013-09-16 10:21:14 -07:00
Joe Fernandez
4a8ade3b85
am 1f7cee21: Merge "Support Library 18.1 Release Notes" into jb-mr2-ub-dev
...
* commit '1f7cee21e1506c8476a926f0d37b747a825e9f4a':
Support Library 18.1 Release Notes
2013-09-16 10:19:27 -07:00
Joe Fernandez
1f7cee21e1
Merge "Support Library 18.1 Release Notes" into jb-mr2-ub-dev
2013-09-16 17:18:10 +00:00
Zhijun He
cfa553369f
ImageReader: get correct crop size
...
Bug: 10752797
Change-Id: I2e56d69cde7f5ca669a366646b876861b277a239
2013-09-16 09:49:28 -07:00
Daniel Sandler
3a6b61ffcd
New ADB icon for K.
...
Simple, to the point.
Bug: 10605145
Change-Id: Id33e06cc0ad9dba0f18cf2919adb3541ed5f0e3d
2013-09-16 12:15:12 -04:00
John Spurlock
6421aa061a
Merge "Fix glitch launching new windows from transparent launcher." into klp-dev
2013-09-16 15:56:15 +00:00
John Spurlock
eda1f69844
Fix glitch launching new windows from transparent launcher.
...
Part 1 of 2: Ignore remembered sysui visibility transparent flag
value when computing global content frame.
Since this fixes a visible window layout glitch, get this in asap.
Bug:10561554
Change-Id: Ia3fd69ee65eb3f34fb3a684b697c98e37fabc0b0
2013-09-16 11:38:44 -04:00
Daniel Sandler
28ed00d3b7
Merge "Fix RenderScript crash." into klp-dev
2013-09-16 15:26:50 +00:00
Daniel Sandler
a30b7035ce
Fix RenderScript crash.
...
Also lay the groundwork for a future checkin.
Bug: 10240151
Bug: 10505742
Change-Id: I62d61c9048188c93863c8c43839e713b75a65102
2013-09-16 11:19:15 -04:00
John Spurlock
a751d97e86
Merge "Fix layout glitch specific to quick-settings -> settings." into klp-dev
2013-09-16 13:20:49 +00:00
Jonathan Dixon
7c0e2122c0
Merge "Revert "Hide Experimental WebView from dev settings" DO NOT MERGE" into klp-dev
2013-09-16 03:32:09 +00:00
Jonathan Dixon
c39a9ca95d
Merge "Hide Experimental WebView from dev settings DO NOT MERGE" into klp-dev
2013-09-16 03:27:50 +00:00
Jonathan Dixon
dc1573595c
Revert "Hide Experimental WebView from dev settings" DO NOT MERGE
...
Bug 10769282
Reverting temporary patch required for factory rom.
This reverts commit 292fd0351be8f414cbe32a7eb322bd18158685d9.
2013-09-16 03:09:43 +00:00
Jonathan Dixon
3d458ab916
Hide Experimental WebView from dev settings DO NOT MERGE
...
Bug 10427705
The persist.webview system property is no longer needed, so removed too.
Change-Id: I99bbf2e9b9ec42f282339c72509fd99b18594ebf
2013-09-16 03:08:41 +00:00