OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Destroy networks as soon as they are disconnected." into pi-dev
Chalard Jean [Thu, 24 May 2018 20:35:45 +0000 (13:35 -0700)]
Merge "Destroy networks as soon as they are disconnected." into pi-dev
am: d88abbfd78

Change-Id: I0617f0ff6e46a1d3764335a1e7ad01b34c8cc5a8

6 years agoMerge "DngCreator: Use new LENS_DISTORTION result field if available." into pi-dev
Eino-Ville Talvala [Thu, 24 May 2018 20:05:23 +0000 (13:05 -0700)]
Merge "DngCreator: Use new LENS_DISTORTION result field if available." into pi-dev
am: 05a6e77106

Change-Id: I7a581cd2966ce1a5370bbfb5dc581d2552e7bff1

6 years agoMerge "Use TCM context if application context is unavailble." into pi-dev
Michael Wright [Thu, 24 May 2018 19:58:15 +0000 (12:58 -0700)]
Merge "Use TCM context if application context is unavailble." into pi-dev
am: 87631c2d29

Change-Id: I8ec20d2c5815dfffeb60f11c0b8f9490feed5e94

6 years agoMerge "Revert "Write UsageEvents Parcel data as a Blob"" into pi-dev
Michael Wachenschwanz [Thu, 24 May 2018 19:53:33 +0000 (12:53 -0700)]
Merge "Revert "Write UsageEvents Parcel data as a Blob"" into pi-dev
am: d55c618340

Change-Id: I88a269fd3bcb9f6cda5c6f95ac7edb84db1239f1

6 years agoMerge "Add camera APIs to light grey." into pi-dev
Nicolas Geoffray [Thu, 24 May 2018 19:48:57 +0000 (12:48 -0700)]
Merge "Add camera APIs to light grey." into pi-dev
am: 9ed0da42b3

Change-Id: I985d6d64b670b4f56ad684c94bc83b21b7bd4185

6 years agoMerge "More greylist additions from bug scrape." into pi-dev
Mathew Inwood [Thu, 24 May 2018 19:44:22 +0000 (12:44 -0700)]
Merge "More greylist additions from bug scrape." into pi-dev
am: 7ac3797f16

Change-Id: I9146e0e5d0bc39438c836f9e2cddd881e08b2a16

6 years agoMerge "Differentiate MediaBrowsers in a process for MediaBrowserService" into pi-dev
Jaewan Kim [Thu, 24 May 2018 19:39:29 +0000 (12:39 -0700)]
Merge "Differentiate MediaBrowsers in a process for MediaBrowserService" into pi-dev
am: 0e7a307e14

Change-Id: I455466d79d0c1b534d87b33cdb787194422a51bf

6 years agoMerge "Calculate cellular radio value from modem.controller values." into pi-dev
Hui Yu [Thu, 24 May 2018 19:34:51 +0000 (12:34 -0700)]
Merge "Calculate cellular radio value from modem.controller values." into pi-dev
am: b82d3d7e74

Change-Id: Id309129d9a12a2ec97785c0ef69d09e4cce1dd27

6 years agoMerge "Merge "Initial changes for full-width quickscrub." into pi-dev am: 004e01d388...
Android Build Merger (Role) [Thu, 24 May 2018 19:19:30 +0000 (19:19 +0000)]
Merge "Merge "Initial changes for full-width quickscrub." into pi-dev am: 004e01d388" into pi-dev-plus-aosp

6 years agoMerge "Initial changes for full-width quickscrub." into pi-dev
Winson Chung [Thu, 24 May 2018 19:18:58 +0000 (12:18 -0700)]
Merge "Initial changes for full-width quickscrub." into pi-dev
am: 004e01d388

Change-Id: I47d4709cd607cb12057c36f76074474ba0875f45

6 years agoMerge "Use correct filename when adding to ringtone" am: daff857ffd
Daisuke Teranishi [Thu, 24 May 2018 19:18:14 +0000 (12:18 -0700)]
Merge "Use correct filename when adding to ringtone" am: daff857ffd
am: 24062f05d3

Change-Id: Id9d89491c5604b1611b22f215827f55de98f8ac2

6 years agoMerge "Merge "Fork navbar layout for quickstep" into pi-dev am: 5d8559fea3" into...
Android Build Merger (Role) [Thu, 24 May 2018 19:14:40 +0000 (19:14 +0000)]
Merge "Merge "Fork navbar layout for quickstep" into pi-dev am: 5d8559fea3" into pi-dev-plus-aosp

6 years agoMerge "Fork navbar layout for quickstep" into pi-dev
Mike Digman [Thu, 24 May 2018 19:14:13 +0000 (12:14 -0700)]
Merge "Fork navbar layout for quickstep" into pi-dev
am: 5d8559fea3

Change-Id: I90f524dba0edfdee7b83f71d7f6b69fc9c48855e

6 years agoMerge changes from topic "am-dfb2548770de4bb299490c765377bd11" into pi-dev-plus-aosp
Android Build Merger (Role) [Thu, 24 May 2018 19:11:45 +0000 (19:11 +0000)]
Merge changes from topic "am-dfb2548770de4bb299490c765377bd11" into pi-dev-plus-aosp

* changes:
  Merge changes Id81271ff,I8f298371 am: e7372ab0d5 am: e770b16975
  [automerger skipped] DO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt am: 85c81cb24c  -s ours am: 6041de0722  -s ours

6 years agoMerge changes Id81271ff,I8f298371 am: e7372ab0d5
David Brazdil [Thu, 24 May 2018 19:11:13 +0000 (12:11 -0700)]
Merge changes Id81271ff,I8f298371 am: e7372ab0d5
am: e770b16975

Change-Id: I60749ef44cb4dc2c1629831daabb71ed76030c97

6 years agoMerge "Merge "Fix issue with slippery flag not being updated correctly" into pi-dev...
Android Build Merger (Role) [Thu, 24 May 2018 19:09:59 +0000 (19:09 +0000)]
Merge "Merge "Fix issue with slippery flag not being updated correctly" into pi-dev am: 6450335b56" into pi-dev-plus-aosp

6 years agoMerge "Fix issue with slippery flag not being updated correctly" into pi-dev
Winson Chung [Thu, 24 May 2018 19:09:25 +0000 (12:09 -0700)]
Merge "Fix issue with slippery flag not being updated correctly" into pi-dev
am: 6450335b56

Change-Id: If81769bf6e7911be9e16a2a092cff43b345dedce

6 years ago[automerger skipped] DO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt...
David Brazdil [Thu, 24 May 2018 19:06:00 +0000 (12:06 -0700)]
[automerger skipped] DO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt am: 85c81cb24c  -s ours
am: 6041de0722  -s ours

Change-Id: I1fe6b92ca9db6ea66427760fb529b39aaf30b304

6 years agoMerge "Merge "[Notif] Remove transient views on swipe out" into pi-dev am: 3622bfdba0...
Android Build Merger (Role) [Thu, 24 May 2018 19:05:13 +0000 (19:05 +0000)]
Merge "Merge "[Notif] Remove transient views on swipe out" into pi-dev am: 3622bfdba0" into pi-dev-plus-aosp

6 years agoMerge "[Notif] Remove transient views on swipe out" into pi-dev
Rohan Shah [Thu, 24 May 2018 19:04:40 +0000 (12:04 -0700)]
Merge "[Notif] Remove transient views on swipe out" into pi-dev
am: 3622bfdba0

Change-Id: I6038513050265cdd508188bc71f42b1a42eaf8e5

6 years ago[automerger skipped] Merge changes I3b3bcbbd,I18b3f263,I3c416c1a am: 7b0935509d
Remi NGUYEN VAN [Thu, 24 May 2018 19:03:38 +0000 (12:03 -0700)]
[automerger skipped] Merge changes I3b3bcbbd,I18b3f263,I3c416c1a am: 7b0935509d
am: 20c62063b6  -s ours

Change-Id: Ib1c7270ff0b4dff4f693d9d9a7330bd70ec7505d

6 years agoMerge "Merge "Unsuspending packages when a PO or DO is set" into pi-dev am: 24e913e5a...
Android Build Merger (Role) [Thu, 24 May 2018 19:00:30 +0000 (19:00 +0000)]
Merge "Merge "Unsuspending packages when a PO or DO is set" into pi-dev am: 24e913e5a8" into pi-dev-plus-aosp

6 years agoMerge "Unsuspending packages when a PO or DO is set" into pi-dev
Suprabh Shukla [Thu, 24 May 2018 19:00:03 +0000 (12:00 -0700)]
Merge "Unsuspending packages when a PO or DO is set" into pi-dev
am: 24e913e5a8

Change-Id: Ibc0d2d064fa642f668cf084022f0f7d10e82bc88

6 years agoMerge "Merge "Camera: Use fallback key if the requested key returns null" into pi...
Android Build Merger (Role) [Thu, 24 May 2018 18:55:51 +0000 (18:55 +0000)]
Merge "Merge "Camera: Use fallback key if the requested key returns null" into pi-dev am: 062c050d01" into pi-dev-plus-aosp

6 years agoMerge "Camera: Use fallback key if the requested key returns null" into pi-dev
Justin Yun [Thu, 24 May 2018 18:54:36 +0000 (11:54 -0700)]
Merge "Camera: Use fallback key if the requested key returns null" into pi-dev
am: 062c050d01

Change-Id: If26bfe174dcc91e52ffae386041a9215c87316f8

6 years agoMerge "Merge "MediaPlayer: ensure that jni code returns after throwing exceptions...
Android Build Merger (Role) [Thu, 24 May 2018 18:50:26 +0000 (18:50 +0000)]
Merge "Merge "MediaPlayer: ensure that jni code returns after throwing exceptions." into pi-dev am: 1a9def3dc7" into pi-dev-plus-aosp

6 years agoMerge "MediaPlayer: ensure that jni code returns after throwing exceptions." into...
Dongwon Kang [Thu, 24 May 2018 18:50:00 +0000 (11:50 -0700)]
Merge "MediaPlayer: ensure that jni code returns after throwing exceptions." into pi-dev
am: 1a9def3dc7

Change-Id: I7ebee18631081dbd11dc54227c77d451358b8234

6 years agoMerge "Merge "Remove logging from RecentsOnboarding" into pi-dev am: ee9b570dce"...
Android Build Merger (Role) [Thu, 24 May 2018 18:45:53 +0000 (18:45 +0000)]
Merge "Merge "Remove logging from RecentsOnboarding" into pi-dev am: ee9b570dce" into pi-dev-plus-aosp

6 years agoMerge "Remove logging from RecentsOnboarding" into pi-dev
Tracy Zhou [Thu, 24 May 2018 18:45:32 +0000 (11:45 -0700)]
Merge "Remove logging from RecentsOnboarding" into pi-dev
am: ee9b570dce

Change-Id: I900357e6545ea873095cb1e29bdf21c5b60be4f0

6 years agoMerge "Merge "Fix per app GPS power usage." into pi-dev am: da4c54e9da" into pi-dev...
Android Build Merger (Role) [Thu, 24 May 2018 18:41:17 +0000 (18:41 +0000)]
Merge "Merge "Fix per app GPS power usage." into pi-dev am: da4c54e9da" into pi-dev-plus-aosp

6 years agoMerge "Fix per app GPS power usage." into pi-dev
Hui Yu [Thu, 24 May 2018 18:40:54 +0000 (11:40 -0700)]
Merge "Fix per app GPS power usage." into pi-dev
am: da4c54e9da

Change-Id: I16400dccbc2328548f93cf0fd285cd9be6e07351

6 years agoMerge "Merge "FixBug: Round corner gone when scroll to non-first item and drag to...
Android Build Merger (Role) [Thu, 24 May 2018 18:36:40 +0000 (18:36 +0000)]
Merge "Merge "FixBug: Round corner gone when scroll to non-first item and drag to close" into pi-dev am: d732ec697e" into pi-dev-plus-aosp

6 years agoMerge "FixBug: Round corner gone when scroll to non-first item and drag to close...
Arthur Hung [Thu, 24 May 2018 18:36:20 +0000 (11:36 -0700)]
Merge "FixBug: Round corner gone when scroll to non-first item and drag to close" into pi-dev
am: d732ec697e

Change-Id: Ibdb26abc0c52d3a3de5e80e49dee92809767d08b

6 years agoMerge "Use correct filename when adding to ringtone"
Daisuke Teranishi [Thu, 24 May 2018 18:36:15 +0000 (11:36 -0700)]
Merge "Use correct filename when adding to ringtone"
am: daff857ffd

Change-Id: If0d096e7b33c84522c11077df04407ecc224fcf1

6 years agoMerge "[automerger skipped] Merge "Fixup SntpClient to bypass Private DNS" am: a7183b...
Android Build Merger (Role) [Thu, 24 May 2018 18:32:50 +0000 (18:32 +0000)]
Merge "[automerger skipped] Merge "Fixup SntpClient to bypass Private DNS" am: a7183b92c4 am: 95cb9a1cb3  -s ours" into pi-dev-plus-aosp

6 years ago[automerger skipped] Merge "Fixup SntpClient to bypass Private DNS" am: a7183b92c4
Erik Kline [Thu, 24 May 2018 18:32:32 +0000 (11:32 -0700)]
[automerger skipped] Merge "Fixup SntpClient to bypass Private DNS" am: a7183b92c4
am: 95cb9a1cb3  -s ours

Change-Id: I544b4901f51e6c3038045ef8f7e838161e06ec39

6 years agoMerge "MediaCodec: make setVideoScalingMode usable for IGBP-based clients" into pi-dev
Lajos Molnar [Thu, 24 May 2018 18:31:46 +0000 (11:31 -0700)]
Merge "MediaCodec: make setVideoScalingMode usable for IGBP-based clients" into pi-dev
am: 604064e82d

Change-Id: Id6b79446fb99644b2ce346d58e38f91302d891d1

6 years agoMerge changes Id81271ff,I8f298371
David Brazdil [Thu, 24 May 2018 18:30:28 +0000 (11:30 -0700)]
Merge changes Id81271ff,I8f298371
am: e7372ab0d5

Change-Id: I7e59da1705c22b6f9cb2b3bb78986fdb647716f7

6 years ago[automerger skipped] DO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt
David Brazdil [Thu, 24 May 2018 18:29:04 +0000 (11:29 -0700)]
[automerger skipped] DO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt
am: 85c81cb24c  -s ours

Change-Id: If9cfeeed5cfe1cc7511d540e5560f61356a080dd

6 years agoMerge "Prevent onboarding counters from overflow." into pi-dev
Tracy Zhou [Thu, 24 May 2018 18:27:04 +0000 (11:27 -0700)]
Merge "Prevent onboarding counters from overflow." into pi-dev
am: 0ce1cc626b

Change-Id: I187b0d39be0535d108d3a17151aa5ae1314fdaeb

6 years agoMerge "SystemUI theme feature flag" into pi-dev
Lucas Dupin [Thu, 24 May 2018 18:13:58 +0000 (11:13 -0700)]
Merge "SystemUI theme feature flag" into pi-dev
am: 3884e936c9

Change-Id: Ie3ef39ec76e782f4f6893207106d2e25243af793

6 years agoMerge "Destroy networks as soon as they are disconnected." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 17:57:46 +0000 (17:57 +0000)]
Merge "Destroy networks as soon as they are disconnected." into pi-dev

6 years agoMerge changes I3b3bcbbd,I18b3f263,I3c416c1a
Remi NGUYEN VAN [Thu, 24 May 2018 17:57:46 +0000 (10:57 -0700)]
Merge changes I3b3bcbbd,I18b3f263,I3c416c1a
am: 7b0935509d

Change-Id: I3bf92d8c1d1b4451b1af9dcb518b352ae40cc7ca

6 years agoMerge "DngCreator: Use new LENS_DISTORTION result field if available." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 17:47:10 +0000 (17:47 +0000)]
Merge "DngCreator: Use new LENS_DISTORTION result field if available." into pi-dev

6 years agoMerge "Use correct filename when adding to ringtone"
Treehugger Robot [Thu, 24 May 2018 16:55:49 +0000 (16:55 +0000)]
Merge "Use correct filename when adding to ringtone"

6 years agoMerge "Use TCM context if application context is unavailble." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 16:30:16 +0000 (16:30 +0000)]
Merge "Use TCM context if application context is unavailble." into pi-dev

6 years agoMerge "Revert "Write UsageEvents Parcel data as a Blob"" into pi-dev
Michael Wachenschwanz [Thu, 24 May 2018 15:54:05 +0000 (15:54 +0000)]
Merge "Revert "Write UsageEvents Parcel data as a Blob"" into pi-dev

6 years agoRevert "Write UsageEvents Parcel data as a Blob"
Michael Wachenschwanz [Thu, 24 May 2018 15:28:24 +0000 (15:28 +0000)]
Revert "Write UsageEvents Parcel data as a Blob"

This reverts commit f5bae21c5efcd51c0b3fb29942c02c00b896fccf.

Reason for revert:
Bug: 79860717
Fixes: 80215357

Change-Id: I0768e5ce0a95afe7ff091c0035335437bb33c46c

6 years agoMerge "Fixup SntpClient to bypass Private DNS"
Erik Kline [Thu, 24 May 2018 14:39:50 +0000 (07:39 -0700)]
Merge "Fixup SntpClient to bypass Private DNS"
am: a7183b92c4

Change-Id: I51e0e71f81307c38599c4bbac385ebafeb9f441f

6 years agoUse TCM context if application context is unavailble.
Michael Wright [Thu, 24 May 2018 12:41:50 +0000 (13:41 +0100)]
Use TCM context if application context is unavailble.

In TextClassificationManager, we use the application context to reduce
the likelihood of leaking the underlying Activity. Unfortunately, some
places (e.g. auto, system_server) don't actually provide us an
application context, so we need to fall back to whatever context was
passed in to TCM in the first place.

Bug: 80188317
Test: none
Change-Id: Ib4b2e6ed543d3ed56cefd8f56717855158cdc0fe

6 years agoMerge "Add camera APIs to light grey." into pi-dev
Nicolas Geoffray [Thu, 24 May 2018 12:31:13 +0000 (12:31 +0000)]
Merge "Add camera APIs to light grey." into pi-dev

6 years agoMerge "More greylist additions from bug scrape." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 12:17:41 +0000 (12:17 +0000)]
Merge "More greylist additions from bug scrape." into pi-dev

6 years agoMore greylist additions from bug scrape.
Mathew Inwood [Thu, 24 May 2018 10:37:56 +0000 (11:37 +0100)]
More greylist additions from bug scrape.

Test: m
Bug: 64382372
Bug: 79950834
Bug: 80004540
Bug: 80109977
Bug: 80112684
Bug: 80204728
Change-Id: I8343f0d467a5d1ecd4e00abcf44871089e8453b3

6 years agoMerge changes Id81271ff,I8f298371
Treehugger Robot [Thu, 24 May 2018 10:14:08 +0000 (10:14 +0000)]
Merge changes Id81271ff,I8f298371

* changes:
  DO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt
  DO NOT MERGE ANYWHERE Sort hiddenapi-p-light-greylist.txt

6 years agoMerge "Differentiate MediaBrowsers in a process for MediaBrowserService" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 09:59:28 +0000 (09:59 +0000)]
Merge "Differentiate MediaBrowsers in a process for MediaBrowserService" into pi-dev

6 years agoDO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt
David Brazdil [Wed, 23 May 2018 14:58:36 +0000 (15:58 +0100)]
DO NOT MERGE ANYWHERE Update hiddenapi-p-light-greylist.txt

Test: N/A
Change-Id: Id81271ffe2080091d4e4c3d40325183b086dba8e

6 years agoDO NOT MERGE ANYWHERE Sort hiddenapi-p-light-greylist.txt
David Brazdil [Wed, 23 May 2018 14:54:31 +0000 (15:54 +0100)]
DO NOT MERGE ANYWHERE Sort hiddenapi-p-light-greylist.txt

Test: N/A
Change-Id: I8f298371df3efbc3d968c95337e058d6140fe5de

6 years agoMerge changes I3b3bcbbd,I18b3f263,I3c416c1a
Remi NGUYEN VAN [Thu, 24 May 2018 07:53:00 +0000 (07:53 +0000)]
Merge changes I3b3bcbbd,I18b3f263,I3c416c1a

* changes:
  Use CaptivePortalProbeSpec method in portal app
  Add configurable captive portal probes
  Move CaptivePortalProbeResult to its own file

6 years agoMerge "Fixup SntpClient to bypass Private DNS"
Treehugger Robot [Thu, 24 May 2018 07:07:15 +0000 (07:07 +0000)]
Merge "Fixup SntpClient to bypass Private DNS"

6 years agoMerge "Calculate cellular radio value from modem.controller values." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 06:11:27 +0000 (06:11 +0000)]
Merge "Calculate cellular radio value from modem.controller values." into pi-dev

6 years agoMerge "Initial changes for full-width quickscrub." into pi-dev
Winson Chung [Thu, 24 May 2018 05:55:47 +0000 (05:55 +0000)]
Merge "Initial changes for full-width quickscrub." into pi-dev

6 years agoMerge "Fork navbar layout for quickstep" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 05:03:14 +0000 (05:03 +0000)]
Merge "Fork navbar layout for quickstep" into pi-dev

6 years agoFixup SntpClient to bypass Private DNS
Erik Kline [Tue, 22 May 2018 12:15:49 +0000 (21:15 +0900)]
Fixup SntpClient to bypass Private DNS

NTP may be necessary in order to validate Private DNS certificates,
so it should be allowed to bypass Private DNS.

Test: as follows
    - built, flashed, booted
    - tcpdump for port 53; adb shell am restart
      queries for the NTP hostname appear in the clear
    - runtest frameworks-net passes
Bug: 64133961
Bug: 80118648
Merged-In: I4655e3ce5691098c73bf070b8a9e4759485bb17a
Merged-In: I327b816a9f472e94328232157a3b8887d17b0baf
Change-Id: Id9ceb3fcaaffb48cbbd4cd381d48cae991572c9e
(cherry picked from commit 7eccfeb9ca60aa6e09afbdf3a4435cb2f0d12987)

6 years agoMerge "Fix issue with slippery flag not being updated correctly" into pi-dev
Winson Chung [Thu, 24 May 2018 04:13:47 +0000 (04:13 +0000)]
Merge "Fix issue with slippery flag not being updated correctly" into pi-dev

6 years agoMerge "[Notif] Remove transient views on swipe out" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 03:47:27 +0000 (03:47 +0000)]
Merge "[Notif] Remove transient views on swipe out" into pi-dev

6 years agoInitial changes for full-width quickscrub.
Winson Chung [Tue, 22 May 2018 01:41:39 +0000 (18:41 -0700)]
Initial changes for full-width quickscrub.

Bug: 79945202
Test: Swipe from anywhere in the nav bar

Change-Id: Ib0b07ceb64fb74c570c297acf865a37a1dc56fa8

6 years agoUse CaptivePortalProbeSpec method in portal app
Remi NGUYEN VAN [Tue, 22 May 2018 08:04:17 +0000 (17:04 +0900)]
Use CaptivePortalProbeSpec method in portal app

This only changes behavior if the EXTRA_CAPTIVE_PORTAL_PROBE_SPEC extra
is passed, which only happens if extra probe specs have been defined in
settings.

Bug: b/79499239
Test: manual: on 2 different portals, works w/ and w/o the setting
Merged-In: Iebd307b5d73a7b4679baea2a1c12c3baba6a7447
Merged-In: I851d8c41d42dccb03f813e549439f44c83f7d5ac
(clean cherry-pick of pi-dev I70acfd9213bf620cbb79ad999b8ad03472e8d43f)

Change-Id: I3b3bcbbd380f8cbd0b663556d55276f43e30b3e5

6 years agoAdd configurable captive portal probes
Remi NGUYEN VAN [Tue, 22 May 2018 01:01:53 +0000 (10:01 +0900)]
Add configurable captive portal probes

The probes allow testing for a configurable status code and location
header (regexes). They are disabled by default, so this CL is a
no-op unless the probe configurations are pushed.

Bug: b/79499239
Test: tests in CL pass, manual: captive portal login works
Merged-In: Iec7a74bbf2569a91e958c497200d77e8451cbf7b
Merged-In: Ia958815325d1466345e9626efc8f62fc9d08d774
(clean cherry-pick of pi-dev I785723aaed06054b9aa8ebff77803f23d7836db9)

Change-Id: I18b3f263fed08fa4fee20d5e88f3ec8647d7f835

6 years agoMove CaptivePortalProbeResult to its own file
Remi NGUYEN VAN [Tue, 22 May 2018 00:58:19 +0000 (09:58 +0900)]
Move CaptivePortalProbeResult to its own file

This is necessary to resolve visibility issues for the next change.

Bug: b/79499239
Test: runtest frameworks-net
Merged-In: Ia48b32307a51a66f2672d7112f71166dd6db41b1
Merged-In: I5df7ee9f16bc6be4f02353d40a843a383dd4cbd9
(Clean cherry-pick of pi-dev I50bc96afe6ae88c8f58a693f0a4e821f1f9b3299)

Change-Id: I3c416c1a91ebfdf914fd528ff8ab73e3eb490562

6 years agoMerge "Unsuspending packages when a PO or DO is set" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 03:01:38 +0000 (03:01 +0000)]
Merge "Unsuspending packages when a PO or DO is set" into pi-dev

6 years agoFix issue with slippery flag not being updated correctly
Winson Chung [Thu, 24 May 2018 01:24:13 +0000 (18:24 -0700)]
Fix issue with slippery flag not being updated correctly

- The ordering was such that the disabled state was updated before
  onPanelExpandedChange which was masking the issue by updating the
  slippery flag, but when unlocking from the screen off state, we get
  onPanelExpandedChange first, and disabled state after (which doesn't
  update the slippery state).

Bug: 80204751
Test: Turn screen off, unlock with fingerprint, swipe up
Change-Id: I88f1bc6a983ec0d693844724d8b9d4bf11a0fd31

6 years agoDestroy networks as soon as they are disconnected.
Chalard Jean [Fri, 11 May 2018 11:19:20 +0000 (20:19 +0900)]
Destroy networks as soon as they are disconnected.

...as opposed to after the async channel finished disconnecting.

Bug: 78308259
Test: runtest frameworks-net
      also used a device with this patch over the weekend and
      tried all I could think of

Change-Id: I77ad6d97abb20815b801a794eaa9685acf2d1173

6 years agoUse correct filename when adding to ringtone
Daisuke Teranishi [Fri, 18 May 2018 00:43:54 +0000 (09:43 +0900)]
Use correct filename when adding to ringtone

If the title of the music file includes "/", it's recognized
as a directory separator.
Use correct filename to select the file properly.

Bug: 80202253
Test: Add mp3 which title includes "/" to ringtone

Change-Id: I9bb05f6fe2d7d4dbbdf4f67db7ac6fde04707979

6 years agoMerge "Camera: Use fallback key if the requested key returns null" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 02:09:02 +0000 (02:09 +0000)]
Merge "Camera: Use fallback key if the requested key returns null" into pi-dev

6 years agoMerge "MediaPlayer: ensure that jni code returns after throwing exceptions." into...
TreeHugger Robot [Thu, 24 May 2018 01:59:09 +0000 (01:59 +0000)]
Merge "MediaPlayer: ensure that jni code returns after throwing exceptions." into pi-dev

6 years agoMerge "Refactor for tuning gfx-max-frame-time-99" into pi-dev
Tony Huang [Thu, 24 May 2018 01:58:47 +0000 (18:58 -0700)]
Merge "Refactor for tuning gfx-max-frame-time-99" into pi-dev
am: 845e89320d

Change-Id: I8db023e3773ef11eca21d4e1b1aff9dc30293f1d

6 years agoMerge "Use STOCK_PM_FLAGS for backup agent" into pi-dev
Todd Kennedy [Thu, 24 May 2018 01:47:29 +0000 (18:47 -0700)]
Merge "Use STOCK_PM_FLAGS for backup agent" into pi-dev
am: 3cc8336198

Change-Id: I1db6dc526e31d7b579cdd49a466ff6fea35d1e0f

6 years agoMerge "Make sure frame buffer 0 is bound before calling GL functor" into pi-dev
Stan Iliev [Thu, 24 May 2018 01:36:42 +0000 (18:36 -0700)]
Merge "Make sure frame buffer 0 is bound before calling GL functor" into pi-dev
am: a2cc38e7fb

Change-Id: Iedbd9549e754bb2884f447e3d964b9601e9161e5

6 years agoMerge "Remove logging from RecentsOnboarding" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 01:35:31 +0000 (01:35 +0000)]
Merge "Remove logging from RecentsOnboarding" into pi-dev

6 years agoMerge "Add FLAG_ACTIVITY_CLEAR_TOP to more details intent" into pi-dev
Petr Cermak [Thu, 24 May 2018 01:05:08 +0000 (18:05 -0700)]
Merge "Add FLAG_ACTIVITY_CLEAR_TOP to more details intent" into pi-dev
am: 261a101ac2

Change-Id: I5835d0d534859253aaa1927a4e8a0cf9a4d5aaea

6 years agoFork navbar layout for quickstep
Mike Digman [Mon, 21 May 2018 18:21:30 +0000 (11:21 -0700)]
Fork navbar layout for quickstep

Different navbar layouts are loaded via config.xml depending
on if Quickstep is enabled. A contextual button frame is added
to replace the right nav buttons so different styling can be
applied. New back, rotate and keyboard icons are added.

Maintains support for custom navbar layouts. Adds support for
nested reversable elements, needed for contextual button frame.
Fixes navbar gravity support by using RelativeLayout's gravity
and top/bottom switching.

Change-Id: I5e24b2392c377313d421c0f95c3a7a0b99f32590
Fixes: 79930722
Fixes: 79930974
Fixes: 80164476
Test: manual, crash sysui, test against a11y, gb menu, rotate

6 years agoMerge "DO NOT MERGE Allow cross user usage event queries" into pi-dev
Julia Reynolds [Thu, 24 May 2018 00:51:11 +0000 (17:51 -0700)]
Merge "DO NOT MERGE Allow cross user usage event queries" into pi-dev
am: 452936192f

Change-Id: Ied4b55365157a03f9bcc15166b330ceb2e62530c

6 years agoCalculate cellular radio value from modem.controller values.
Hui Yu [Wed, 23 May 2018 21:39:24 +0000 (14:39 -0700)]
Calculate cellular radio value from modem.controller values.

Recently cellular radio related values {"radio.active", "radio.scanning",
"radio.on"} are removed from power_profile.xml, which causes inaccurate
radio power usage. We use following formula to calculate radio
values from modem.controller values.

radio.active = average of modem.controller.rx and modem.controller.tx values
radio.scanning = 0 (since this is already included in radio.on bin 0)
<array name="radio.on"> <!-- Strength 0 to BINS-1 -->
    <value>modem.controller.idle * 25 / 180 </value>   <!-- none -->
    <value>max(1, modem.controller.idle/256) </value>  <!-- poor -->
    <value>max(1, modem.controller.idle/256) </value>  <!-- moderate -->
    <value>max(1, modem.controller.idle/256) </value>  <!-- good -->
    <value>max(1, modem.controller.idle/256) </value>  <!-- great -->
 </array>

Bug: 79379255
Test:  use debugger to observe correct mPowerRadioOn, mPowerBins,
mPowerScan are calculated. "adb shell dumpsys batterystats", looking for
"radio=" in "Estimated power use" section.

Change-Id: Ic65a5c8a35a5b1f4ba05ddc150e29b00bc62689f

6 years agoMerge "Proto change for new RSSI poll metric" into pi-dev
Oscar Shu [Thu, 24 May 2018 00:43:17 +0000 (17:43 -0700)]
Merge "Proto change for new RSSI poll metric" into pi-dev
am: 9f402f41e2

Change-Id: I4131c892c9aab746b846cbed5093bdd4034ad034

6 years agoMerge "Write UsageEvents Parcel data as a Blob" into pi-dev
Michael Wachenschwanz [Thu, 24 May 2018 00:38:41 +0000 (17:38 -0700)]
Merge "Write UsageEvents Parcel data as a Blob" into pi-dev
am: 615f8039af

Change-Id: I7e7f663d3eae14630cc5f2b357ead02c4875d19a

6 years agoMediaPlayer: ensure that jni code returns after throwing exceptions.
Dongwon Kang [Thu, 24 May 2018 00:38:35 +0000 (17:38 -0700)]
MediaPlayer: ensure that jni code returns after throwing exceptions.

Test: no crash on getPlaybackParams and pass post media CTS
Bug: 80200877
Change-Id: I7538967962acc2a23062615c0d39720b34505f17

6 years agoMerge "DO NOT MERGE Fix bug when pressing the add user cancel button results in a...
Aarthi Balachander [Thu, 24 May 2018 00:34:15 +0000 (17:34 -0700)]
Merge "DO NOT MERGE Fix bug when pressing the add user cancel button results in a black screen Test: Tested on Mojave Bug: 80187163 Change-Id: Ie46c228dea9de71b97a276f7e4f2d60fe98649b6" into pi-dev
am: 4a0371bb88

Change-Id: I4bd8bdc43acd456120335992c2d334f380022d82

6 years agoMerge "Only animate when the slice is actually animating" into pi-dev
Lucas Dupin [Thu, 24 May 2018 00:30:56 +0000 (17:30 -0700)]
Merge "Only animate when the slice is actually animating" into pi-dev
am: 3116918bf0

Change-Id: Ibd2b6744b42fdf503fc31cbe616fc2b2f15e5f88

6 years agoMerge "Add new hardware reliability actions and fields" into pi-dev
Andrew Chant [Thu, 24 May 2018 00:26:27 +0000 (17:26 -0700)]
Merge "Add new hardware reliability actions and fields" into pi-dev
am: f021d88cd8

Change-Id: Ic84deec5f0277e1ff2db8ff08f75c79d605f8bbe

6 years agoMerge "Fix per app GPS power usage." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 00:22:22 +0000 (00:22 +0000)]
Merge "Fix per app GPS power usage." into pi-dev

6 years agoMerge "Populate mPackages with system pkg even if installed is better" into pi-dev
Patrick Baumann [Thu, 24 May 2018 00:21:48 +0000 (17:21 -0700)]
Merge "Populate mPackages with system pkg even if installed is better" into pi-dev
am: 28ea454824

Change-Id: I92b2320ac2d1fdb4fabe03af47688d87dac10eba

6 years agoMerge "Whitelist ResolveActivity for explicit instant intents" into pi-dev
Patrick Baumann [Thu, 24 May 2018 00:17:22 +0000 (17:17 -0700)]
Merge "Whitelist ResolveActivity for explicit instant intents" into pi-dev
am: bf67b4ede0

Change-Id: I1bb72507f7d4b2e713cc3084217cba025ffaebf6

6 years agoMerge "Initialize color mode if set" into pi-dev
Christine Franks [Thu, 24 May 2018 00:12:57 +0000 (17:12 -0700)]
Merge "Initialize color mode if set" into pi-dev
am: 5cb4117353

Change-Id: I136cd337d23c60465b18b4162ad4cdd7e6fc8652

6 years ago[Notif] Remove transient views on swipe out
Rohan Shah [Tue, 22 May 2018 17:59:30 +0000 (10:59 -0700)]
[Notif] Remove transient views on swipe out

We are not removing transient views for the 'swiped out' animation.
Utilizing the transient view cleanup in onAnimationFinished to handle
this better.

Test: Manually
Bug: 79896012
Change-Id: I3c169815433e34795472264de30ff23b3d744269

6 years agoMerge "Dismiss system-windows when opening assistant via voice." into pi-dev
Rob Carr [Thu, 24 May 2018 00:08:28 +0000 (17:08 -0700)]
Merge "Dismiss system-windows when opening assistant via voice." into pi-dev
am: a536869cfe

Change-Id: If79a858967a41205a5b2090aa8a1f9583417d23e

6 years agoMerge "Add field to set A2DP device volume on connect (1/2)" into pi-dev
Ajay Panicker [Thu, 24 May 2018 00:03:07 +0000 (17:03 -0700)]
Merge "Add field to set A2DP device volume on connect (1/2)" into pi-dev
am: d8e8126abe

Change-Id: Iefd55728bd7b2a22944de775a2dd24124bfa2bb0

6 years agoMerge "FixBug: Round corner gone when scroll to non-first item and drag to close...
TreeHugger Robot [Thu, 24 May 2018 00:00:51 +0000 (00:00 +0000)]
Merge "FixBug: Round corner gone when scroll to non-first item and drag to close" into pi-dev

6 years agoMerge "Wicked good battery saver + rotation icons!" into pi-dev
Evan Laird [Wed, 23 May 2018 23:58:34 +0000 (16:58 -0700)]
Merge "Wicked good battery saver + rotation icons!" into pi-dev
am: f354ba185a

Change-Id: I7936cfc374390bfde381759c6265b786d86e4248

6 years agoMerge "Use CaptivePortalProbeSpec method in portal app" into pi-dev
Chalard Jean [Wed, 23 May 2018 23:54:08 +0000 (16:54 -0700)]
Merge "Use CaptivePortalProbeSpec method in portal app" into pi-dev
am: 9a963e1137

Change-Id: Iebd307b5d73a7b4679baea2a1c12c3baba6a7447

6 years agoMerge "Replace nav bar assets from png to vector drawables (1/2)" into pi-dev
Winson Chung [Wed, 23 May 2018 23:49:22 +0000 (16:49 -0700)]
Merge "Replace nav bar assets from png to vector drawables (1/2)" into pi-dev
am: 98cb40cf4b

Change-Id: I4f257067437e26f75a5614c65b6f4ce8c2cf615f