Narayan Kamath
d198c3269a
am 53651b99: am ff45e7df: am 1d184ace: resolved conflicts for merge of 7377998d to lmp-mr1-dev
...
* commit '53651b9982f53236b767d766e85ec0ce3acc6f0f':
Be increasingly aggressive about fstrim if it isn't being run
2014-12-01 19:37:59 +00:00
Narayan Kamath
53651b9982
am ff45e7df: am 1d184ace: resolved conflicts for merge of 7377998d to lmp-mr1-dev
...
* commit 'ff45e7df8aae0f55ce719de92102c7d522b62048':
Be increasingly aggressive about fstrim if it isn't being run
2014-12-01 19:32:12 +00:00
Craig Mautner
8bbcd72c8b
am b97f7190: am fac55682: am 208bd91b: Merge "[ActivityManager] Avoid system server crash due to package removed"
...
* commit 'b97f719036b15c81aeb561ae0d2b4da68e7a06e8':
[ActivityManager] Avoid system server crash due to package removed
2014-12-01 05:33:32 +00:00
Craig Mautner
b97f719036
am fac55682: am 208bd91b: Merge "[ActivityManager] Avoid system server crash due to package removed"
...
* commit 'fac55682148e6d9c6b4e24769369e2b76ab018ac':
[ActivityManager] Avoid system server crash due to package removed
2014-12-01 05:26:47 +00:00
Craig Mautner
208bd91b24
Merge "[ActivityManager] Avoid system server crash due to package removed"
2014-12-01 00:11:52 +00:00
Narayan Kamath
24009c1b87
am f1459604: am ed2c9c60: am 10a36fb7: Merge "Stop using ErrorStrings for apache."
...
* commit 'f1459604392dc0416500e149f1bafa11139dcfcc':
Stop using ErrorStrings for apache.
2014-11-27 18:09:40 +00:00
Narayan Kamath
f145960439
am ed2c9c60: am 10a36fb7: Merge "Stop using ErrorStrings for apache."
...
* commit 'ed2c9c6029b18df9c25d6c98c909ac5f300d6ab1':
Stop using ErrorStrings for apache.
2014-11-27 18:03:15 +00:00
Narayan Kamath
f1a9b1bc24
Stop using ErrorStrings for apache.
...
These strings only ever end up in logcat (at best), so there's no
point having them translated. Also, rename the ErrorStrings class
and move it android.webkit where the last remaining caller lives.
(congrats webview people, this is now your mess to maintain.)
Change-Id: I04dae37c34191b26a69282970318c1b782af1edf
2014-11-27 17:23:41 +00:00
Ignacio Solla
03c76e2b55
Merge "[WebView] Remove fallback call to WebViewFactoryProvider no-arg constructor."
2014-11-27 15:28:01 +00:00
Narayan Kamath
0f4a1abc39
am d534645b: am bedb1378: am 8036d2ec: Merge "Delete general sounding "CharArrayBuffers" class."
...
* commit 'd534645bab608bbee1ec6e9e72d10b88c53c023f':
Delete general sounding "CharArrayBuffers" class.
2014-11-27 14:15:22 +00:00
Narayan Kamath
d534645bab
am bedb1378: am 8036d2ec: Merge "Delete general sounding "CharArrayBuffers" class."
...
* commit 'bedb13782a6beb5f15621915a7b68439c6649ced':
Delete general sounding "CharArrayBuffers" class.
2014-11-27 14:10:03 +00:00
Narayan Kamath
b8b6e1f8f1
am 5445d3de: am f0c22b0c: am 14e28134: Merge "Delete unused class from android.net.http."
...
* commit '5445d3de90fd28ba8e096a109a242615bb8222d3':
Delete unused class from android.net.http.
2014-11-27 14:01:23 +00:00
Narayan Kamath
5445d3de90
am f0c22b0c: am 14e28134: Merge "Delete unused class from android.net.http."
...
* commit 'f0c22b0c72c8fbd5ce507419adda0670871a07bf':
Delete unused class from android.net.http.
2014-11-27 13:55:02 +00:00
Narayan Kamath
0ea4e7b581
Delete general sounding "CharArrayBuffers" class.
...
Move the code to the only point of use. Preparatory work for
decoupling apache-http from the frameworks.
Change-Id: Ieee54bb725cbac19d0c7513867635df6fbcf2b49
2014-11-27 13:52:11 +00:00
Narayan Kamath
3ec2def9a3
Delete unused class from android.net.http.
...
Foundation for moving a lot of these classes out of the frameworks
and @removing these APIs.
Change-Id: I590cdd2867b923533de189ec956b4dd3f82efa46
2014-11-27 12:52:48 +00:00
Narayan Kamath
ff45e7df8a
am 1d184ace: resolved conflicts for merge of 7377998d to lmp-mr1-dev
...
* commit '1d184acefa7105592134edebf7de4d77843d5791':
Be increasingly aggressive about fstrim if it isn't being run
2014-11-27 10:09:46 +00:00
Narayan Kamath
1d184acefa
resolved conflicts for merge of 7377998d to lmp-mr1-dev
...
Change-Id: I21870e241de7d992e97d7b91e0058f85b5a25fbe
2014-11-27 09:57:35 +00:00
Eino-Ville Talvala
223661ec98
am 3eb27d25: am ec26692d: am 9b35b801: Merge "CameraManager: Separate service listener into a singleton" into lmp-mr1-dev
...
* commit '3eb27d253b609fdce8b6e0e9aa4662631d52a0ce':
CameraManager: Separate service listener into a singleton
2014-11-27 00:38:17 +00:00
Eino-Ville Talvala
3eb27d253b
am ec26692d: am 9b35b801: Merge "CameraManager: Separate service listener into a singleton" into lmp-mr1-dev
...
* commit 'ec26692d1f65cf04963d8412e3e3bdd0d42796ea':
CameraManager: Separate service listener into a singleton
2014-11-27 00:33:09 +00:00
Eino-Ville Talvala
ec26692d1f
am 9b35b801: Merge "CameraManager: Separate service listener into a singleton" into lmp-mr1-dev
...
* commit '9b35b801fb90e31c1dff5535715e505f3a1e26fb':
CameraManager: Separate service listener into a singleton
2014-11-27 00:27:36 +00:00
Eino-Ville Talvala
9b35b801fb
Merge "CameraManager: Separate service listener into a singleton" into lmp-mr1-dev
2014-11-27 00:23:42 +00:00
Eino-Ville Talvala
4c9c7a5883
CameraManager: Separate service listener into a singleton
...
Currently, every CameraManager instance adds itself as a camera service
listener, which has the unfortunate side effect of keeping them all alive
indefinitely.
This is doubly unfortunate since every CameraManager keeps the Context it
was constructed with, and therefore may be leaking whole Activities along
with the CameraManager itself.
Break out a global per-process CameraManager which handles service
connection keepalive and availability listeners, so that local camera
manager instances can go out of scope as expected.
Bug: 18077200
Change-Id: I1be5fb8d3492131e98bb4a84121400d4abb2b9e1
2014-11-26 13:58:15 -08:00
Jorim Jaggi
7d754e0ccb
am f1e6d231: am c5c2e537: Merge "resolved conflicts for merge of 803a6dc0 to lmp-mr1-ub-dev" into lmp-mr1-ub-dev
...
* commit 'f1e6d2315eea6e9f289b8c1bafc04a4cbc6f05e1':
Make IKeyguardService interface asynchronous
2014-11-26 19:42:19 +00:00
Alan Viverette
2346a299a4
am 7c28a968: am c8361ba7: am 0a310c99: Merge "Revert "Animates AbsSeekBar progress movement from key presses."" into lmp-mr1-dev
...
* commit '7c28a9682bfa2c5bbeee8b4a4c0576fea87eb9b0':
Revert "Animates AbsSeekBar progress movement from key presses."
2014-11-26 19:41:48 +00:00
Alan Viverette
a033bb9c73
am ed79856d: am 30c0d5b5: am 8a45126a: Merge "Load SPEAK_PASSWORD from currently active user rather than self" into lmp-mr1-dev
...
* commit 'ed79856db292044a15fe7d3c3227fb9ec808f070':
Load SPEAK_PASSWORD from currently active user rather than self
2014-11-26 19:41:43 +00:00
Jorim Jaggi
f1e6d2315e
am c5c2e537: Merge "resolved conflicts for merge of 803a6dc0 to lmp-mr1-ub-dev" into lmp-mr1-ub-dev
...
* commit 'c5c2e53779c2c2b6d889bdad5d11d47da9e72789':
Make IKeyguardService interface asynchronous
2014-11-26 18:43:47 +00:00
Alan Viverette
7c28a9682b
am c8361ba7: am 0a310c99: Merge "Revert "Animates AbsSeekBar progress movement from key presses."" into lmp-mr1-dev
...
* commit 'c8361ba78eac66c49d92ff4be36ef23889846ea9':
Revert "Animates AbsSeekBar progress movement from key presses."
2014-11-26 18:41:41 +00:00
Alan Viverette
ed79856db2
am 30c0d5b5: am 8a45126a: Merge "Load SPEAK_PASSWORD from currently active user rather than self" into lmp-mr1-dev
...
* commit '30c0d5b5eadecf5ba3c9ee536f153adc4c8c8723':
Load SPEAK_PASSWORD from currently active user rather than self
2014-11-26 18:41:35 +00:00
Jorim Jaggi
d9b91d0d49
resolved conflicts for merge of 803a6dc0 to lmp-mr1-ub-dev
...
Change-Id: I194616c947a3366911e932f4c7111097d3767db3
2014-11-26 15:17:14 +01:00
Jorim Jaggi
803a6dc080
Merge "Make IKeyguardService interface asynchronous" into lmp-mr1-dev
2014-11-26 14:07:21 +00:00
Paul Crowley
5ff0e5fb6b
am 0d122e26: am ba94fd5e: am 77e25331: Merge "Add flag for wiping factory reset protection data." into lmp-mr1-dev
...
* commit '0d122e265c52ef25dbad652378b3a5e51a86f041':
Add flag for wiping factory reset protection data.
2014-11-26 12:09:51 +00:00
Paul Crowley
0d122e265c
am ba94fd5e: am 77e25331: Merge "Add flag for wiping factory reset protection data." into lmp-mr1-dev
...
* commit 'ba94fd5e6c243c6256a1627a41aaab52a74747d6':
Add flag for wiping factory reset protection data.
2014-11-26 12:02:37 +00:00
Narayan Kamath
7377998dac
resolved conflicts for merge of a42f7c1d to lmp-sprout-dev
...
Change-Id: I8e53c9d7e0014b4ffc621c561b737aa2dae5460c
2014-11-26 10:39:08 +00:00
Alan Viverette
c8361ba78e
am 0a310c99: Merge "Revert "Animates AbsSeekBar progress movement from key presses."" into lmp-mr1-dev
...
* commit '0a310c99ee3217567f66578de2d2051e611d39aa':
Revert "Animates AbsSeekBar progress movement from key presses."
2014-11-26 00:56:47 +00:00
Alan Viverette
30c0d5b5ea
am 8a45126a: Merge "Load SPEAK_PASSWORD from currently active user rather than self" into lmp-mr1-dev
...
* commit '8a45126a2986fd408dec7c531ee1cadb690aaffd':
Load SPEAK_PASSWORD from currently active user rather than self
2014-11-26 00:56:43 +00:00
Alan Viverette
0a310c99ee
Merge "Revert "Animates AbsSeekBar progress movement from key presses."" into lmp-mr1-dev
2014-11-26 00:52:36 +00:00
Alan Viverette
8a45126a29
Merge "Load SPEAK_PASSWORD from currently active user rather than self" into lmp-mr1-dev
2014-11-26 00:52:20 +00:00
Alan Viverette
5ce0ec0efd
Revert "Animates AbsSeekBar progress movement from key presses."
...
Incorrect implementation that broke the Brightness dialog slider. Reverting
to the previous behavior.
This reverts commit c5c9d0af764f590ae0031b5470192a0a08ca42d1.
BUG: 18510040
Change-Id: I201b1da46be964fcf6f041bb92ef79c335c2d23d
2014-11-26 00:36:26 +00:00
Christopher Tate
7265abe77a
Be increasingly aggressive about fstrim if it isn't being run
...
The current heuristics depend on devices being alive at midnight+ in
order to run periodic background fstrim operations. This unfortunately
means that people who routinely turn their devices off overnight wind
up with their devices *never* running fstrim, and this causes major
performance and disk-life problems.
We now backstop this very-friendly schedule with an increasingly
aggressive one. If the device goes a defined time without a background
fstrim, we then force the fstrim at the next reboot. Once the
device hits the midnight+ idle fstrim request time, then we already
aggressively attempt to fstrim at the first available moment
thereafter, even if it's days/weeks later without a reboot.
'Available' here means charging + device idle. If the device never
becomes idle then we can't do much without rendering an in-use device
inoperable for some number of minutes -- but we have no evidence of
devices ever failing to run fstrim due to this usage pattern.
A new Settings.Global element (type 'long', called
"fstrim_mandatory_interval") is the source of the backstop time. If
this element is zero or negative, no mandatory boot-time fstrim will
ever be performed. If the element is not supplied on a given device,
the default backstop is 3 days.
Adds a new string to display in the upgrading dialog when doing
the fstrim. Note it is too late for this to be localized, but since
this operation can take a long time it is probably better to have
it show *something* even if not localized, rather than just sit there.
Bug 18486922
Change-Id: I5b265ca0a65570fb8931251aa1ac37b530635a2c
2014-11-25 16:35:06 -08:00
Alan Viverette
b6e0cb97b7
Load SPEAK_PASSWORD from currently active user rather than self
...
Also fixes a typo in UserHandle's docs.
BUG: 18295054
Change-Id: I1f5384f84062b9ea7dcbebe1e5f64af331028d41
2014-11-25 16:08:03 -08:00
Jim Miller
ab954546dc
Make IKeyguardService interface asynchronous
...
Add a state callback so lockscreen reports back whenever its state
relevant for PhoneWindowManager changed, instead of synchronously
calling into SysUI which can lead to deadlocks. Directly use
LockPatternUtils for isSecure, and optimize the number of calls to
this method to optimize layout performance.
Bug: 17677097
Change-Id: I5d491fc8884d4f84d9562626b9ea0d5eaa5166fc
2014-11-25 23:22:52 +01:00
Paul Crowley
ba94fd5e6c
am 77e25331: Merge "Add flag for wiping factory reset protection data." into lmp-mr1-dev
...
* commit '77e25331ca7ad1fb69fbe7fbec69179824e46e59':
Add flag for wiping factory reset protection data.
2014-11-25 21:18:30 +00:00
Paul Crowley
a7e87acb24
Add flag for wiping factory reset protection data.
...
Bug: 18366448
Change-Id: If8904888a6bf8611d34647e6d65d2347d824dbb3
2014-11-25 20:48:41 +00:00
Adam Lesinski
e1d149d5da
am 44a711cc: am 9f692b52: am 9be305d1: Merge "Make the Context service constant for UsageStats public" into lmp-mr1-dev
...
* commit '44a711ccac480aef4e8518284b8a0320e227f2df':
Make the Context service constant for UsageStats public
2014-11-25 18:50:57 +00:00
Alan Viverette
65be2b5037
am 11d33527: am 44c09f29: am 27fbf676: Merge "Update documentation for DatePicker to reflect the new mode" into lmp-mr1-dev
...
* commit '11d33527e8715f2f6b7317a6424bcb2001778d44':
Update documentation for DatePicker to reflect the new mode
2014-11-25 18:50:48 +00:00
Ruben Brunk
07053cb921
am 7eb6e0e3: am c02cdf00: am 8791a1e8: Merge "Camera2: Ignore unsupported face detection results in LEGACY." into lmp-mr1-dev
...
* commit '7eb6e0e3954bce374bc9ab7362005063174090b1':
Camera2: Ignore unsupported face detection results in LEGACY.
2014-11-25 18:50:38 +00:00
Erik Kline
08866fcfa5
Merge "Map TYPE_VPN integer to "VPN" string."
2014-11-25 18:46:37 +00:00
Adam Lesinski
44a711ccac
am 9f692b52: am 9be305d1: Merge "Make the Context service constant for UsageStats public" into lmp-mr1-dev
...
* commit '9f692b520255435903c8c1efb7b50f22a80505a5':
Make the Context service constant for UsageStats public
2014-11-25 18:44:31 +00:00
Alan Viverette
11d33527e8
am 44c09f29: am 27fbf676: Merge "Update documentation for DatePicker to reflect the new mode" into lmp-mr1-dev
...
* commit '44c09f2919d21296c0f020b954621c30d73eba20':
Update documentation for DatePicker to reflect the new mode
2014-11-25 18:44:20 +00:00
Ruben Brunk
7eb6e0e395
am c02cdf00: am 8791a1e8: Merge "Camera2: Ignore unsupported face detection results in LEGACY." into lmp-mr1-dev
...
* commit 'c02cdf00e51b9a7ec7b9c74ba7eeb3711ec52213':
Camera2: Ignore unsupported face detection results in LEGACY.
2014-11-25 18:43:51 +00:00