OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Move StringPiece to libandroidfw"
TreeHugger Robot [Thu, 19 Jan 2017 23:40:02 +0000 (23:40 +0000)]
Merge "Move StringPiece to libandroidfw"

7 years agoMerge "Replace the RequestRecommendationCaller if the timeout changes." am: f604580a5...
Jeremy Joslin [Thu, 19 Jan 2017 23:37:58 +0000 (23:37 +0000)]
Merge "Replace the RequestRecommendationCaller if the timeout changes." am: f604580a58 am: 600b816fe6 am: 5ee0e8aa05
am: 282cd7d371  -s ours

Change-Id: I8b94d15193a81df1ff7fd2db2132a6dc14487bec

7 years agoMerge changes I6ff80178,I03875cf1,I8d210b68 am: 5d942c1352 am: f5e4912fa2 am: 9a6c1bb795
Jeremy Joslin [Thu, 19 Jan 2017 23:31:56 +0000 (23:31 +0000)]
Merge changes I6ff80178,I03875cf1,I8d210b68 am: 5d942c1352 am: f5e4912fa2 am: 9a6c1bb795
am: 89dca6e82c  -s ours

Change-Id: Ib803888ffca5c4682b5044d2b3f650bf8b60ab4d

7 years agoNew setting for recommendation request timeout. am: 44e2b84b27 am: 820ad03ba8 am...
Jeremy Joslin [Thu, 19 Jan 2017 23:30:53 +0000 (23:30 +0000)]
New setting for recommendation request timeout. am: 44e2b84b27 am: 820ad03ba8 am: 00ccf31dbd
am: 9971919b64  -s ours

Change-Id: I867f3bfa748e109abb3dde1540944d71212a81f0

7 years agoImplemented the async recommendation request call. am: bc1308a3be am: 08031e0d0e...
Jeremy Joslin [Thu, 19 Jan 2017 23:29:53 +0000 (23:29 +0000)]
Implemented the async recommendation request call. am: bc1308a3be am: 08031e0d0e am: 61a4bd412d
am: 6a4faba753  -s ours

Change-Id: Ie99a1bd3361a88c6ad04734a2043805d99dacf43

7 years agoMerge "Replace the RequestRecommendationCaller if the timeout changes." am: f604580a5...
Jeremy Joslin [Thu, 19 Jan 2017 23:29:23 +0000 (23:29 +0000)]
Merge "Replace the RequestRecommendationCaller if the timeout changes." am: f604580a58 am: 600b816fe6
am: 5ee0e8aa05

Change-Id: Icc0d7b46f0777fd998c5fae5b5796bd99cac5ace

7 years agoAsync network recommendation requests. am: cb925074d3 am: c9d378e212 am: 428e6cd1db
Jeremy Joslin [Thu, 19 Jan 2017 23:28:43 +0000 (23:28 +0000)]
Async network recommendation requests. am: cb925074d3 am: c9d378e212 am: 428e6cd1db
am: 53526459dd  -s ours

Change-Id: I6b5dcbbd4ea0546898de0d5821f97d9d385d891b

7 years agoMerge changes I6ff80178,I03875cf1,I8d210b68 am: 5d942c1352 am: f5e4912fa2
Jeremy Joslin [Thu, 19 Jan 2017 23:24:16 +0000 (23:24 +0000)]
Merge changes I6ff80178,I03875cf1,I8d210b68 am: 5d942c1352 am: f5e4912fa2
am: 9a6c1bb795

Change-Id: Ic00047a933a33ca51fcb770694d1f41ba7a09484

7 years agoNew setting for recommendation request timeout. am: 44e2b84b27 am: 820ad03ba8
Jeremy Joslin [Thu, 19 Jan 2017 23:23:20 +0000 (23:23 +0000)]
New setting for recommendation request timeout. am: 44e2b84b27 am: 820ad03ba8
am: 00ccf31dbd

Change-Id: If14705a0e4c41dbd40ae90b46b37e5ad2b6e5c4b

7 years agoImplemented the async recommendation request call. am: bc1308a3be am: 08031e0d0e
Jeremy Joslin [Thu, 19 Jan 2017 23:22:20 +0000 (23:22 +0000)]
Implemented the async recommendation request call. am: bc1308a3be am: 08031e0d0e
am: 61a4bd412d

Change-Id: I53549134c264ff5d282d1e6d5138581c9f5bcb5b

7 years agoMerge "Replace the RequestRecommendationCaller if the timeout changes." am: f604580a58
Jeremy Joslin [Thu, 19 Jan 2017 23:21:35 +0000 (23:21 +0000)]
Merge "Replace the RequestRecommendationCaller if the timeout changes." am: f604580a58
am: 600b816fe6

Change-Id: I0756a2f72df6a9a41bd0c405155318c693d34546

7 years agoAsync network recommendation requests. am: cb925074d3 am: c9d378e212
Jeremy Joslin [Thu, 19 Jan 2017 23:21:09 +0000 (23:21 +0000)]
Async network recommendation requests. am: cb925074d3 am: c9d378e212
am: 428e6cd1db

Change-Id: Ifb0d27a912c2ca82d6dc18b513e1bc12c0215df1

7 years agoMerge changes I6ff80178,I03875cf1,I8d210b68 am: 5d942c1352
Jeremy Joslin [Thu, 19 Jan 2017 23:14:33 +0000 (23:14 +0000)]
Merge changes I6ff80178,I03875cf1,I8d210b68 am: 5d942c1352
am: f5e4912fa2

Change-Id: I97104593be351ea75fa5307b9bcc0904b406c27b

7 years agoNew setting for recommendation request timeout. am: 44e2b84b27
Jeremy Joslin [Thu, 19 Jan 2017 23:13:19 +0000 (23:13 +0000)]
New setting for recommendation request timeout. am: 44e2b84b27
am: 820ad03ba8

Change-Id: Ib4999e09073c74bb4594ce2e744032d3349dce94

7 years agoImplemented the async recommendation request call. am: bc1308a3be
Jeremy Joslin [Thu, 19 Jan 2017 23:12:24 +0000 (23:12 +0000)]
Implemented the async recommendation request call. am: bc1308a3be
am: 08031e0d0e

Change-Id: Idc136d72820fbf7c1d747068d87c505ec7e3cc5c

7 years agoMerge "Replace the RequestRecommendationCaller if the timeout changes."
Jeremy Joslin [Thu, 19 Jan 2017 23:11:28 +0000 (23:11 +0000)]
Merge "Replace the RequestRecommendationCaller if the timeout changes."
am: f604580a58

Change-Id: I07c14f02c9f20122a7154df31ee745b1a3b43e88

7 years agoAsync network recommendation requests. am: cb925074d3
Jeremy Joslin [Thu, 19 Jan 2017 23:11:08 +0000 (23:11 +0000)]
Async network recommendation requests. am: cb925074d3
am: c9d378e212

Change-Id: I66ea5246f35e6665c1ffb01e6314293a59f6acca

7 years agoMerge changes I6ff80178,I03875cf1,I8d210b68
Jeremy Joslin [Thu, 19 Jan 2017 23:05:10 +0000 (23:05 +0000)]
Merge changes I6ff80178,I03875cf1,I8d210b68
am: 5d942c1352

Change-Id: I6f56b3fa03de6d848ca92693f43ba80ede33a0f2

7 years agoNew setting for recommendation request timeout.
Jeremy Joslin [Thu, 19 Jan 2017 23:05:02 +0000 (23:05 +0000)]
New setting for recommendation request timeout.
am: 44e2b84b27

Change-Id: I8fd6e0c75d22d0f83db414a389c4d8caaf745469

7 years agoImplemented the async recommendation request call.
Jeremy Joslin [Thu, 19 Jan 2017 23:03:56 +0000 (23:03 +0000)]
Implemented the async recommendation request call.
am: bc1308a3be

Change-Id: I8cd3365a053527c8f4da6c35b1c646281eda74be

7 years agoAsync network recommendation requests.
Jeremy Joslin [Thu, 19 Jan 2017 23:03:06 +0000 (23:03 +0000)]
Async network recommendation requests.
am: cb925074d3

Change-Id: I9e3ac1f778d6e9bfe817225423f80540230633e3

7 years agoMerge "Replace the RequestRecommendationCaller if the timeout changes."
Treehugger Robot [Thu, 19 Jan 2017 23:02:52 +0000 (23:02 +0000)]
Merge "Replace the RequestRecommendationCaller if the timeout changes."

7 years agoMerge changes I6ff80178,I03875cf1,I8d210b68
Treehugger Robot [Thu, 19 Jan 2017 22:55:16 +0000 (22:55 +0000)]
Merge changes I6ff80178,I03875cf1,I8d210b68

* changes:
  New setting for recommendation request timeout.
  Implemented the async recommendation request call.
  Async network recommendation requests.

7 years agoMerge "Fix clipping for date and time on QS" am: a5f968806e am: 6cad668a25 am: 8bf5945c3f
Kazuki Kobayashi [Thu, 19 Jan 2017 22:40:10 +0000 (22:40 +0000)]
Merge "Fix clipping for date and time on QS" am: a5f968806e am: 6cad668a25 am: 8bf5945c3f
am: 02e50306f9

Change-Id: Ifa97ccb8a26ef547871a520a81ebe20820ed5bcc

7 years agoMerge "Fix clipping for date and time on QS" am: a5f968806e am: 6cad668a25
Kazuki Kobayashi [Thu, 19 Jan 2017 22:35:02 +0000 (22:35 +0000)]
Merge "Fix clipping for date and time on QS" am: a5f968806e am: 6cad668a25
am: 8bf5945c3f

Change-Id: Ia811eba9511d385e74668a97db11df3b8d0e9315

7 years agoMerge "Fix clipping for date and time on QS" am: a5f968806e
Kazuki Kobayashi [Thu, 19 Jan 2017 22:30:05 +0000 (22:30 +0000)]
Merge "Fix clipping for date and time on QS" am: a5f968806e
am: 6cad668a25

Change-Id: I19ae46145d788db06e64b1b1737b7c30ae53f7f0

7 years agoMerge "Fix clipping for date and time on QS"
Kazuki Kobayashi [Thu, 19 Jan 2017 22:25:23 +0000 (22:25 +0000)]
Merge "Fix clipping for date and time on QS"
am: a5f968806e

Change-Id: I75c89c14ba9fe723ce47bff9061c716aee225735

7 years agoMerge "Fix clipping for date and time on QS"
Treehugger Robot [Thu, 19 Jan 2017 22:17:35 +0000 (22:17 +0000)]
Merge "Fix clipping for date and time on QS"

7 years agoMerge "Fixed the text styling for framework SeekBarPrefenrece"
Keyvan Amiri [Thu, 19 Jan 2017 21:56:26 +0000 (21:56 +0000)]
Merge "Fixed the text styling for framework SeekBarPrefenrece"

7 years agoMerge "Fix up the tests."
TreeHugger Robot [Thu, 19 Jan 2017 21:52:32 +0000 (21:52 +0000)]
Merge "Fix up the tests."

7 years agoMerge "Add Wi-Fi friction icons to AccessPointPreference."
TreeHugger Robot [Thu, 19 Jan 2017 21:51:55 +0000 (21:51 +0000)]
Merge "Add Wi-Fi friction icons to AccessPointPreference."

7 years agoMerge "SystemServer: cherry-pick p2p service start" am: 4c937464eb am: 392f7d789c...
Rebecca Silberstein [Thu, 19 Jan 2017 21:41:02 +0000 (21:41 +0000)]
Merge "SystemServer: cherry-pick p2p service start" am: 4c937464eb am: 392f7d789c am: d3ff73eba4
am: da4ea530ee  -s ours

Change-Id: I4ecfb90df65dd582f2432d7c5705a4e8a555bd40

7 years agoMerge "SystemServer: cherry-pick p2p service start" am: 4c937464eb am: 392f7d789c
Rebecca Silberstein [Thu, 19 Jan 2017 21:36:03 +0000 (21:36 +0000)]
Merge "SystemServer: cherry-pick p2p service start" am: 4c937464eb am: 392f7d789c
am: d3ff73eba4

Change-Id: I9427fd6c760c58c6caf65800fbbfbaf2c35e3335

7 years agoMerge "SystemServer: cherry-pick p2p service start" am: 4c937464eb
Rebecca Silberstein [Thu, 19 Jan 2017 21:31:06 +0000 (21:31 +0000)]
Merge "SystemServer: cherry-pick p2p service start" am: 4c937464eb
am: 392f7d789c

Change-Id: I737b1307f4c42b8c88974418e3b6dab6b117509f

7 years agoMerge "SystemServer: cherry-pick p2p service start"
Rebecca Silberstein [Thu, 19 Jan 2017 21:26:00 +0000 (21:26 +0000)]
Merge "SystemServer: cherry-pick p2p service start"
am: 4c937464eb

Change-Id: I6f851c4e157150cab541d9a991cc1b7fe736eb7c

7 years agoReplace the RequestRecommendationCaller if the timeout changes.
Jeremy Joslin [Tue, 17 Jan 2017 23:48:13 +0000 (15:48 -0800)]
Replace the RequestRecommendationCaller if the timeout changes.

The timeout associated with a TimedRemoteCaller can't be changed
after creation so we have to create a new instance anytime the
timeout changes (which shouldn't be too often). The instance is
stored and retrieved from an AtomicReference to avoid concurrency
issues.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 34060959
Change-Id: I52f5d617feb9b3536ff3474b5d032113e3caea5c
Merged-In: I1662ac27f7442a16d2ffd7257469f1983b7f0e5c

7 years agoMerge "SystemServer: cherry-pick p2p service start"
Rebecca Silberstein [Thu, 19 Jan 2017 21:21:23 +0000 (21:21 +0000)]
Merge "SystemServer: cherry-pick p2p service start"

7 years agoNew setting for recommendation request timeout.
Jeremy Joslin [Wed, 4 Jan 2017 01:31:23 +0000 (17:31 -0800)]
New setting for recommendation request timeout.

Added a new global setting, NETWORK_RECOMMENDATION_REQUEST_TIMEOUT_MS,
to control the maximum amount of time a recommendation request can
take.

Updated the NetworkScoreService to monitor the value and to update
its cached copy on observed changes.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 34060959
Change-Id: I6ff80178440794e4a5da39ee7b5164621316e7bd
Merged-In: I7650ee024e53dbc856cf20d7520a6eb252c73bdf

7 years agoImplemented the async recommendation request call.
Jeremy Joslin [Thu, 29 Dec 2016 22:49:38 +0000 (14:49 -0800)]
Implemented the async recommendation request call.

Implemented requestAsyncRecommendation() by introducing a Handler
implementation to handle requests that time out and a OneTimeCallback
class to prevent multiple callbacks from being sent back for the same
request.

Change-Id: I03875cf1d789cbc92aa4c6b500c6b519bff8e165
Merged-In: Ida2ff860d78d86185ab9ab22232b5b6dc1e4b310
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
BUG:33784158

7 years agoAsync network recommendation requests.
Jeremy Joslin [Wed, 28 Dec 2016 23:56:46 +0000 (15:56 -0800)]
Async network recommendation requests.

Exposing a new hidden API method that allows network recommendations
to be requested asynchronously.

Test: Built & run.
BUG:33784158
Change-Id: I8d210b686138cb42bf69185f0b2f2d25dfcb9dd1
Merged-In: I8f84b09f43a6c5fae5d8f03ec01e75c25b4b62d6

7 years agoMerge changes Iabb33606,I3c364ebe
Winson Chung [Thu, 19 Jan 2017 20:50:43 +0000 (20:50 +0000)]
Merge changes Iabb33606,I3c364ebe

* changes:
  Falling back to media session controls.
  Move activity to fullscreen stack when it is relaunched in PIP.

7 years agoMerge "Fix crash from AssistManager"
Jason Monk [Thu, 19 Jan 2017 20:39:13 +0000 (20:39 +0000)]
Merge "Fix crash from AssistManager"

7 years agoMerge "Fix nav bar visibility on lock screen"
Jason Monk [Thu, 19 Jan 2017 20:37:49 +0000 (20:37 +0000)]
Merge "Fix nav bar visibility on lock screen"

7 years agoAdd Wi-Fi friction icons to AccessPointPreference.
Stephen Chen [Wed, 18 Jan 2017 23:25:31 +0000 (15:25 -0800)]
Add Wi-Fi friction icons to AccessPointPreference.

Friction icons are added to the end of the Wi-Fi picker list items to
provide visual information such as whether a network is secured, or saved.
The first two badges added are a lock icon to indicate a secure network, and
an open lock to indicate a saved network that is also secure.

Test: manual inspection
Bug: 34281330
Change-Id: I04ce9bc4a5bd245398d5f3b308ccb30b7cf58270

7 years agoMerge "Update Account Manager to use latest version of account discovery API."
TreeHugger Robot [Thu, 19 Jan 2017 20:17:17 +0000 (20:17 +0000)]
Merge "Update Account Manager to use latest version of account discovery API."

7 years agoFix up the tests.
Jason Monk [Thu, 19 Jan 2017 20:13:31 +0000 (15:13 -0500)]
Fix up the tests.

They got broken because the pre-submits were broken :(

Test: runtest systemui
Change-Id: I45d5b2d3e8614cd1d3fa7eb24da57c26588120ff

7 years agoMerge "Fix NPE in SettingsProvider."
Mark Rathjen [Thu, 19 Jan 2017 20:12:20 +0000 (20:12 +0000)]
Merge "Fix NPE in SettingsProvider."

7 years agoMerge "Workaround for leaked dim layer."
TreeHugger Robot [Thu, 19 Jan 2017 19:59:08 +0000 (19:59 +0000)]
Merge "Workaround for leaked dim layer."

7 years agoFixed the text styling for framework SeekBarPrefenrece
Keyvan Amiri [Thu, 19 Jan 2017 19:52:59 +0000 (11:52 -0800)]
Fixed the text styling for framework SeekBarPrefenrece

SeekBarPreference provided by framework used the wrong text sizes for
title and summary for both material and non-material layouts. Made the
text appearance consistent with the rest of preference widgets in
framework.
Also note that the framework SeekBarPreference is hidden and cannot
be used externally. The support library version is provided under
v7 preference lib.

Bug: 34068978
Test: Making sure that the text styling matches the rest of framework
preference widgets.

Change-Id: I3947a0bdd995e183e07e73e088916c1a3359ffe0

7 years agoMerge "Add arrow key navigation support to Grid-based Recents." into nyc-mr2-dev...
Jiaquan He [Thu, 19 Jan 2017 19:50:35 +0000 (19:50 +0000)]
Merge "Add arrow key navigation support to Grid-based Recents." into nyc-mr2-dev am: 683ea24d6e
am: 520e74a2bc

Change-Id: Ib8b9f60b18bca548a1d29c7542edcdbdd21aaeaf

7 years agoAdd arrow key navigation support to Grid-based Recents. am: c0e1813944
Jiaquan He [Thu, 19 Jan 2017 19:49:24 +0000 (19:49 +0000)]
Add arrow key navigation support to Grid-based Recents. am: c0e1813944
am: 514bbfd880

Change-Id: I076eeea2f035bef9c3c2ec39aa900a3f2e9d585c

7 years agoFix crash from AssistManager
Jason Monk [Thu, 19 Jan 2017 13:27:01 +0000 (08:27 -0500)]
Fix crash from AssistManager

It expects to have onConfiguration called at least once, so
make sure it has.

Test: runtest systemui
Bug: 34377261
Change-Id: Iba980b020ef2c175c7ffebedf946edb282be464c

7 years agoMerge "Add arrow key navigation support to Grid-based Recents." into nyc-mr2-dev
Jiaquan He [Thu, 19 Jan 2017 19:43:59 +0000 (19:43 +0000)]
Merge "Add arrow key navigation support to Grid-based Recents." into nyc-mr2-dev
am: 683ea24d6e

Change-Id: I539d11f61f54df44e8e870be15493dbd2a2042a1

7 years agoAdd arrow key navigation support to Grid-based Recents.
Jiaquan He [Thu, 19 Jan 2017 19:43:50 +0000 (19:43 +0000)]
Add arrow key navigation support to Grid-based Recents.
am: c0e1813944

Change-Id: I36781f21274e5c07f2e1e0d2f5d30a20982c4f24

7 years agoMerge "Remove NetworkScorerAppManager.isCallerActiveScorer()."
TreeHugger Robot [Thu, 19 Jan 2017 19:43:05 +0000 (19:43 +0000)]
Merge "Remove NetworkScorerAppManager.isCallerActiveScorer()."

7 years agoMerge "Add arrow key navigation support to Grid-based Recents." into nyc-mr2-dev
TreeHugger Robot [Thu, 19 Jan 2017 19:36:40 +0000 (19:36 +0000)]
Merge "Add arrow key navigation support to Grid-based Recents." into nyc-mr2-dev

7 years agoFix nav bar visibility on lock screen
Jason Monk [Thu, 19 Jan 2017 19:33:05 +0000 (14:33 -0500)]
Fix nav bar visibility on lock screen

StatusBarKeyguardViewManager was assuming that the navigation bar
was the root view in its window, which it isn't anymore. Add a
getRootView() to ensure it is always the root.

Change-Id: Ifeeecc1ae8d7b6c4235a1ce4767dad3919bf90e6
Fixes: 34452399
Test: lock device, tap on nav bar area

7 years agoMerge "Added NAN temperature value handling to HardwarePropertiesManager."
TreeHugger Robot [Thu, 19 Jan 2017 19:29:40 +0000 (19:29 +0000)]
Merge "Added NAN temperature value handling to HardwarePropertiesManager."

7 years agoMerge "Fixed NPE in canAddMoreManagedProfiles" am: a83222e4fb am: 8d3a8b1327 am:...
yuanhao [Thu, 19 Jan 2017 19:14:52 +0000 (19:14 +0000)]
Merge "Fixed NPE in canAddMoreManagedProfiles" am: a83222e4fb am: 8d3a8b1327 am: 1a34a41268
am: 70abb5122a

Change-Id: I806e4ce4f01e28c3b7e413b6447154a3cf77aca5

7 years agoMerge "Fixed NPE in canAddMoreManagedProfiles" am: a83222e4fb am: 8d3a8b1327
yuanhao [Thu, 19 Jan 2017 19:10:44 +0000 (19:10 +0000)]
Merge "Fixed NPE in canAddMoreManagedProfiles" am: a83222e4fb am: 8d3a8b1327
am: 1a34a41268

Change-Id: Ic3673491705af125a88f66460996911244184fc8

7 years agoMerge "Protobufferize DiskStats dumpsys"
Amith Yamasani [Thu, 19 Jan 2017 19:08:07 +0000 (19:08 +0000)]
Merge "Protobufferize DiskStats dumpsys"

7 years agoMerge "Fixed NPE in canAddMoreManagedProfiles" am: a83222e4fb
yuanhao [Thu, 19 Jan 2017 19:05:54 +0000 (19:05 +0000)]
Merge "Fixed NPE in canAddMoreManagedProfiles" am: a83222e4fb
am: 8d3a8b1327

Change-Id: I8a5f9b7fcf46d2a801446fabece327ddceec3add

7 years agoMerge "Ensure we account for insets in minimized state."
TreeHugger Robot [Thu, 19 Jan 2017 19:04:34 +0000 (19:04 +0000)]
Merge "Ensure we account for insets in minimized state."

7 years agoMerge "Initialize Sharing Ranker with a pre-trained model."
Kang Li [Thu, 19 Jan 2017 19:03:27 +0000 (19:03 +0000)]
Merge "Initialize Sharing Ranker with a pre-trained model."

7 years agoMerge "Fixed NPE in canAddMoreManagedProfiles"
yuanhao [Thu, 19 Jan 2017 19:00:55 +0000 (19:00 +0000)]
Merge "Fixed NPE in canAddMoreManagedProfiles"
am: a83222e4fb

Change-Id: Icd63296061485d29a95fa6c6735a8c1a91099afc

7 years agoMerge "Fixed NPE in canAddMoreManagedProfiles"
Treehugger Robot [Thu, 19 Jan 2017 18:53:24 +0000 (18:53 +0000)]
Merge "Fixed NPE in canAddMoreManagedProfiles"

7 years agoMerge "Adding self-managed connection service APIs." am: 3a7253a09d am: 2155be0218...
Tyler Gunn [Thu, 19 Jan 2017 18:44:10 +0000 (18:44 +0000)]
Merge "Adding self-managed connection service APIs." am: 3a7253a09d am: 2155be0218 am: d70e5d9317
am: 61650097ed

Change-Id: Icfeff293b66b1bb062095a857c8a22ac0dcbdd63

7 years agoMerge "Adding self-managed connection service APIs." am: 3a7253a09d am: 2155be0218
Tyler Gunn [Thu, 19 Jan 2017 18:39:50 +0000 (18:39 +0000)]
Merge "Adding self-managed connection service APIs." am: 3a7253a09d am: 2155be0218
am: d70e5d9317

Change-Id: I20ba841ceefb5905bf81262d6c42ea4b252ba3d4

7 years agoMerge "Adding self-managed connection service APIs." am: 3a7253a09d
Tyler Gunn [Thu, 19 Jan 2017 18:34:53 +0000 (18:34 +0000)]
Merge "Adding self-managed connection service APIs." am: 3a7253a09d
am: 2155be0218

Change-Id: I75319e09f352905ffa45194086b11711f9070c70

7 years agoMerge "Teach apps to refresh AppInfos without restarting"
Adam Lesinski [Thu, 19 Jan 2017 18:30:39 +0000 (18:30 +0000)]
Merge "Teach apps to refresh AppInfos without restarting"

7 years agoMerge "Adding self-managed connection service APIs."
Tyler Gunn [Thu, 19 Jan 2017 18:29:54 +0000 (18:29 +0000)]
Merge "Adding self-managed connection service APIs."
am: 3a7253a09d

Change-Id: I5d7aa094d71e40bc2ce8e6d051c757a82d9c6083

7 years agoWorkaround for leaked dim layer.
Wale Ogunwale [Thu, 19 Jan 2017 17:44:40 +0000 (09:44 -0800)]
Workaround for leaked dim layer.

Tasks are some how leaking their dim layer. The root cause of Task
not properly cleaning-up its dim layer in Task.removeImmediately()
hasn't being identified, but the CL will prevent user devices from
getting into a bad state until we figure-out the cause for the leak.

Note that when this occurs the task has been completely removed from
the system and the only reference left to it is for the dim layer...

Bug: 34395537
Test: This is a workaround until the real problem is identified.
Change-Id: Id8d45edb3b6858be82e4f057ae3da480da4f4b59

7 years agoMerge "Adding self-managed connection service APIs."
Treehugger Robot [Thu, 19 Jan 2017 18:23:33 +0000 (18:23 +0000)]
Merge "Adding self-managed connection service APIs."

7 years agoMerge "media: Add new API to set next output file."
Hangyu Kuang [Thu, 19 Jan 2017 18:17:39 +0000 (18:17 +0000)]
Merge "media: Add new API to set next output file."

7 years agoRemove NetworkScorerAppManager.isCallerActiveScorer().
Jeremy Joslin [Thu, 19 Jan 2017 17:55:26 +0000 (09:55 -0800)]
Remove NetworkScorerAppManager.isCallerActiveScorer().

The method is no longer used.

Test: adb shell am instrument -e class android.net.NetworkScorerAppManagerTest -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 33781558
Change-Id: I2b4acd54a747bd480a4a91bac424d39e264ea882

7 years agoProtobufferize DiskStats dumpsys
Amith Yamasani [Tue, 10 Jan 2017 22:42:38 +0000 (14:42 -0800)]
Protobufferize DiskStats dumpsys

Bug: 34227723
Test: cts-tradefed run cts-dev -t CtsIncidentHostTestCases
Change-Id: I4c99b8d4a2f120bea3d0ab196c44f6634224d59b

7 years agoFalling back to media session controls.
Winson Chung [Thu, 19 Jan 2017 00:01:53 +0000 (16:01 -0800)]
Falling back to media session controls.

- If there are no specific actions set by the current PiP activity,
  then fall back to actions provided by the current media session.

Test: Start PiP activity with a media session

Change-Id: Iabb33606eec682fa2fa4d1ba065c8b2763023de7

7 years agoMove activity to fullscreen stack when it is relaunched in PIP.
Winson Chung [Wed, 18 Jan 2017 02:43:39 +0000 (18:43 -0800)]
Move activity to fullscreen stack when it is relaunched in PIP.

- Only happens when the caller is not from the same package.

Bug: 33754261
Test: Open a PIP activity, try to launch it again from launcher
Change-Id: I3c364ebe31a7626b9133d9c4c1fafc718c2eecf9

7 years agoEnsure we account for insets in minimized state.
Winson Chung [Tue, 10 Jan 2017 00:08:07 +0000 (16:08 -0800)]
Ensure we account for insets in minimized state.

- When dragging slightly offscreen to minimize the PIP,
  ensure that the bounds take the insets into account so
  that the user can still interact with the PIP.

Test: Enter PIP in landscape, try to minimize it.

Change-Id: I093a37ba600722d44e50cc68dac77365a2ba062e

7 years agoAdded NAN temperature value handling to HardwarePropertiesManager.
Polina Bondarenko [Mon, 16 Jan 2017 18:10:56 +0000 (19:10 +0100)]
Added NAN temperature value handling to HardwarePropertiesManager.

Consider NAN temperature value as undefined temperature.

Bug: 34107726
Test: cts

Change-Id: I933fe3a1c1eb88960cee2eb32cbc56a88d9da9e4

7 years agoMerge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED."
TreeHugger Robot [Thu, 19 Jan 2017 16:40:43 +0000 (16:40 +0000)]
Merge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED."

7 years agoMerge "Follow installd API changes." am: 915f279556 am: 6b662722f0 am: 5e17fe3e8c
Jeff Sharkey [Thu, 19 Jan 2017 16:35:27 +0000 (16:35 +0000)]
Merge "Follow installd API changes." am: 915f279556 am: 6b662722f0 am: 5e17fe3e8c
am: f52972ad8b

Change-Id: Ib22fb4e87944824a64faf93667181a8bc56098ef

7 years agoMerge "Follow installd API changes." am: 915f279556 am: 6b662722f0
Jeff Sharkey [Thu, 19 Jan 2017 16:30:42 +0000 (16:30 +0000)]
Merge "Follow installd API changes." am: 915f279556 am: 6b662722f0
am: 5e17fe3e8c

Change-Id: I4b812be109896a3574b1034033c163d8f2872e59

7 years agoMerge "Follow installd API changes." am: 915f279556
Jeff Sharkey [Thu, 19 Jan 2017 16:26:23 +0000 (16:26 +0000)]
Merge "Follow installd API changes." am: 915f279556
am: 6b662722f0

Change-Id: Ia9406884d17226b10cae21fd2d98eecb9e5e7253

7 years agoMerge "Fix transferring of starting windows"
TreeHugger Robot [Thu, 19 Jan 2017 16:22:42 +0000 (16:22 +0000)]
Merge "Fix transferring of starting windows"

7 years agoMerge "Follow installd API changes."
Jeff Sharkey [Thu, 19 Jan 2017 16:21:54 +0000 (16:21 +0000)]
Merge "Follow installd API changes."
am: 915f279556

Change-Id: Ib362db25a0393e859909e06a00dbb0c655fd4b47

7 years agoMerge "Follow installd API changes."
Jeff Sharkey [Thu, 19 Jan 2017 16:16:02 +0000 (16:16 +0000)]
Merge "Follow installd API changes."

7 years agoMerge "Pass more data through the recommendation request."
TreeHugger Robot [Thu, 19 Jan 2017 15:29:39 +0000 (15:29 +0000)]
Merge "Pass more data through the recommendation request."

7 years agoFix transferring of starting windows
Jorim Jaggi [Thu, 19 Jan 2017 14:33:36 +0000 (15:33 +0100)]
Fix transferring of starting windows

Since we may transfer starting data we can not store
AppWindowToken in that class.

Additionally, remove starting window directly if it was
transferred. The normal removing path doesn't really work as
the fields aren't set.

Also fixes a monkey crash in the same code region.

Test: Open a notification that creates multiple activities with
using TaskStackBuilder, verify no windows leaking.
Test: (For monkey crash) Boot device, pray to the monkey god
Change-Id: I64fb176b579535adea1916d1623ad03ab06ca67e
Fixes: 34364463
Fixes: 34361417
Fixes: 34349533

7 years agoMerge "Track libcore java.util.logging update to ojdk8u60" am: 76edc3b8a5 am: 0823ed3...
Przemyslaw Szczepaniak [Thu, 19 Jan 2017 14:35:52 +0000 (14:35 +0000)]
Merge "Track libcore java.util.logging update to ojdk8u60" am: 76edc3b8a5 am: 0823ed394b am: b72c17afdc
am: baa1aea5e1

Change-Id: Id00a02599847b902878eb501d687645f66e15420

7 years agoMerge "Track libcore java.util.logging update to ojdk8u60" am: 76edc3b8a5 am: 0823ed394b
Przemyslaw Szczepaniak [Thu, 19 Jan 2017 14:29:13 +0000 (14:29 +0000)]
Merge "Track libcore java.util.logging update to ojdk8u60" am: 76edc3b8a5 am: 0823ed394b
am: b72c17afdc

Change-Id: I84dc0804b1f9db5359d9c9d8caf0356398eab2d5

7 years agoMerge "Track libcore java.util.logging update to ojdk8u60" am: 76edc3b8a5
Przemyslaw Szczepaniak [Thu, 19 Jan 2017 14:22:48 +0000 (14:22 +0000)]
Merge "Track libcore java.util.logging update to ojdk8u60" am: 76edc3b8a5
am: 0823ed394b

Change-Id: Iee0a79ac5f1770b218e6ff9e4a9f0d14c3c90378

7 years agoMerge "Track libcore java.util.logging update to ojdk8u60"
Przemyslaw Szczepaniak [Thu, 19 Jan 2017 14:16:56 +0000 (14:16 +0000)]
Merge "Track libcore java.util.logging update to ojdk8u60"
am: 76edc3b8a5

Change-Id: I0598b566f4d02a6d14c6be86f917bcef48bbf748

7 years agoMerge "Track libcore java.util.logging update to ojdk8u60"
Przemyslaw Szczepaniak [Thu, 19 Jan 2017 14:11:12 +0000 (14:11 +0000)]
Merge "Track libcore java.util.logging update to ojdk8u60"

7 years agoMerge "API: Unhide dalvik.system.InMemoryDexClassLoader" am: e5c3aed8dc am: a08d67495...
Orion Hodson [Thu, 19 Jan 2017 13:56:37 +0000 (13:56 +0000)]
Merge "API: Unhide dalvik.system.InMemoryDexClassLoader" am: e5c3aed8dc am: a08d67495c am: da4cfdfbdf
am: c61c0baeee

Change-Id: I0252e8a7684b05e567f7563e7a82376bcef4b03c

7 years agoMerge "API: Unhide dalvik.system.InMemoryDexClassLoader" am: e5c3aed8dc am: a08d67495c
Orion Hodson [Thu, 19 Jan 2017 13:52:05 +0000 (13:52 +0000)]
Merge "API: Unhide dalvik.system.InMemoryDexClassLoader" am: e5c3aed8dc am: a08d67495c
am: da4cfdfbdf

Change-Id: I5bf99527268cb26f3b1cab4a24080b9598ee03d2

7 years agoMerge "Unhide public methods for API Council review. Test: Existing unit tests still...
TreeHugger Robot [Thu, 19 Jan 2017 13:50:22 +0000 (13:50 +0000)]
Merge "Unhide public methods for API Council review. Test: Existing unit tests still pass. Change-Id: I49b81f99e4e8d8300fbc6b3d74f336d4f291d171"

7 years agoMerge "API: Unhide dalvik.system.InMemoryDexClassLoader" am: e5c3aed8dc
Orion Hodson [Thu, 19 Jan 2017 13:47:37 +0000 (13:47 +0000)]
Merge "API: Unhide dalvik.system.InMemoryDexClassLoader" am: e5c3aed8dc
am: a08d67495c

Change-Id: I4ea03fd453e58737b795c9f856db6a8312fdd1a0

7 years agoMerge "API: Unhide dalvik.system.InMemoryDexClassLoader"
Orion Hodson [Thu, 19 Jan 2017 13:43:05 +0000 (13:43 +0000)]
Merge "API: Unhide dalvik.system.InMemoryDexClassLoader"
am: e5c3aed8dc

Change-Id: I90cd3d3b09000bd3e1961a63d95eede19f0bd12e

7 years agoMerge "API: Unhide dalvik.system.InMemoryDexClassLoader"
Orion Hodson [Thu, 19 Jan 2017 13:35:50 +0000 (13:35 +0000)]
Merge "API: Unhide dalvik.system.InMemoryDexClassLoader"