OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge changes I0cd83a93,I03ae2bbb into pi-dev
Chalard Jean [Tue, 24 Apr 2018 10:02:11 +0000 (03:02 -0700)]
Merge changes I0cd83a93,I03ae2bbb into pi-dev
am: 411e79b8b0

Change-Id: Iaa0285825735d3f16bba6e4946723a437fd9b0b9

6 years agoMerge changes I0cd83a93,I03ae2bbb into pi-dev
Chalard Jean [Tue, 24 Apr 2018 09:53:32 +0000 (09:53 +0000)]
Merge changes I0cd83a93,I03ae2bbb into pi-dev

* changes:
  Make sure getActiveNetwork is consistent with default callbacks
  Add tests for getActiveNetwork.

6 years agoMerge changes from topic "notification_reply_action" into pi-dev
Selim Cinek [Tue, 24 Apr 2018 09:26:30 +0000 (02:26 -0700)]
Merge changes from topic "notification_reply_action" into pi-dev
am: 53790c1c8f

Change-Id: Ia6f227ca49a2004a2346da91cfea4f9a3fa65c47

6 years agoMerge changes from topic "notification_reply_action" into pi-dev
Selim Cinek [Tue, 24 Apr 2018 09:10:38 +0000 (09:10 +0000)]
Merge changes from topic "notification_reply_action" into pi-dev

* changes:
  Cleaned up the paddings of the messaging layout and smart replies
  Changed the size of the largeIcon
  Moved the disabling from alpha to manual color blending
  Updated the color of the reply button to be more neutral
  Updated the reply icon
  Disabled reply action when pending intents are cancelled
  Split the reply icon permanently from the right icon

6 years agoMerge "Add spinner for smart replies." into pi-dev
Kenny Guy [Tue, 24 Apr 2018 09:02:47 +0000 (02:02 -0700)]
Merge "Add spinner for smart replies." into pi-dev
am: 5f18904a00

Change-Id: I2eed8580057fe6565674c376ffd5cbdc5aaf0dcd

6 years agoMerge "Add spinner for smart replies." into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 08:51:56 +0000 (08:51 +0000)]
Merge "Add spinner for smart replies." into pi-dev

6 years agoMerge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Tue, 24 Apr 2018 08:40:55 +0000 (01:40 -0700)]
Merge "Add light grey APIs." into pi-dev
am: 95b7e63103

Change-Id: I957ef767bf25ed36b4fb05e2cde6715c6b99cd56

6 years agoMake sure getActiveNetwork is consistent with default callbacks
Chalard Jean [Wed, 18 Apr 2018 11:18:38 +0000 (20:18 +0900)]
Make sure getActiveNetwork is consistent with default callbacks

Bug: 77737389
Test: runtest framework-net
      new test don't pass without the main code change, but they
      do with it
Change-Id: I0cd83a935ab0b349aa47e065b830e5a43ab9a091

6 years agoMerge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Tue, 24 Apr 2018 08:30:12 +0000 (08:30 +0000)]
Merge "Add light grey APIs." into pi-dev

6 years agoMerge "Log package name when showing targetSdkVersion warning" into pi-dev
Przemyslaw Szczepaniak [Tue, 24 Apr 2018 08:17:50 +0000 (01:17 -0700)]
Merge "Log package name when showing targetSdkVersion warning" into pi-dev
am: 9d4d6e9d1a

Change-Id: Ifa31ef06df225421914bd4326859286a8ff8edbf

6 years agoMerge "Log package name when showing targetSdkVersion warning" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 08:07:27 +0000 (08:07 +0000)]
Merge "Log package name when showing targetSdkVersion warning" into pi-dev

6 years agoMerge "Check provider exists and is enabled when request location" into pi-dev
Yu-Han Yang [Tue, 24 Apr 2018 07:04:46 +0000 (00:04 -0700)]
Merge "Check provider exists and is enabled when request location" into pi-dev
am: 4c958d0e6b

Change-Id: I206e7a4a0ff3990ea8cf94decb6112c769e545f8

6 years agoLog package name when showing targetSdkVersion warning
Przemyslaw Szczepaniak [Mon, 23 Apr 2018 12:17:13 +0000 (13:17 +0100)]
Log package name when showing targetSdkVersion warning

Test: manual verification
Bug: 78332004
Change-Id: Ie91ac06e3a973edf655362b836698185a0aa7602

6 years agoMerge "Check provider exists and is enabled when request location" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 06:57:34 +0000 (06:57 +0000)]
Merge "Check provider exists and is enabled when request location" into pi-dev

6 years agoCleaned up the paddings of the messaging layout and smart replies
Selim Cinek [Mon, 23 Apr 2018 10:00:54 +0000 (18:00 +0800)]
Cleaned up the paddings of the messaging layout and smart replies

Refactored the code such that the reply icon's inset was substracted
from the overall paddings to make all of them consistent. This
will also help in the future as we don't have to update those
paddings manually anymore.

Test: test all sorts of combinations with Notify
Change-Id: I8c6c9951bc73c88d95cb443c8e618c7adca7ebd3
Fixes: 78441535

6 years agoAdd tests for getActiveNetwork.
Chalard Jean [Wed, 18 Apr 2018 10:18:58 +0000 (19:18 +0900)]
Add tests for getActiveNetwork.

Bug: 77737389
Test: runtest frameworks-net
Change-Id: I03ae2bbb08559f2cd44979e291c1f5d50eb215da

6 years agoChanged the size of the largeIcon
Selim Cinek [Mon, 23 Apr 2018 08:09:23 +0000 (16:09 +0800)]
Changed the size of the largeIcon

Also tunes the paddings with largeIcons more

Test: test margins for all templates, ensure nice wrapping
Change-Id: I9ace23c2a6b38fdf25e46fd55d6848b8922851a3
Fixes: 76415894

6 years agoMoved the disabling from alpha to manual color blending
Selim Cinek [Thu, 19 Apr 2018 02:24:39 +0000 (10:24 +0800)]
Moved the disabling from alpha to manual color blending

The Transformations don't preserve alpha currently and it's
hard to fix without the risk of introducing regressions.
We instead blend the color manually now.

Change-Id: Ib9c209295529c5e04564a3faed74160914951152
Fixes: 77811784

6 years ago[automerger skipped] Merge "Further Clarify Scope of KEY_CARRIER_NAME_OVERRIDE" am...
Nathan Harold [Tue, 24 Apr 2018 05:20:13 +0000 (22:20 -0700)]
[automerger skipped] Merge "Further Clarify Scope of KEY_CARRIER_NAME_OVERRIDE" am: 238eaf5183
am: 26123f6efd  -s ours

Change-Id: I9f4a7b11a816382439daed8fc9ffaf7a8d2c7aea

6 years agoMerge "Further Clarify Scope of KEY_CARRIER_NAME_OVERRIDE"
Nathan Harold [Tue, 24 Apr 2018 05:11:58 +0000 (22:11 -0700)]
Merge "Further Clarify Scope of KEY_CARRIER_NAME_OVERRIDE"
am: 238eaf5183

Change-Id: Id49766c04ddfe89a28c37360c35959ff2a4a329a

6 years agoUpdated the color of the reply button to be more neutral
Selim Cinek [Thu, 19 Apr 2018 01:19:15 +0000 (09:19 +0800)]
Updated the color of the reply button to be more neutral

The primaryTextColor wasn't a good fit, because it was
drawing too much attention being pure black. We're now
taking the default color instead. It's also used for
active permissions now.

Test: add notification, look at reply button.
Change-Id: If390c66e927a92a1115250abb7254fafe81b054c
Fixes: 72750728

6 years agoUpdated the reply icon
Selim Cinek [Wed, 18 Apr 2018 08:01:07 +0000 (16:01 +0800)]
Updated the reply icon

Change-Id: I0f8e91630cedefc6d9f44ded421243b719db7e6c
Fixes: 77244755
Test: observe new icon on notificaction

6 years agoDisabled reply action when pending intents are cancelled
Selim Cinek [Wed, 18 Apr 2018 06:34:27 +0000 (14:34 +0800)]
Disabled reply action when pending intents are cancelled

Previously the user could open inline reply even when the
action was already cancelled. This also enables listening
to pending intent cancellations.

Test: manual
Fixes: 77811784
Change-Id: I4ae164081c6abdeb60a8e78d61bf5e4f26cca1d3

6 years agoMerge "Update Java doc of GnssMeasurementEvent#STATUS_NOT_ALLOWED" into pi-dev
Yu-Han Yang [Tue, 24 Apr 2018 04:11:28 +0000 (21:11 -0700)]
Merge "Update Java doc of GnssMeasurementEvent#STATUS_NOT_ALLOWED" into pi-dev
am: d5a1bb621a

Change-Id: I17d4dfbcc386050988dabfcaae8b5dc6b58450f6

6 years agoMerge "Refactor GnssBatchingProvider" into pi-dev
Yu-Han Yang [Tue, 24 Apr 2018 04:04:19 +0000 (21:04 -0700)]
Merge "Refactor GnssBatchingProvider" into pi-dev
am: 4257db35fe

Change-Id: Ib53b4c6602c7356e956d879af64e85cdd6067cc6

6 years agoMerge "Update Java doc of GnssMeasurementEvent#STATUS_NOT_ALLOWED" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 04:01:56 +0000 (04:01 +0000)]
Merge "Update Java doc of GnssMeasurementEvent#STATUS_NOT_ALLOWED" into pi-dev

6 years agoMerge "Further Clarify Scope of KEY_CARRIER_NAME_OVERRIDE"
Treehugger Robot [Tue, 24 Apr 2018 03:56:40 +0000 (03:56 +0000)]
Merge "Further Clarify Scope of KEY_CARRIER_NAME_OVERRIDE"

6 years agoMerge "Refactor GnssBatchingProvider" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 03:56:20 +0000 (03:56 +0000)]
Merge "Refactor GnssBatchingProvider" into pi-dev

6 years agoMerge "Allow overriding the compile SDK" into pi-dev
Todd Kennedy [Tue, 24 Apr 2018 03:23:12 +0000 (20:23 -0700)]
Merge "Allow overriding the compile SDK" into pi-dev
am: fd5166ddac

Change-Id: I53d265b82f4a0e9b86b1324900e133911a355104

6 years agoMerge "Allow overriding the compile SDK" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 03:14:04 +0000 (03:14 +0000)]
Merge "Allow overriding the compile SDK" into pi-dev

6 years agoMerge "Fix the art work of lockscreen cannot be removed" into pi-dev
Shawn Lin [Tue, 24 Apr 2018 02:56:34 +0000 (19:56 -0700)]
Merge "Fix the art work of lockscreen cannot be removed" into pi-dev
am: ab416a115a

Change-Id: I881f96dc669b8e974e0912240bd227e84558d70a

6 years agoMerge "Fix the art work of lockscreen cannot be removed" into pi-dev
Shawn Lin [Tue, 24 Apr 2018 02:46:28 +0000 (02:46 +0000)]
Merge "Fix the art work of lockscreen cannot be removed" into pi-dev

6 years ago[automerger skipped] Merge "PackageManager: Skip dexopt on install for debuggable...
Andreas Gampe [Tue, 24 Apr 2018 01:45:44 +0000 (18:45 -0700)]
[automerger skipped] Merge "PackageManager: Skip dexopt on install for debuggable apps" into pi-dev
am: f22fd65a25  -s ours

Change-Id: Iefee9ec4b410ab9571bdd9d46ba8111ec1a91a9c

6 years agoMerge "PackageManager: Skip dexopt on install for debuggable apps" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 01:36:13 +0000 (01:36 +0000)]
Merge "PackageManager: Skip dexopt on install for debuggable apps" into pi-dev

6 years agoMerge "Update title for SysUI battery warning" into pi-dev
Salvador Martinez [Tue, 24 Apr 2018 01:04:34 +0000 (18:04 -0700)]
Merge "Update title for SysUI battery warning" into pi-dev
am: 0545eaefdd

Change-Id: I02163465841504b3894c71bb0e4ea34205a44170

6 years agoMerge "Destroy app-less surfaces when becoming invisible with no animation." into...
Rob Carr [Tue, 24 Apr 2018 00:54:05 +0000 (17:54 -0700)]
Merge "Destroy app-less surfaces when becoming invisible with no animation." into pi-dev
am: d7681ccd25

Change-Id: I3452a981dc23ea9617e7e78af4c0c7f93f60ca52

6 years agoMerge "Do not reference TaskRecord's intent without checking for null." into pi-dev
Bryce Lee [Tue, 24 Apr 2018 00:48:04 +0000 (17:48 -0700)]
Merge "Do not reference TaskRecord's intent without checking for null." into pi-dev
am: a16cc4215a

Change-Id: Ib05d3f19b1c01f3df5d833153494b861c4cfeac1

6 years agoMerge "Update title for SysUI battery warning" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 00:46:56 +0000 (00:46 +0000)]
Merge "Update title for SysUI battery warning" into pi-dev

6 years agoMerge "Merge "Failing setPackagesSuspended if user has a DO / PO" into pi-dev am...
Android Build Merger (Role) [Tue, 24 Apr 2018 00:38:41 +0000 (00:38 +0000)]
Merge "Merge "Failing setPackagesSuspended if user has a DO / PO" into pi-dev am: 694f60005e" into pi-dev-plus-aosp

6 years agoMerge "Failing setPackagesSuspended if user has a DO / PO" into pi-dev
Suprabh Shukla [Tue, 24 Apr 2018 00:38:05 +0000 (17:38 -0700)]
Merge "Failing setPackagesSuspended if user has a DO / PO" into pi-dev
am: 694f60005e

Change-Id: Ic254a8b361dfdfc199ff7b565f1f7491a15ff41f

6 years agoMerge "Merge "PackageManager: Skip dexopt on install for debuggable apps" am: 5faf729...
Android Build Merger (Role) [Tue, 24 Apr 2018 00:34:07 +0000 (00:34 +0000)]
Merge "Merge "PackageManager: Skip dexopt on install for debuggable apps" am: 5faf7291f0 am: 09a80d1797" into pi-dev-plus-aosp

6 years agoMerge "PackageManager: Skip dexopt on install for debuggable apps" am: 5faf7291f0
Andreas Gampe [Tue, 24 Apr 2018 00:32:43 +0000 (17:32 -0700)]
Merge "PackageManager: Skip dexopt on install for debuggable apps" am: 5faf7291f0
am: 09a80d1797

Change-Id: I9d889e1a69fd1c82582b549b4ca630061f519366

6 years agoMerge "Disable hotspot when data saver is on." into pi-dev
Amin Shaikh [Tue, 24 Apr 2018 00:31:40 +0000 (17:31 -0700)]
Merge "Disable hotspot when data saver is on." into pi-dev
am: be99e9e60d

Change-Id: I22b33064a6ab2b6507fa71ce94190eb85d2de4ba

6 years agoMerge "Destroy app-less surfaces when becoming invisible with no animation." into...
Rob Carr [Tue, 24 Apr 2018 00:27:36 +0000 (00:27 +0000)]
Merge "Destroy app-less surfaces when becoming invisible with no animation." into pi-dev

6 years agoMerge "Do not reference TaskRecord's intent without checking for null." into pi-dev
Bryce Lee [Tue, 24 Apr 2018 00:25:42 +0000 (00:25 +0000)]
Merge "Do not reference TaskRecord's intent without checking for null." into pi-dev

6 years agoMerge "PackageManager: Skip dexopt on install for debuggable apps"
Andreas Gampe [Tue, 24 Apr 2018 00:24:58 +0000 (17:24 -0700)]
Merge "PackageManager: Skip dexopt on install for debuggable apps"
am: 5faf7291f0

Change-Id: I5cd62f4ac85dc16c1ff00233096b3b6ec60a3db2

6 years agoMerge "Expose API to hide the IME during a recents animation" into pi-dev
Winson Chung [Tue, 24 Apr 2018 00:24:36 +0000 (17:24 -0700)]
Merge "Expose API to hide the IME during a recents animation" into pi-dev
am: 6fab40d82c

Change-Id: I8e70b7ae5d74d3dd85461bb13fcbff16f718d2c0

6 years agoMerge "Failing setPackagesSuspended if user has a DO / PO" into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 00:17:41 +0000 (00:17 +0000)]
Merge "Failing setPackagesSuspended if user has a DO / PO" into pi-dev

6 years agoMerge "Data stall intent definition" into pi-dev
Jayachandran Chinnakkannu [Tue, 24 Apr 2018 00:13:38 +0000 (17:13 -0700)]
Merge "Data stall intent definition" into pi-dev
am: 88dcad1aa4

Change-Id: Id1b549f662e574695c06d58dc533eafaa257eb3c

6 years agoMerge "Disable hotspot when data saver is on." into pi-dev
TreeHugger Robot [Tue, 24 Apr 2018 00:11:43 +0000 (00:11 +0000)]
Merge "Disable hotspot when data saver is on." into pi-dev

6 years agoMerge "Expose API to hide the IME during a recents animation" into pi-dev
Winson Chung [Mon, 23 Apr 2018 23:59:54 +0000 (23:59 +0000)]
Merge "Expose API to hide the IME during a recents animation" into pi-dev

6 years agoMerge "Data stall intent definition" into pi-dev
Jayachandran Chinnakkannu [Mon, 23 Apr 2018 23:59:29 +0000 (23:59 +0000)]
Merge "Data stall intent definition" into pi-dev

6 years agoMerge "Move SchedulingPolicyService init code to SystemServerInitThreadPool" into...
Chong Zhang [Mon, 23 Apr 2018 23:38:11 +0000 (16:38 -0700)]
Merge "Move SchedulingPolicyService init code to SystemServerInitThreadPool" into pi-dev
am: 3f8dd1ca7d

Change-Id: I87bd861a64e4ff4b8098493ce2a3ee0708b42967

6 years agoMerge "Reset binder call stats along with batterystats" into pi-dev
Fyodor Kupolov [Mon, 23 Apr 2018 23:33:15 +0000 (16:33 -0700)]
Merge "Reset binder call stats along with batterystats" into pi-dev
am: 46c2b1451c

Change-Id: Icc1749b2e67a9b7015a08dd7ddfb481337531aa9

6 years agoMerge "Add reason to device idle history dump" into pi-dev
Amith Yamasani [Mon, 23 Apr 2018 23:28:14 +0000 (16:28 -0700)]
Merge "Add reason to device idle history dump" into pi-dev
am: 43ca6addd1

Change-Id: I3008dba871300a26442c9021a02c993cee00e029

6 years agoExpose API to hide the IME during a recents animation
Winson Chung [Fri, 20 Apr 2018 22:58:18 +0000 (15:58 -0700)]
Expose API to hide the IME during a recents animation

Bug: 73285089
Test: Swipe up from app with IME open, ensure that it closes
Change-Id: I95ce59291f11285c853e8b3029638119c21f7e38

6 years agoMerge "Move SchedulingPolicyService init code to SystemServerInitThreadPool" into...
Chong Zhang [Mon, 23 Apr 2018 23:15:33 +0000 (23:15 +0000)]
Merge "Move SchedulingPolicyService init code to SystemServerInitThreadPool" into pi-dev

6 years agoUpdate title for SysUI battery warning
Salvador Martinez [Mon, 23 Apr 2018 23:13:19 +0000 (16:13 -0700)]
Update title for SysUI battery warning

We're changing the text from "battery is low" to talk about the
battery running out soon instead so users are not confused if the
time based trigger occurs at higher battery percentages.

Test: robotests pass
Bug: 77587724
Change-Id: Ib7b2c507e150e06e307f810f89c6da407c77990a

6 years agoMerge "Reset binder call stats along with batterystats" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 23:05:31 +0000 (23:05 +0000)]
Merge "Reset binder call stats along with batterystats" into pi-dev

6 years agoPackageManager: Skip dexopt on install for debuggable apps
Andreas Gampe [Mon, 23 Apr 2018 15:59:12 +0000 (08:59 -0700)]
PackageManager: Skip dexopt on install for debuggable apps

To reduce install-to-started latency, skip dexopt at install-time
for debuggable apps. This is a conscious tradeoff, as the app
will run slower, and do repeated work on every startup. However,
for debuggable apps, turnaround time is more important.

(cherry picked from commit 58adf3a8eead2d7594fc1ac15aaed6a5760e7ba4)

Bug: 78200989
Test: m
Test: Device boots
Test: CTS (wrap & JVMTI)
Merged-In: I749934e794b0c89d72ea8ee413b845e7804de184
Change-Id: I749934e794b0c89d72ea8ee413b845e7804de184

6 years agoMerge "Add reason to device idle history dump" into pi-dev
Amith Yamasani [Mon, 23 Apr 2018 23:01:13 +0000 (23:01 +0000)]
Merge "Add reason to device idle history dump" into pi-dev

6 years agoMerge "Update surface position once created." into pi-dev
Evan Rosky [Mon, 23 Apr 2018 22:55:48 +0000 (15:55 -0700)]
Merge "Update surface position once created." into pi-dev
am: 8a4af9c3e8

Change-Id: If8b087c21f5b3da6c701c03b814a081c8371c0d5

6 years agoMerge "Update surface position once created." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 22:41:50 +0000 (22:41 +0000)]
Merge "Update surface position once created." into pi-dev

6 years ago[automerger skipped] Merge "Move frameworks/base off the SRC_API_DIR variable." am...
Anton Hansson [Mon, 23 Apr 2018 22:36:34 +0000 (15:36 -0700)]
[automerger skipped] Merge "Move frameworks/base off the SRC_API_DIR variable." am: 2a4277fb00
am: 5629dc7849  -s ours

Change-Id: Ie28cc127204e11f965e6e1898c856795169c005f

6 years agoMerge "PackageManager: Skip dexopt on install for debuggable apps"
Treehugger Robot [Mon, 23 Apr 2018 22:35:17 +0000 (22:35 +0000)]
Merge "PackageManager: Skip dexopt on install for debuggable apps"

6 years agoMerge "Add windowing mode to task snapshot." into pi-dev
Winson Chung [Mon, 23 Apr 2018 22:30:23 +0000 (15:30 -0700)]
Merge "Add windowing mode to task snapshot." into pi-dev
am: 167710981c

Change-Id: I0348be9f7e096e7effc1476f5015d33263a163fe

6 years agoDisable hotspot when data saver is on.
Amin Shaikh [Mon, 23 Apr 2018 22:29:11 +0000 (18:29 -0400)]
Disable hotspot when data saver is on.

Do not process the QS tap on hotspot when data saver is on. The
secondary text already states that "Data Saver is on" and the tile is
greyed out.

Change-Id: Ied86aba4199c94e68cc2cebf7ccd888c8a04dfb8
Fixes: 77860936
Test: visual

6 years agoMerge "Move frameworks/base off the SRC_API_DIR variable."
Anton Hansson [Mon, 23 Apr 2018 22:21:58 +0000 (15:21 -0700)]
Merge "Move frameworks/base off the SRC_API_DIR variable."
am: 2a4277fb00

Change-Id: I7912e0aec15b478cff139c8312893d418c360ef2

6 years agoMerge "Revert "Revert "Clear out tuner prefs since it is disabled""" into pi-dev
Jason Monk [Mon, 23 Apr 2018 22:21:28 +0000 (15:21 -0700)]
Merge "Revert "Revert "Clear out tuner prefs since it is disabled""" into pi-dev
am: 2897fd315d

Change-Id: I28fbfda37088bb1801396d62e184afa6ddf2ae43

6 years agoMerge "Add windowing mode to task snapshot." into pi-dev
Winson Chung [Mon, 23 Apr 2018 22:16:01 +0000 (22:16 +0000)]
Merge "Add windowing mode to task snapshot." into pi-dev

6 years agoMerge "Revert "Revert "Clear out tuner prefs since it is disabled""" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 22:08:31 +0000 (22:08 +0000)]
Merge "Revert "Revert "Clear out tuner prefs since it is disabled""" into pi-dev

6 years agoMerge "Rate limit battery external stats collection in takeUidSnapshot(s)." into...
Sudheer Shanka [Mon, 23 Apr 2018 21:52:01 +0000 (14:52 -0700)]
Merge "Rate limit battery external stats collection in takeUidSnapshot(s)." into pi-dev
am: 6bc6e21be7

Change-Id: I50eba3f8c2171c511e0b1ecd3d0e605956e97d24

6 years agoMerge "Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" am: 361ab2...
Android Build Merger (Role) [Mon, 23 Apr 2018 21:35:47 +0000 (21:35 +0000)]
Merge "Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" am: 361ab2c581 am: 6dfacdcaf2" into pi-dev-plus-aosp

6 years agoMerge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" am: 361ab2c581
Hansong Zhang [Mon, 23 Apr 2018 21:35:26 +0000 (14:35 -0700)]
Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" am: 361ab2c581
am: 6dfacdcaf2

Change-Id: Ic69f60a8c2dcc9677faa2ab51c03758a823bde31

6 years agoMerge "Rate limit battery external stats collection in takeUidSnapshot(s)." into...
Sudheer Shanka [Mon, 23 Apr 2018 21:34:57 +0000 (21:34 +0000)]
Merge "Rate limit battery external stats collection in takeUidSnapshot(s)." into pi-dev

6 years agoMerge "Fix RadioTunerTest." into pi-dev
Tomasz Wasilczyk [Mon, 23 Apr 2018 21:32:23 +0000 (14:32 -0700)]
Merge "Fix RadioTunerTest." into pi-dev
am: 1fdddabc24

Change-Id: If00335a9b49d4a8ed6a609f144bc2c00b529c184

6 years agoMerge "Verify best signature algorithms of all signers" into pi-dev
Victor Hsieh [Mon, 23 Apr 2018 21:26:41 +0000 (14:26 -0700)]
Merge "Verify best signature algorithms of all signers" into pi-dev
am: c17a171a7b

Change-Id: I05d0dd847c93fdcd594880bc7743fe31a55d2855

6 years agoMerge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF"
Hansong Zhang [Mon, 23 Apr 2018 21:25:27 +0000 (14:25 -0700)]
Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF"
am: 361ab2c581

Change-Id: I38d9e8258a0ebab18c1e8565f5b4a0a12baa3deb

6 years agoReset binder call stats along with batterystats
Fyodor Kupolov [Mon, 23 Apr 2018 19:44:51 +0000 (12:44 -0700)]
Reset binder call stats along with batterystats

Test: dumpsys batterystats --reset && dumpsys binder_calls_stats
Bug: 75318418
Change-Id: Ibdbd95468bba876b1f91357b86f7a8d45af2daed

6 years agoMerge "Use screen height to determine # of QS rows." into pi-dev
Amin Shaikh [Mon, 23 Apr 2018 21:19:45 +0000 (14:19 -0700)]
Merge "Use screen height to determine # of QS rows." into pi-dev
am: 9376380a27

Change-Id: I8962708b492513e1392515580b2936191d97e9e9

6 years agoMerge "Fix RadioTunerTest." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 21:19:42 +0000 (21:19 +0000)]
Merge "Fix RadioTunerTest." into pi-dev

6 years agoMerge "Verify best signature algorithms of all signers" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 21:15:31 +0000 (21:15 +0000)]
Merge "Verify best signature algorithms of all signers" into pi-dev

6 years agoMerge "Use screen height to determine # of QS rows." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 21:07:45 +0000 (21:07 +0000)]
Merge "Use screen height to determine # of QS rows." into pi-dev

6 years agoMerge "Fix bad pixel out-of-bounds filter" into pi-dev
Sam Hasinoff [Mon, 23 Apr 2018 20:32:11 +0000 (13:32 -0700)]
Merge "Fix bad pixel out-of-bounds filter" into pi-dev
am: c3a7ab321b

Change-Id: I3f1658f81c6735c79511f8544ebdc6212f82a96b

6 years agoMerge "[QS] Move date view to QS panel" into pi-dev
Rohan Shah [Mon, 23 Apr 2018 20:24:30 +0000 (13:24 -0700)]
Merge "[QS] Move date view to QS panel" into pi-dev
am: ef61802559

Change-Id: I040de09a68a6791540765b3d8c7323f604bc4100

6 years agoMerge "Fix bad pixel out-of-bounds filter" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 20:17:58 +0000 (20:17 +0000)]
Merge "Fix bad pixel out-of-bounds filter" into pi-dev

6 years agoMerge "Move frameworks/base off the SRC_API_DIR variable."
Anton Hansson [Mon, 23 Apr 2018 20:16:57 +0000 (20:16 +0000)]
Merge "Move frameworks/base off the SRC_API_DIR variable."

6 years agoMerge "[QS] Move date view to QS panel" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 20:15:24 +0000 (20:15 +0000)]
Merge "[QS] Move date view to QS panel" into pi-dev

6 years agoData stall intent definition
Jayachandran C [Fri, 6 Apr 2018 21:42:32 +0000 (14:42 -0700)]
Data stall intent definition

Define a protected intent to notify the data stall recovery attempts.

Test: Manual
Bug: 77293796
Change-Id: Ic8dfb12662d53e896f9d0b60329e762ce9460ba6

6 years agoMerge "Guard against native crash due to null Surface" into pi-dev
Marco Nelissen [Mon, 23 Apr 2018 20:12:06 +0000 (13:12 -0700)]
Merge "Guard against native crash due to null Surface" into pi-dev
am: a98bb36fed

Change-Id: I9cb3e75cdd72592250f755a575c138ecedd3a51b

6 years agoMerge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF"
Treehugger Robot [Mon, 23 Apr 2018 20:01:02 +0000 (20:01 +0000)]
Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF"

6 years agoMerge "Guard against native crash due to null Surface" into pi-dev
Marco Nelissen [Mon, 23 Apr 2018 19:58:46 +0000 (19:58 +0000)]
Merge "Guard against native crash due to null Surface" into pi-dev

6 years agoMerge "ViewRoot: Check Surface validity before initializing renderer from draw()...
Rob Carr [Mon, 23 Apr 2018 19:43:23 +0000 (12:43 -0700)]
Merge "ViewRoot: Check Surface validity before initializing renderer from draw()." into pi-dev
am: cef96f69d7

Change-Id: I3d7857f31bfe9bba3bde78bef67f08c7b24338c6

6 years agoMerge "DO NOT MERGE Add list of approved services in addApprovedList" into pi-dev
Artem Iglikov [Mon, 23 Apr 2018 19:31:17 +0000 (12:31 -0700)]
Merge "DO NOT MERGE Add list of approved services in addApprovedList" into pi-dev
am: 7f352dbeaf

Change-Id: I8c54851ba1118185d0a775603a0122749e3fec79

6 years agoAdd windowing mode to task snapshot.
Winson Chung [Fri, 20 Apr 2018 22:54:51 +0000 (15:54 -0700)]
Add windowing mode to task snapshot.

Bug: 78155683
Test: atest FrameworksServicesTests:TaskSnapshotPersisterLoaderTest
Change-Id: I4e562d818416a30d6759baef37c74b6d9c514a00

6 years agoMerge "Exposing setRecentsVisibility method and associated callbacks to the Recents...
Sunny Goyal [Mon, 23 Apr 2018 19:23:06 +0000 (12:23 -0700)]
Merge "Exposing setRecentsVisibility method and associated callbacks to the Recents components" into pi-dev
am: 9d5eb3453f

Change-Id: Ie8cf9c4a51fdc861371d6bb43bdc4b98a4c2fa56

6 years agoVerify best signature algorithms of all signers
Victor Hsieh [Fri, 20 Apr 2018 22:45:37 +0000 (15:45 -0700)]
Verify best signature algorithms of all signers

The previous implementation does not verify signature algorithms of all
signers.  It's possible that the attacker can take an old apk (with
digest and signature of old algorithm) and add their own signer block
with new/P digest and signature.  In this case, the old implementation
only verifies the attacker's signature, thus the attacker can change apk
content easily.

The solution here is to verify digests of all best signature algorithms
by all signers.

It is expected to increase verification time, if the apk does have
multiple signers with different type of digests.

Test: apks still install
Bug: 78359754
Change-Id: I607edf219c25a2a7adfa27a21a94e9bfefbb6cec
Merged-In: I607edf219c25a2a7adfa27a21a94e9bfefbb6cec
(cherry picked from commit 2f2ced93e3176d71dbd23e7f71a3d78b6dc09830)

6 years agoMerge "ViewRoot: Check Surface validity before initializing renderer from draw()...
Rob Carr [Mon, 23 Apr 2018 19:22:18 +0000 (19:22 +0000)]
Merge "ViewRoot: Check Surface validity before initializing renderer from draw()." into pi-dev

6 years agoAdd reason to device idle history dump
Amith Yamasani [Mon, 23 Apr 2018 19:19:34 +0000 (12:19 -0700)]
Add reason to device idle history dump

Logging to detect why device came out of doze-light

Bug: 78454609
Test: dumpsys deviceidle
Change-Id: Iaca6f26b412e681747262117bf1b11c4dabe5a05

6 years agoMerge "Global actions visuals:" into pi-dev
Alison Cichowlas [Mon, 23 Apr 2018 19:13:22 +0000 (12:13 -0700)]
Merge "Global actions visuals:" into pi-dev
am: a52c08a7af

Change-Id: I15d0ca8dbd65421d9cc54ed930937d9864dcde49