OSDN Git Service

android-x86/frameworks-base.git
7 years agoStop preloading EGL/GLES in Zygote
Jesse Hall [Mon, 12 Dec 2016 05:22:16 +0000 (21:22 -0800)]
Stop preloading EGL/GLES in Zygote

It's not clear this actually makes much difference on modern
devices/drivers. With updatable graphics drivers, we'd have to be able
to unload the preloaded driver from processes that don't use the
system driver, which is additional complexity and risk.

On bullhead and sailfish, meminfo actually showed slightly more memory
available while sitting at launcher just after boot with this change
than previously. Looking at detailed stats, the differences appeared
to mostly within run-to-run variation, but there wasn't evidence of a
regression.

Bug: 33531483
Test: boot through lockscreen/launcher
Change-Id: I1892302c1750cdbeaf5b9979f8da4dc6bd7b3e75

7 years agoMerge changes from topic 'vrmode'
Zak Cohen [Fri, 13 Jan 2017 23:14:57 +0000 (23:14 +0000)]
Merge changes from topic 'vrmode'

* changes:
  Set ui mode in UiModeManagerService to vrheadset when VR mode is enabled.
  Introduce new UI_MODE_TYPE_VR_HEADSET and qualifier.

7 years agoMerge "move PreferenceController into settingLib/core"
Roger Xue [Fri, 13 Jan 2017 21:59:13 +0000 (21:59 +0000)]
Merge "move PreferenceController into settingLib/core"

7 years agoMerge changes from topic 'am-72bbc108e9a84456ab88db3270cbb4e9' into nyc-mr2-dev-plus...
Philip P. Moltmann [Fri, 13 Jan 2017 21:45:55 +0000 (21:45 +0000)]
Merge changes from topic 'am-72bbc108e9a84456ab88db3270cbb4e9' into nyc-mr2-dev-plus-aosp
am: 7dfd0b9843

Change-Id: I8a7ab11326864e25a993c4e4daecc3c280adf1a2

7 years agoDo not write if apply() did not change the file. am: 1f99f81bdc am: 331a4bb8d4 am...
Philip P. Moltmann [Fri, 13 Jan 2017 21:45:49 +0000 (21:45 +0000)]
Do not write if apply() did not change the file. am: 1f99f81bdc am: 331a4bb8d4 am: 0dfa7b58b8
am: af5875d1be

Change-Id: Ia85f754316e9f003dfffdfb17efa8622d49068f2

7 years agoOnly persist last Shared Preferences state am: d15c4f1da5 am: 889a420a9e -s ours...
Philip P. Moltmann [Fri, 13 Jan 2017 21:44:50 +0000 (21:44 +0000)]
Only persist last Shared Preferences state am: d15c4f1da5 am: 889a420a9e  -s ours am: 2288ee6b01
am: 44ee186c79

Change-Id: I81498bb620cd0a2c3bfac8654d5536ed38ba4d4b

7 years agoMerge "Add java.time APIs." am: 0938b22c0a am: d05e19954b am: 88002e8e38
Joachim Sauer [Fri, 13 Jan 2017 21:41:52 +0000 (21:41 +0000)]
Merge "Add java.time APIs." am: 0938b22c0a am: d05e19954b am: 88002e8e38
am: b26cc7f971

Change-Id: Ib52d788a1787fa3689c14135673de044e2a7c989

7 years agoMerge "Move explicit mobile request handling into UpstreamNetworkMonitor" am: caf62d3...
Erik Kline [Fri, 13 Jan 2017 21:40:47 +0000 (21:40 +0000)]
Merge "Move explicit mobile request handling into UpstreamNetworkMonitor" am: caf62d305e am: a94e66868c am: 21a148550d
am: c8c42637d9

Change-Id: Ia6a834e00d3f681dd7558d096f157f1c8f279bea

7 years agoMove explicit mobile request handling into UpstreamNetworkMonitor am: fdd4111ef6...
Erik Kline [Fri, 13 Jan 2017 21:39:45 +0000 (21:39 +0000)]
Move explicit mobile request handling into UpstreamNetworkMonitor am: fdd4111ef6 am: 7340e272c3 am: ca6d265bbe
am: 930ff60ca8

Change-Id: I307f0c83c09dd5962bd4b6e929083aff9f6f6f05

7 years agoMerge "Default Carrier app for traffic mitigation" am: 4533b1ccdd am: 1d0877f59e...
Chen Xu [Fri, 13 Jan 2017 21:38:45 +0000 (21:38 +0000)]
Merge "Default Carrier app for traffic mitigation" am: 4533b1ccdd am: 1d0877f59e am: c90dc2072c
am: 10839091d9

Change-Id: I2a09577e0912c1d6ff324f0471b4a2012656749a

7 years agoDo not write if apply() did not change the file. am: 1f99f81bdc am: 331a4bb8d4 am...
Philip P. Moltmann [Fri, 13 Jan 2017 21:37:36 +0000 (21:37 +0000)]
Do not write if apply() did not change the file. am: 1f99f81bdc am: 331a4bb8d4 am: 764a7901e6
am: 1156bf1dc1

Change-Id: I4559bb240589f523ab035c42b09be2bf17fbe599

7 years agoOnly persist last Shared Preferences state am: d15c4f1da5 am: 889a420a9e am: 0aa51388...
Philip P. Moltmann [Fri, 13 Jan 2017 21:36:33 +0000 (21:36 +0000)]
Only persist last Shared Preferences state am: d15c4f1da5 am: 889a420a9e am: 0aa5138861  -s ours
am: 6a1dcd17e4

Change-Id: Iffc426e95d47559bf1a01e0cf4b9c5c0f160d33b

7 years agoMerge "Add support for carrier demo mode" into nyc-mr2-dev am: 482ba6b831
Justin Klaassen [Fri, 13 Jan 2017 21:34:59 +0000 (21:34 +0000)]
Merge "Add support for carrier demo mode" into nyc-mr2-dev am: 482ba6b831
am: 84d0b9ea6b

Change-Id: I52df2e1fd79db3b324406215c4d6b32dc832f2cd

7 years agoAdd support for carrier demo mode am: b632c55469
Justin Klaassen [Fri, 13 Jan 2017 21:33:45 +0000 (21:33 +0000)]
Add support for carrier demo mode am: b632c55469
am: b4be8c8df1  -s ours

Change-Id: Ief253b88502ec5bd2092e4d20956a3098202cec6

7 years agoMerge "Expose SurfaceControl method to screenshot to GraphicBuffer."
Rob Carr [Fri, 13 Jan 2017 21:29:07 +0000 (21:29 +0000)]
Merge "Expose SurfaceControl method to screenshot to GraphicBuffer."

7 years agoMerge changes from topic 'am-72bbc108e9a84456ab88db3270cbb4e9' into nyc-mr2-dev-plus...
Android Build Merger (Role) [Fri, 13 Jan 2017 21:23:07 +0000 (21:23 +0000)]
Merge changes from topic 'am-72bbc108e9a84456ab88db3270cbb4e9' into nyc-mr2-dev-plus-aosp

* changes:
  Do not write if apply() did not change the file. am: 1f99f81bdc am: 331a4bb8d4 am: 0dfa7b58b8
  Only persist last Shared Preferences state am: d15c4f1da5 am: 889a420a9e  -s ours am: 2288ee6b01

7 years agoDo not write if apply() did not change the file. am: 1f99f81bdc am: 331a4bb8d4
Philip P. Moltmann [Fri, 13 Jan 2017 21:22:16 +0000 (21:22 +0000)]
Do not write if apply() did not change the file. am: 1f99f81bdc am: 331a4bb8d4
am: 0dfa7b58b8

Change-Id: I64d9e83dbabdf1f3f3574cea135488cb86d4a2c1

7 years agoOnly persist last Shared Preferences state am: d15c4f1da5 am: 889a420a9e -s ours
Philip P. Moltmann [Fri, 13 Jan 2017 21:21:11 +0000 (21:21 +0000)]
Only persist last Shared Preferences state am: d15c4f1da5 am: 889a420a9e  -s ours
am: 2288ee6b01

Change-Id: Idcd4200ad47c5fd7d007b2a717941cec5db08595

7 years agoMerge "Add java.time APIs." am: 0938b22c0a am: d05e19954b
Joachim Sauer [Fri, 13 Jan 2017 21:19:56 +0000 (21:19 +0000)]
Merge "Add java.time APIs." am: 0938b22c0a am: d05e19954b
am: 88002e8e38

Change-Id: I82a83e52e96bff1b43ca8bca7afe9b32877c3ecb

7 years agoMerge "Move explicit mobile request handling into UpstreamNetworkMonitor" am: caf62d3...
Erik Kline [Fri, 13 Jan 2017 21:17:39 +0000 (21:17 +0000)]
Merge "Move explicit mobile request handling into UpstreamNetworkMonitor" am: caf62d305e am: a94e66868c
am: 21a148550d

Change-Id: I04b03ff7cee505e8322320ec3d0ee10e6dbf2b09

7 years agoMove explicit mobile request handling into UpstreamNetworkMonitor am: fdd4111ef6...
Erik Kline [Fri, 13 Jan 2017 21:16:46 +0000 (21:16 +0000)]
Move explicit mobile request handling into UpstreamNetworkMonitor am: fdd4111ef6 am: 7340e272c3
am: ca6d265bbe

Change-Id: Ia761aeaa897538666cc690aac61092f38bb9b425

7 years agoMerge "Default Carrier app for traffic mitigation" am: 4533b1ccdd am: 1d0877f59e
Chen Xu [Fri, 13 Jan 2017 21:15:55 +0000 (21:15 +0000)]
Merge "Default Carrier app for traffic mitigation" am: 4533b1ccdd am: 1d0877f59e
am: c90dc2072c

Change-Id: Ie694f05799bfeb123c7d12477855237444dff415

7 years agoDo not write if apply() did not change the file. am: 1f99f81bdc
Philip P. Moltmann [Fri, 13 Jan 2017 21:15:18 +0000 (21:15 +0000)]
Do not write if apply() did not change the file. am: 1f99f81bdc
am: 331a4bb8d4

Change-Id: If200192c12477a4410b0b358e6c7b430c23d1499

7 years agoDo not write if apply() did not change the file. am: 1f99f81bdc am: 331a4bb8d4
Philip P. Moltmann [Fri, 13 Jan 2017 21:14:41 +0000 (21:14 +0000)]
Do not write if apply() did not change the file. am: 1f99f81bdc am: 331a4bb8d4
am: 764a7901e6

Change-Id: I845318f60eadb6c31f9795024cf10df33a15dc20

7 years agoOnly persist last Shared Preferences state am: d15c4f1da5
Philip P. Moltmann [Fri, 13 Jan 2017 21:14:17 +0000 (21:14 +0000)]
Only persist last Shared Preferences state am: d15c4f1da5
am: 889a420a9e  -s ours

Change-Id: I1e440bdfc8d12f30eb6db95b365c15b66479d95d

7 years agoOnly persist last Shared Preferences state am: d15c4f1da5 am: 889a420a9e
Philip P. Moltmann [Fri, 13 Jan 2017 21:13:46 +0000 (21:13 +0000)]
Only persist last Shared Preferences state am: d15c4f1da5 am: 889a420a9e
am: 0aa5138861  -s ours

Change-Id: Ide515ec901a5a85c3ef04bc6cff172464144877d

7 years agoMerge "Add support for carrier demo mode" into nyc-mr2-dev
Justin Klaassen [Fri, 13 Jan 2017 21:04:55 +0000 (21:04 +0000)]
Merge "Add support for carrier demo mode" into nyc-mr2-dev
am: 482ba6b831

Change-Id: If0368c791ec1d866fc46bd781a5adb4c1bc14186

7 years agoAdd support for carrier demo mode
Justin Klaassen [Fri, 13 Jan 2017 21:04:31 +0000 (21:04 +0000)]
Add support for carrier demo mode
am: b632c55469

Change-Id: Ib8061ae05e5144a79921123ba6dfdaec81baaece

7 years agoMerge "DO NOT MERGE: Fix to maintain the Carrier Network connection." into nyc-mr2...
Pankaj Kanwar [Fri, 13 Jan 2017 21:03:17 +0000 (21:03 +0000)]
Merge "DO NOT MERGE: Fix to maintain the Carrier Network connection." into nyc-mr2-dev am: ae9e15fa44
am: 074a166e28  -s ours

Change-Id: I2cc7c861011387e70557fdf110470db7a125bcd2

7 years agoDO NOT MERGE: Fix to maintain the Carrier Network connection. am: e45b50293e
pkanwar [Fri, 13 Jan 2017 21:02:08 +0000 (21:02 +0000)]
DO NOT MERGE: Fix to maintain the Carrier Network connection. am: e45b50293e
am: 07998e8e26  -s ours

Change-Id: I5fb03b65175cbfc8992ca72309d5de766bdf3ae9

7 years agoMerge "Add support for carrier demo mode" into nyc-mr2-dev
Justin Klaassen [Fri, 13 Jan 2017 21:00:06 +0000 (21:00 +0000)]
Merge "Add support for carrier demo mode" into nyc-mr2-dev

7 years agoMerge "DO NOT MERGE: Fix to maintain the Carrier Network connection." into nyc-mr2-dev
Pankaj Kanwar [Fri, 13 Jan 2017 20:58:15 +0000 (20:58 +0000)]
Merge "DO NOT MERGE: Fix to maintain the Carrier Network connection." into nyc-mr2-dev
am: ae9e15fa44

Change-Id: I33fff8bcc19daa149f1ad41b3f3cf94281f81ec4

7 years agoDO NOT MERGE: Fix to maintain the Carrier Network connection.
pkanwar [Fri, 13 Jan 2017 20:58:09 +0000 (20:58 +0000)]
DO NOT MERGE: Fix to maintain the Carrier Network connection.
am: e45b50293e

Change-Id: I6a48b308cd461097a195a073249cde096cc74886

7 years agoMerge "DO NOT MERGE: Fix to maintain the Carrier Network connection." into nyc-mr2-dev
Pankaj Kanwar [Fri, 13 Jan 2017 20:45:59 +0000 (20:45 +0000)]
Merge "DO NOT MERGE: Fix to maintain the Carrier Network connection." into nyc-mr2-dev

7 years agoMerge "Add logging for high temp warning." into nyc-mr2-dev am: 409d93356c
Andrew Sapperstein [Fri, 13 Jan 2017 20:33:36 +0000 (20:33 +0000)]
Merge "Add logging for high temp warning." into nyc-mr2-dev am: 409d93356c
am: ace5aea996

Change-Id: Ie91752bfa32fa7b2b155bec84a985ad520f00844

7 years agoAdd logging for high temp warning. am: 6c08f8da09
Andrew Sapperstein [Fri, 13 Jan 2017 20:32:41 +0000 (20:32 +0000)]
Add logging for high temp warning. am: 6c08f8da09
am: 990826a0a1

Change-Id: Ife42afb4b41fe3f733f6f8b23d56d977e6edb7d7

7 years agoMerge "Add logging for high temp warning." into nyc-mr2-dev
Andrew Sapperstein [Fri, 13 Jan 2017 20:28:40 +0000 (20:28 +0000)]
Merge "Add logging for high temp warning." into nyc-mr2-dev
am: 409d93356c

Change-Id: I83cef78c03fbbbe1e8e66f2215ca9d7be2095047

7 years agoAdd logging for high temp warning.
Andrew Sapperstein [Fri, 13 Jan 2017 20:28:35 +0000 (20:28 +0000)]
Add logging for high temp warning.
am: 6c08f8da09

Change-Id: Id567e12b8eb6b85ab49ace003c03b80759073687

7 years agoMerge "Add logging for high temp warning." into nyc-mr2-dev
TreeHugger Robot [Fri, 13 Jan 2017 20:24:47 +0000 (20:24 +0000)]
Merge "Add logging for high temp warning." into nyc-mr2-dev

7 years agoMerge "Add additional guards to ensure input consumer is re-registered."
TreeHugger Robot [Fri, 13 Jan 2017 20:21:30 +0000 (20:21 +0000)]
Merge "Add additional guards to ensure input consumer is re-registered."

7 years agoMerge "Move all time ticks to bg handlers, and post"
TreeHugger Robot [Fri, 13 Jan 2017 20:11:09 +0000 (20:11 +0000)]
Merge "Move all time ticks to bg handlers, and post"

7 years agoMerge "Fix ScoredNetwork: unparcel bundle in toString."
TreeHugger Robot [Fri, 13 Jan 2017 20:06:28 +0000 (20:06 +0000)]
Merge "Fix ScoredNetwork: unparcel bundle in toString."

7 years agoMerge "DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientat...
Manu Cornet [Fri, 13 Jan 2017 20:05:55 +0000 (20:05 +0000)]
Merge "DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations" into nyc-mr2-dev am: a4d01c8573
am: 07ed38cddc  -s ours

Change-Id: I0079cab21d15736c991bf9d92649e5cd95f13e7c

7 years agoDO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations...
Manu Cornet [Fri, 13 Jan 2017 20:05:04 +0000 (20:05 +0000)]
DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations am: 569cbecd92
am: 548ff6209c  -s ours

Change-Id: Ie8fd34cdf1eab78be4e6412d6656d3e5360096d5

7 years agoMerge "DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientat...
Manu Cornet [Fri, 13 Jan 2017 19:58:42 +0000 (19:58 +0000)]
Merge "DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations" into nyc-mr2-dev
am: a4d01c8573

Change-Id: I240109d6f400bc29e398b2cf07b238b9b17713f3

7 years agoDO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations
Manu Cornet [Fri, 13 Jan 2017 19:58:35 +0000 (19:58 +0000)]
DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations
am: 569cbecd92

Change-Id: I4da39588dd8ba6f750cbedbe3abb9ebce1dd8080

7 years agoMerge "DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientat...
TreeHugger Robot [Fri, 13 Jan 2017 19:54:18 +0000 (19:54 +0000)]
Merge "DO NOT MERGE - 2D Recents: Make sure thumbnail fills task view in all orientations" into nyc-mr2-dev

7 years agoMerge "Fix a near instant stats permission check false negative."
TreeHugger Robot [Fri, 13 Jan 2017 19:36:44 +0000 (19:36 +0000)]
Merge "Fix a near instant stats permission check false negative."

7 years agoMerge "Refactor LockSettingsService to unify the handling of pattern and password"
TreeHugger Robot [Fri, 13 Jan 2017 19:30:46 +0000 (19:30 +0000)]
Merge "Refactor LockSettingsService to unify the handling of pattern and password"

7 years agoMerge "Initialize the Installer in the StorageStatsService."
TreeHugger Robot [Fri, 13 Jan 2017 19:27:43 +0000 (19:27 +0000)]
Merge "Initialize the Installer in the StorageStatsService."

7 years agomove PreferenceController into settingLib/core
roger xue [Mon, 19 Dec 2016 20:39:44 +0000 (12:39 -0800)]
move PreferenceController into settingLib/core

Test: moved
Change-Id: I9adde03ac7790dc0eacc2f58be3c2af0c9c58900

7 years agoMove all time ticks to bg handlers, and post
Jason Monk [Wed, 11 Jan 2017 19:32:58 +0000 (14:32 -0500)]
Move all time ticks to bg handlers, and post

This will hopefully avoid blaming sysui for ANRs when the system
is hosed.

Test: Manual, build, push, wait for time to change
Change-Id: I1661ac1a997ad8917b449dd175229d8b77f583c9

7 years agoAdd additional guards to ensure input consumer is re-registered.
Winson Chung [Fri, 13 Jan 2017 18:21:33 +0000 (10:21 -0800)]
Add additional guards to ensure input consumer is re-registered.

- Also removing some old code related to menu start, which is already
  called when the menu is shown.

Bug: 34240533
Test: Open PIP, ensure that you can drag it after the menu fades out.
Change-Id: Ia16b405f8507f5c3d81fdf4f1049ce9359298672

7 years agoMerge "Adds tests for b/34095835."
Kang Li [Fri, 13 Jan 2017 18:15:22 +0000 (18:15 +0000)]
Merge "Adds tests for b/34095835."

7 years agoMerge "Only test the empty state in the right test."
Hakan Seyalioglu [Fri, 13 Jan 2017 18:12:42 +0000 (18:12 +0000)]
Merge "Only test the empty state in the right test."

7 years agoMerge "Add an uncalibrated acclerometer sensor type."
Ashutosh Joshi [Fri, 13 Jan 2017 17:47:30 +0000 (17:47 +0000)]
Merge "Add an uncalibrated acclerometer sensor type."

7 years agoMerge "Add EGL_RECORDABLE_ANDROID enum in EGLExt"
Kalle Raita [Fri, 13 Jan 2017 17:39:07 +0000 (17:39 +0000)]
Merge "Add EGL_RECORDABLE_ANDROID enum in EGLExt"

7 years agoAdd support for carrier demo mode
Justin Klaassen [Wed, 11 Jan 2017 23:54:17 +0000 (15:54 -0800)]
Add support for carrier demo mode

Fixes: 33746309
Test: manually verified carrier demo mode and normal demo mode are setup
correctly

Change-Id: Ia38790599f672a9d1999274276156b5328c9f75a

7 years agoAdds tests for b/34095835.
Kang Li [Fri, 6 Jan 2017 01:30:06 +0000 (17:30 -0800)]
Adds tests for b/34095835.

Bug: 34095835

Test: reproduced the bug in b/34095835 to ensure that it is covered by
the test. Manually ran the tests.

Change-Id: I28a887341906dc443e1a854ddba51cd1b4daeead

7 years agoMerge "AutoSize TextView (part 6) - introduce autoSizeMaxTextSize"
Andrei Stingaceanu [Fri, 13 Jan 2017 14:12:37 +0000 (14:12 +0000)]
Merge "AutoSize TextView (part 6) - introduce autoSizeMaxTextSize"

7 years agoMerge "Fix bad merge"
TreeHugger Robot [Fri, 13 Jan 2017 13:28:49 +0000 (13:28 +0000)]
Merge "Fix bad merge"

7 years agoFix bad merge
Jorim Jaggi [Fri, 13 Jan 2017 12:00:42 +0000 (13:00 +0100)]
Fix bad merge

Test: Boot device, hope for the best
Change-Id: I0231874a5f4d7cc8b49cc6f978c17c1af6fa93be
Fixes: 34227241

7 years agoAutoSize TextView (part 6) - introduce autoSizeMaxTextSize
Andrei Stingaceanu [Wed, 14 Dec 2016 17:38:19 +0000 (17:38 +0000)]
AutoSize TextView (part 6) - introduce autoSizeMaxTextSize

Using textSize as maxTextSize for autosizing is buggy and
unclean. Introduce and use new autoSizeMaxTextSize attribute for
TextView.

Also while doing this optimized the auto-size process by removing
unnecessary computations:

1. If auto-size is enabled than setTextSize(...) is no-op.
2. After setting the text size internally and from the auto-size
context onMeasure() will stop doing another round of redundant
measurements..

Bug: 33449596
Bug: 32221168
Test: atttached in the same topic
Change-Id: Ieecaea6df0aebb4c182bdd1114e3c6fc5066bed1

7 years agoMerge "Save password metrics on non-FBE devices."
Andrew Scull [Fri, 13 Jan 2017 11:49:17 +0000 (11:49 +0000)]
Merge "Save password metrics on non-FBE devices."

7 years agoMerge "Remove dependence on SkTRegistry"
TreeHugger Robot [Fri, 13 Jan 2017 11:44:31 +0000 (11:44 +0000)]
Merge "Remove dependence on SkTRegistry"

7 years agoMerge "Add java.time APIs." am: 0938b22c0a
Joachim Sauer [Fri, 13 Jan 2017 10:34:55 +0000 (10:34 +0000)]
Merge "Add java.time APIs." am: 0938b22c0a
am: d05e19954b

Change-Id: I08e6eedff692aa2be86224ffb1869e7a57182db5

7 years agoMerge "Add java.time APIs."
Joachim Sauer [Fri, 13 Jan 2017 10:27:05 +0000 (10:27 +0000)]
Merge "Add java.time APIs."
am: 0938b22c0a

Change-Id: Ie1169d1af12228ac63f43efdf7f18e7dcb705bee

7 years agoMerge "Add java.time APIs."
Joachim Sauer [Fri, 13 Jan 2017 10:18:18 +0000 (10:18 +0000)]
Merge "Add java.time APIs."

7 years agoMerge "[DPM] Improvements to the network logs batch finalization mechanism" into...
Michal Karpinski [Fri, 13 Jan 2017 09:58:11 +0000 (09:58 +0000)]
Merge "[DPM] Improvements to the network logs batch finalization mechanism" into nyc-mr2-dev am: 54b7388163
am: 3f0307c050

Change-Id: I6ac0f419c6dc2f5ffe03181b15d865930731d07d

7 years ago[DPM] Improvements to the network logs batch finalization mechanism am: 4da4a5d0c8
Michal Karpinski [Fri, 13 Jan 2017 09:56:58 +0000 (09:56 +0000)]
[DPM] Improvements to the network logs batch finalization mechanism am: 4da4a5d0c8
am: f27cc410dd

Change-Id: I2762db1be4849841089e43c0adb2868bce3d9551

7 years agoMerge "[DPM] Improvements to the network logs batch finalization mechanism" into...
Michal Karpinski [Fri, 13 Jan 2017 09:51:32 +0000 (09:51 +0000)]
Merge "[DPM] Improvements to the network logs batch finalization mechanism" into nyc-mr2-dev
am: 54b7388163

Change-Id: Ie5adab88fba61adc5b47ab3cd91bcb4dcade09cd

7 years ago[DPM] Improvements to the network logs batch finalization mechanism
Michal Karpinski [Fri, 13 Jan 2017 09:51:27 +0000 (09:51 +0000)]
[DPM] Improvements to the network logs batch finalization mechanism
am: 4da4a5d0c8

Change-Id: I6318392173aeb2653734537569d03158799a099c

7 years agoMerge "[DPM] Improvements to the network logs batch finalization mechanism" into...
Michal Karpinski [Fri, 13 Jan 2017 09:47:21 +0000 (09:47 +0000)]
Merge "[DPM] Improvements to the network logs batch finalization mechanism" into nyc-mr2-dev

7 years agoMerge "Move explicit mobile request handling into UpstreamNetworkMonitor" am: caf62d305e
Erik Kline [Fri, 13 Jan 2017 07:18:55 +0000 (07:18 +0000)]
Merge "Move explicit mobile request handling into UpstreamNetworkMonitor" am: caf62d305e
am: a94e66868c

Change-Id: Ie4d1cf3ef1729fc92de6a209a66e2e1ad386fb32

7 years agoMove explicit mobile request handling into UpstreamNetworkMonitor am: fdd4111ef6
Erik Kline [Fri, 13 Jan 2017 07:17:47 +0000 (07:17 +0000)]
Move explicit mobile request handling into UpstreamNetworkMonitor am: fdd4111ef6
am: 7340e272c3

Change-Id: Ie5065a8224e392dafc75e9f9cd9e07587e46b814

7 years agoMerge "Move explicit mobile request handling into UpstreamNetworkMonitor"
Erik Kline [Fri, 13 Jan 2017 07:11:47 +0000 (07:11 +0000)]
Merge "Move explicit mobile request handling into UpstreamNetworkMonitor"
am: caf62d305e

Change-Id: I8befc4b903289a21cfdcdaa16bbaeff7e9247892

7 years agoMove explicit mobile request handling into UpstreamNetworkMonitor
Erik Kline [Fri, 13 Jan 2017 07:11:43 +0000 (07:11 +0000)]
Move explicit mobile request handling into UpstreamNetworkMonitor
am: fdd4111ef6

Change-Id: If452982fdc47cf0e655c7f079c1be3f535ec6c03

7 years agoMerge "Move explicit mobile request handling into UpstreamNetworkMonitor"
Treehugger Robot [Fri, 13 Jan 2017 07:03:16 +0000 (07:03 +0000)]
Merge "Move explicit mobile request handling into UpstreamNetworkMonitor"

7 years agoMerge "Ensure that we always resume task overlay activities if requested."
Winson Chung [Fri, 13 Jan 2017 07:02:46 +0000 (07:02 +0000)]
Merge "Ensure that we always resume task overlay activities if requested."

7 years agoMerge "Make selection end handle stick to selection at line end."
Keisuke Kuroyanagi [Fri, 13 Jan 2017 06:39:18 +0000 (06:39 +0000)]
Merge "Make selection end handle stick to selection at line end."

7 years agoMove explicit mobile request handling into UpstreamNetworkMonitor
Erik Kline [Thu, 12 Jan 2017 08:02:51 +0000 (17:02 +0900)]
Move explicit mobile request handling into UpstreamNetworkMonitor

Also:
    - some minor typo fixes
    - some minor style fixes
    - variable renames for clarity

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
    - regular (no DUN) wifi tethering to mobile works
    - USB tethering with switching between mobile and wifi works
Bug: 32163131
Change-Id: I113536f24436f0b962f402f3b37386e29468dc0a

7 years agoDO NOT MERGE: Fix to maintain the Carrier Network connection.
pkanwar [Fri, 13 Jan 2017 03:17:00 +0000 (19:17 -0800)]
DO NOT MERGE: Fix to maintain the Carrier Network connection.

Added isCarrierNetwork param in WifiConfiguration, which is then used in
WifiStateMachine. After this change, the connection to Carrier Network
should be maintained.

BUG: 30760683
Change-Id: I88e01ff44f494a6eda5e2e8a088d069638b72c89

7 years agoFix ScoredNetwork: unparcel bundle in toString.
Sundeep Ghuman [Thu, 12 Jan 2017 21:48:51 +0000 (13:48 -0800)]
Fix ScoredNetwork: unparcel bundle in toString.

Calling isEmpty will ensure the bundle is unparceled before converting
to a string.

Test: dumped network_score
Change-Id: Icaa4e736af55c6112805a2ce0e829739bbb5b312

7 years agoMerge "DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents...
Manu Cornet [Fri, 13 Jan 2017 02:42:05 +0000 (02:42 +0000)]
Merge "DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents" into nyc-mr2-dev am: 2660111259
am: 4c7317373c  -s ours

Change-Id: I7054561b72b89871318e17c2948c69a85bd654d5

7 years agoDO NOT MERGE - Also scale down thumbnail in app transitions for grid recents am:...
Manu Cornet [Fri, 13 Jan 2017 02:40:56 +0000 (02:40 +0000)]
DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents am: da5900d0a7
am: afd96a08b1  -s ours

Change-Id: Ifbec27e0e264fc9a3303da18fdcb75a3cb4bd7d1

7 years agoMerge "DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents...
Manu Cornet [Fri, 13 Jan 2017 02:36:06 +0000 (02:36 +0000)]
Merge "DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents" into nyc-mr2-dev
am: 2660111259

Change-Id: If5b4cfd5f8a84060a90b457351638bbd7b2d526b

7 years agoDO NOT MERGE - Also scale down thumbnail in app transitions for grid recents
Manu Cornet [Fri, 13 Jan 2017 02:36:02 +0000 (02:36 +0000)]
DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents
am: da5900d0a7

Change-Id: I1b4d9873c86cdb77d829c4ae6e5e6e3eae032eb1

7 years agoMerge "Default Carrier app for traffic mitigation" am: 4533b1ccdd
Chen Xu [Fri, 13 Jan 2017 02:33:24 +0000 (02:33 +0000)]
Merge "Default Carrier app for traffic mitigation" am: 4533b1ccdd
am: 1d0877f59e

Change-Id: I1df7d283d8339065d4418af562775c3aea56a707

7 years agoMerge "DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents...
TreeHugger Robot [Fri, 13 Jan 2017 02:31:08 +0000 (02:31 +0000)]
Merge "DO NOT MERGE - Also scale down thumbnail in app transitions for grid recents" into nyc-mr2-dev

7 years agoMerge "Default Carrier app for traffic mitigation"
Chen Xu [Fri, 13 Jan 2017 02:28:28 +0000 (02:28 +0000)]
Merge "Default Carrier app for traffic mitigation"
am: 4533b1ccdd

Change-Id: I999285660c3a53fb2da8f18ddde9042f611f4e96

7 years agoMerge "Only send cache event if cache is detected to be used"
Eugene Susla [Fri, 13 Jan 2017 02:26:33 +0000 (02:26 +0000)]
Merge "Only send cache event if cache is detected to be used"

7 years agoMerge "Default Carrier app for traffic mitigation"
Chen Xu [Fri, 13 Jan 2017 02:22:38 +0000 (02:22 +0000)]
Merge "Default Carrier app for traffic mitigation"

7 years agoMerge "Emulator: remove hardcoded isEmulator() logic in ImageWallpaper"
Bo Hu [Fri, 13 Jan 2017 02:16:21 +0000 (02:16 +0000)]
Merge "Emulator: remove hardcoded isEmulator() logic in ImageWallpaper"

7 years agoMerge "Treat Latin American locales specially"
Roozbeh Pournader [Fri, 13 Jan 2017 01:53:11 +0000 (01:53 +0000)]
Merge "Treat Latin American locales specially"

7 years agoEnsure that we always resume task overlay activities if requested.
Winson Chung [Thu, 12 Jan 2017 23:54:12 +0000 (15:54 -0800)]
Ensure that we always resume task overlay activities if requested.

- Distinguish between task overlays that need to be resumed and
  those that should not.

Bug: 34240533
Test: Open PiP, tap to show menu.
Change-Id: Ibdb54d544c501a492260f02cdc2de40c5c1a66d1

7 years agoAdd logging for high temp warning.
Andrew Sapperstein [Fri, 13 Jan 2017 01:21:12 +0000 (17:21 -0800)]
Add logging for high temp warning.

Adds a log line that prints the current and throttling temps
when we decide to show the notification.

Test: manual
Bug: 34256597
Change-Id: I4d0a1993e0b073d68fbc65f9aa765f5343a69dc5

7 years agoInitialize the Installer in the StorageStatsService.
Daniel Nishi [Fri, 13 Jan 2017 01:19:50 +0000 (17:19 -0800)]
Initialize the Installer in the StorageStatsService.

Without this, the Installer never connects to the underlying
installd service, which results in NPEs when the service is used.

Bug: 34261458
Test: builds and runs w/o crashing
Change-Id: I9222c26cf6e411710e07a74f29b019f7c5754316

7 years agoDo not write if apply() did not change the file. am: 1f99f81bdc
Philip P. Moltmann [Fri, 13 Jan 2017 01:17:30 +0000 (01:17 +0000)]
Do not write if apply() did not change the file. am: 1f99f81bdc
am: 331a4bb8d4

Change-Id: I068dcbfcdaffff85379d422a9c53aafe7caa01c2

7 years agoOnly persist last Shared Preferences state am: d15c4f1da5
Philip P. Moltmann [Fri, 13 Jan 2017 01:16:23 +0000 (01:16 +0000)]
Only persist last Shared Preferences state am: d15c4f1da5
am: 889a420a9e

Change-Id: If0849eedacedf9197e19616dc56edad2ca39f015

7 years agoOnly test the empty state in the right test.
Hakan Seyalioglu [Fri, 13 Jan 2017 01:08:02 +0000 (17:08 -0800)]
Only test the empty state in the right test.

Test: Ran the test

Change-Id: I03908540d85830dd1165f1672fe49716df55d7a0