OSDN Git Service

android-x86/frameworks-base.git
6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev am:...
Mihai Popa [Tue, 5 Jun 2018 11:51:53 +0000 (04:51 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev am: bbfee3189d  -s ours
am: b6c9be3ac2  -s ours

Change-Id: I3b7d566cd344ac2e3c8baf62bfee879e0fd9761c

6 years agoMerge "Crashing can not override Keyguard transit" into pi-dev
Jorim Jaggi [Tue, 5 Jun 2018 11:46:46 +0000 (04:46 -0700)]
Merge "Crashing can not override Keyguard transit" into pi-dev
am: 44121059dc

Change-Id: Ieb020e920e1417d501f12bf7b5c2c57437685d9c

6 years ago[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev
Mihai Popa [Tue, 5 Jun 2018 11:38:11 +0000 (04:38 -0700)]
[automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev
am: bbfee3189d  -s ours

Change-Id: I46ea8080731ca5cd9690dff3e60953f1b2d7e930

6 years agoMerge "Crashing can not override Keyguard transit" into pi-dev
Jorim Jaggi [Tue, 5 Jun 2018 11:32:55 +0000 (11:32 +0000)]
Merge "Crashing can not override Keyguard transit" into pi-dev

6 years agoMerge "Optimise the hit test algorithm" into pi-dev
Mihai Popa [Tue, 5 Jun 2018 11:30:59 +0000 (04:30 -0700)]
Merge "Optimise the hit test algorithm" into pi-dev
am: 0192e9a213

Change-Id: I7c42beb5b63332748d05a7dd4fc7b0e50e5d8f08

6 years agoMerge "Optimise the hit test algorithm" into oc-mr1-dev
TreeHugger Robot [Tue, 5 Jun 2018 11:28:11 +0000 (11:28 +0000)]
Merge "Optimise the hit test algorithm" into oc-mr1-dev

6 years agoMerge "Optimise the hit test algorithm" into pi-dev
TreeHugger Robot [Tue, 5 Jun 2018 11:24:19 +0000 (11:24 +0000)]
Merge "Optimise the hit test algorithm" into pi-dev

6 years agoMerge "Defer stop for all activities becoming invisible" into pi-dev
Jorim Jaggi [Tue, 5 Jun 2018 11:07:52 +0000 (04:07 -0700)]
Merge "Defer stop for all activities becoming invisible" into pi-dev
am: 318e52881e

Change-Id: I9ade540400f07e5a1ad099a5f945f06954060afd

6 years agoMerge "Defer stop for all activities becoming invisible" into pi-dev
Jorim Jaggi [Tue, 5 Jun 2018 10:55:38 +0000 (10:55 +0000)]
Merge "Defer stop for all activities becoming invisible" into pi-dev

6 years agoMerge "Randomize the local Wifi IPv4 address" am: 13cb6084e2
Erik Kline [Tue, 5 Jun 2018 10:16:47 +0000 (03:16 -0700)]
Merge "Randomize the local Wifi IPv4 address" am: 13cb6084e2
am: 9c69afc86f

Change-Id: I47d75c32ccd4bcbbb2f05637fcbae216d7e15015

6 years agoMerge "Randomize the local Wifi IPv4 address"
Erik Kline [Tue, 5 Jun 2018 10:08:53 +0000 (03:08 -0700)]
Merge "Randomize the local Wifi IPv4 address"
am: 13cb6084e2

Change-Id: I2aa4170c8f0b277d6c6e3489012c3698ab3d3229

6 years agoMerge "Randomize the local Wifi IPv4 address"
Treehugger Robot [Tue, 5 Jun 2018 08:11:20 +0000 (08:11 +0000)]
Merge "Randomize the local Wifi IPv4 address"

6 years agoRandomize the local Wifi IPv4 address
Erik Kline [Tue, 29 May 2018 10:24:43 +0000 (19:24 +0900)]
Randomize the local Wifi IPv4 address

Also: address a few "error prone" warnings, adding @Override where missing

Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes (with --no-hidden-api-checks)
    - wifi tethering uses a randomized address, in as much as it can work
Bug: 32163131
Bug: 70673901

Change-Id: Icfabc48f2cf97b362ce292747f47021e84b900da

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN" am: 4d3b5c1d3b
Bernie Innocenti [Tue, 5 Jun 2018 06:08:48 +0000 (23:08 -0700)]
Merge "vpn: allow IPSec traffic through Always-on VPN" am: 4d3b5c1d3b
am: 254f08bc70

Change-Id: I8edeb0942e661c8385ff0cd3fdb72e6f62a8f218

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN"
Bernie Innocenti [Tue, 5 Jun 2018 05:53:58 +0000 (22:53 -0700)]
Merge "vpn: allow IPSec traffic through Always-on VPN"
am: 4d3b5c1d3b

Change-Id: I90fbe3ad3ec8b9d3b52e6036ae07dd8db814cb22

6 years agoMerge "vpn: allow IPSec traffic through Always-on VPN"
Treehugger Robot [Tue, 5 Jun 2018 04:35:55 +0000 (04:35 +0000)]
Merge "vpn: allow IPSec traffic through Always-on VPN"

6 years agoMerge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame...
Yu Jia [Tue, 5 Jun 2018 02:42:29 +0000 (19:42 -0700)]
Merge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame in modue CtsIncidentHostTestCases failed" am: 2dd3d8cbef
am: d490e788f1

Change-Id: I6e3507cfb5b6501dd28fb2b6019fdbb74fb745f0

6 years agoMerge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame...
Yu Jia [Tue, 5 Jun 2018 02:34:00 +0000 (19:34 -0700)]
Merge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame in modue CtsIncidentHostTestCases failed"
am: 2dd3d8cbef

Change-Id: I37d35302041a8759eae91e616fa6f3d5c7fdf401

6 years agoMerge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev
Makoto Onuki [Tue, 5 Jun 2018 01:47:48 +0000 (18:47 -0700)]
Merge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev
am: 205a5581ae

Change-Id: Ie5d327d5efa90946d92fe3a7063fec988fe56fcd

6 years agoMerge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev
Makoto Onuki [Tue, 5 Jun 2018 01:29:48 +0000 (01:29 +0000)]
Merge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev

6 years agoMerge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame...
Treehugger Robot [Tue, 5 Jun 2018 01:15:16 +0000 (01:15 +0000)]
Merge "cts case com.android.server.cts.GraphicsStatsValidationTest#testDaveyDrawFrame in modue CtsIncidentHostTestCases failed"

6 years agoMerge "Ensure automatic battery saver won't stick" into pi-dev
Makoto Onuki [Tue, 5 Jun 2018 00:40:26 +0000 (17:40 -0700)]
Merge "Ensure automatic battery saver won't stick" into pi-dev
am: c1203d6a96

Change-Id: I98897510188c38309f708d86802f83ef3573984d

6 years agoMerge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS""...
Andrew Sapperstein [Tue, 5 Jun 2018 00:28:50 +0000 (17:28 -0700)]
Merge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"" into pi-dev
am: 0c6929ec04

Change-Id: I2f1c4b07946290e3adde90af82b6f7a2ec55f2b1

6 years agoMerge "Read build flag to determine user model." into pi-dev
Ying Zheng [Tue, 5 Jun 2018 00:16:19 +0000 (17:16 -0700)]
Merge "Read build flag to determine user model." into pi-dev
am: 9b5267f914

Change-Id: I08c8e72fdbad7b20ac6039c441feabf2ac31205c

6 years agoMerge "Ensure automatic battery saver won't stick" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 23:35:15 +0000 (23:35 +0000)]
Merge "Ensure automatic battery saver won't stick" into pi-dev

6 years agoMerge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS""...
TreeHugger Robot [Mon, 4 Jun 2018 23:27:42 +0000 (23:27 +0000)]
Merge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"" into pi-dev

6 years agoMerge "Read build flag to determine user model." into pi-dev
Ying Zheng [Mon, 4 Jun 2018 23:21:44 +0000 (23:21 +0000)]
Merge "Read build flag to determine user model." into pi-dev

6 years agoRead build flag to determine user model.
Ying Zheng [Fri, 1 Jun 2018 22:55:30 +0000 (15:55 -0700)]
Read build flag to determine user model.

Bug: 109698349
Test: Manual
Change-Id: I180b6a877ead576b0ed1292376fe0e74b0df1fd9

6 years agoAllow except-idle whitelisted apps to start BG services in EBS
Makoto Onuki [Mon, 4 Jun 2018 21:44:19 +0000 (14:44 -0700)]
Allow except-idle whitelisted apps to start BG services in EBS

Change-Id: I8dd42f48cf13c97b4e428afbf29838f442d8731b
Fixes: 80420676
Test: dumpsys activity processes| grep mDeviceIdle
  mDeviceIdleWhitelist=[1000, 1001, 2000, 10028, 10035, 10036, 10042, 10053, 10137, 10138, 10139, 10142]
  mDeviceIdleExceptIdleWhitelist=[1000, 1001, 2000, 10006, 10008, 10014, 10016, 10028, 10035, 10036, 10042, 10047, 10053, 10058, 10060, 10070, 10111, 10137, 10138, 10139, 10142]
Test: Manual test with "DEBUG_BACKGROUND_CHECK = true" and
am startservice 'com.android.vending/com.google.android.finsky.hygiene.DailyHygiene\$DailyHygieneService'
then check the whitelist log.

6 years agoMerge "Defer client visibility update when calculating new config" into pi-dev
Andrii Kulian [Mon, 4 Jun 2018 22:08:47 +0000 (15:08 -0700)]
Merge "Defer client visibility update when calculating new config" into pi-dev
am: f0e2c8bdde

Change-Id: I4c00d12154728287088bf946306ad78e805f2aec

6 years agoMerge "Defer client visibility update when calculating new config" into pi-dev
Andrii Kulian [Mon, 4 Jun 2018 21:55:13 +0000 (21:55 +0000)]
Merge "Defer client visibility update when calculating new config" into pi-dev

6 years agoMerge "New behavior of setSynchronousMode" into pi-dev
Fyodor Kupolov [Mon, 4 Jun 2018 21:47:39 +0000 (14:47 -0700)]
Merge "New behavior of setSynchronousMode" into pi-dev
am: 492457e94e

Change-Id: I45c388d4386b443a48b6c94632c373dfe1aa8af3

6 years agoMerge "New behavior of setSynchronousMode" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 21:30:17 +0000 (21:30 +0000)]
Merge "New behavior of setSynchronousMode" into pi-dev

6 years agoMerge "Add shell command handler for account manager to allow enabling service bindin...
Hongming Jin [Mon, 4 Jun 2018 21:19:06 +0000 (14:19 -0700)]
Merge "Add shell command handler for account manager to allow enabling service binding for instant app. Test: cts-tradefed run cts -m CtsAccountManagerTestCases cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases Bug: 79367659" into pi-dev
am: 64896541d4

Change-Id: I6221649f9035bcaa5dea4066b5a61c9dc8fdb06d

6 years agoMerge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev
Jackal Guo [Mon, 4 Jun 2018 21:11:44 +0000 (14:11 -0700)]
Merge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev
am: 15ebbeb9fd

Change-Id: I6447f40dae907f63042024ac9558aa9ba6f6f4fd

6 years ago[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is...
Adrian Roos [Mon, 4 Jun 2018 21:06:29 +0000 (14:06 -0700)]
[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am: f04714c59a am: 6281d64277 am: 668761b146  -s ours
am: 60d179780f  -s ours

Change-Id: I42f926077f2aa80eafd18bfdbbea22dbcee634c2

6 years agoMerge "Blank screen when coming from pulse" into pi-dev
Lucas Dupin [Mon, 4 Jun 2018 20:56:52 +0000 (13:56 -0700)]
Merge "Blank screen when coming from pulse" into pi-dev
am: 842ec5085b

Change-Id: Iac099da89693788cab0da36f5feecf66fd92ecef

6 years agoEnsure automatic battery saver won't stick
Makoto Onuki [Mon, 4 Jun 2018 20:54:25 +0000 (13:54 -0700)]
Ensure automatic battery saver won't stick

Fixes: 80527470
Test: Manual tests:
Test 1: (make sure automatic BS won't stick)
- Set up automatic battery saver at N%
- Wait until the battery goes below N% -> Battery saver will turn on
- Turn off the device
- Charge it until the battery goes above N%
- Turn on the device
- Make sure battery saver is off.

Test 1: (make sure manual BS will stick)
- Make sure the battery level is above the automatic threshold
- Manually enable BS
- Reboot
- Make sure battery saver is on.

Change-Id: I677fd586f6b25d0200392941cac2d13b57fe10b3

6 years agoMerge "Camera: fix off by one error" into pi-dev
Yin-Chia Yeh [Mon, 4 Jun 2018 20:51:59 +0000 (13:51 -0700)]
Merge "Camera: fix off by one error" into pi-dev
am: 4003570f57

Change-Id: Ide0f16e58ac2f83320cd8057ee243b9cce45edaa

6 years agoMerge "Add shell command handler for account manager to allow enabling service bindin...
Hongming Jin [Mon, 4 Jun 2018 20:38:46 +0000 (20:38 +0000)]
Merge "Add shell command handler for account manager to allow enabling service binding for instant app. Test: cts-tradefed run cts -m CtsAccountManagerTestCases cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases Bug: 79367659" into pi-dev

6 years agoRevert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"
Andrew Sapperstein [Mon, 4 Jun 2018 20:33:58 +0000 (20:33 +0000)]
Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"

This reverts commit 44c4ca41d83d73d7c1d0e217a80a46a449e8c475.

Reason for revert: Wanted to go with a different option and this was mistakenly Dr. No'ed.

Bug: 80444486
Test: clean revert
Change-Id: I7fdd13a5bc0f4d9fabf91f3e5497c4065008b531

6 years agoMerge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 20:32:30 +0000 (20:32 +0000)]
Merge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev

6 years ago[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is...
Adrian Roos [Mon, 4 Jun 2018 19:49:11 +0000 (12:49 -0700)]
[automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am: f04714c59a am: 6281d64277
am: 668761b146  -s ours

Change-Id: Icf2ed114aa3c2bf500ea59c3f52ec75d0f73ff84

6 years agoMerge "Blank screen when coming from pulse" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 19:45:18 +0000 (19:45 +0000)]
Merge "Blank screen when coming from pulse" into pi-dev

6 years agoMerge "Camera: fix off by one error" into pi-dev
TreeHugger Robot [Mon, 4 Jun 2018 19:34:19 +0000 (19:34 +0000)]
Merge "Camera: fix off by one error" into pi-dev

6 years ago[automerger skipped] Merge "Clear IPv4 address on tethering teardown." am: 86e94acfa4
Erik Kline [Mon, 4 Jun 2018 18:59:48 +0000 (11:59 -0700)]
[automerger skipped] Merge "Clear IPv4 address on tethering teardown." am: 86e94acfa4
am: 877328afa9  -s ours

Change-Id: If86894bf2ee14217b9d58da99b90f0909ce59a10

6 years agoMerge "Send empty LinkProperties when entering StoppedState." am: 59ccf1041f
Erik Kline [Mon, 4 Jun 2018 18:49:28 +0000 (11:49 -0700)]
Merge "Send empty LinkProperties when entering StoppedState." am: 59ccf1041f
am: 48b64fd9f2

Change-Id: Ib946351005140d59e6a559610aa7448ab19c2630

6 years agoMerge "com.android.media.tv.remoteprovider is built with java_sdk_library" am: bd83ac0ecc
Sundong Ahn [Mon, 4 Jun 2018 18:31:38 +0000 (11:31 -0700)]
Merge "com.android.media.tv.remoteprovider is built with java_sdk_library" am: bd83ac0ecc
am: 7295fd2af4

Change-Id: Ib1964e9082209649f7e909bc075da1a61efc2af1

6 years agoMerge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am:...
Adrian Roos [Mon, 4 Jun 2018 18:18:38 +0000 (11:18 -0700)]
Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am: f04714c59a
am: 6281d64277

Change-Id: Ic7b12c406ac5aea0e9f40b5f2c2f72c5efd87212

6 years agoMerge "Add another entry to hidden API light grey" into pi-dev
David Brazdil [Mon, 4 Jun 2018 18:01:48 +0000 (11:01 -0700)]
Merge "Add another entry to hidden API light grey" into pi-dev
am: 23621e7f02

Change-Id: Ib4c4c5afc6451dfed012c7233d056aabd392fe7f

6 years agoAdd more light grey APIs.
Nicolas Geoffray [Mon, 4 Jun 2018 17:54:50 +0000 (10:54 -0700)]
Add more light grey APIs.
am: b4d26bdd4c

Change-Id: I40f4a8b5b1777b37cf2985f54516cfb7e89cf15f

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 4 Jun 2018 17:39:30 +0000 (10:39 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: dea740bdce  -s ours

Change-Id: Ibe1c567b2ff2d32f4287aa9d2bf1d676520cfdd3

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 4 Jun 2018 17:37:50 +0000 (10:37 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 499ab31d92  -s ours

Change-Id: Ib34d094c16349d566a109cc8ec89607aaccdfacc

6 years agoMerge "Clear IPv4 address on tethering teardown."
Erik Kline [Mon, 4 Jun 2018 17:36:28 +0000 (10:36 -0700)]
Merge "Clear IPv4 address on tethering teardown."
am: 86e94acfa4

Change-Id: Ibea385035880e971445b10d814d04c7419d3aaff

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 4 Jun 2018 17:35:19 +0000 (10:35 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: eecbf8d318  -s ours

Change-Id: I8ca084bda9030e414fb44c58b441ab23f62215ea

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 4 Jun 2018 17:32:27 +0000 (10:32 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 874fab7208  -s ours

Change-Id: I2640ed95dfa28b37365ed77d284c2ce547506b8e

6 years agoMerge "Send empty LinkProperties when entering StoppedState."
Erik Kline [Mon, 4 Jun 2018 17:26:40 +0000 (10:26 -0700)]
Merge "Send empty LinkProperties when entering StoppedState."
am: 59ccf1041f

Change-Id: I0405006d15bc5d05d09202fa9dbc81989a9c0717

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Mon, 4 Jun 2018 17:26:27 +0000 (10:26 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: aef1031ce6  -s ours

Change-Id: I0409ab5ffae60156820044018b323b5385692aa6

6 years agoMerge "Add another entry to hidden API light grey" into pi-dev
David Brazdil [Mon, 4 Jun 2018 17:14:49 +0000 (17:14 +0000)]
Merge "Add another entry to hidden API light grey" into pi-dev

6 years agoMerge "com.android.media.tv.remoteprovider is built with java_sdk_library"
Sundong Ahn [Mon, 4 Jun 2018 17:14:24 +0000 (10:14 -0700)]
Merge "com.android.media.tv.remoteprovider is built with java_sdk_library"
am: bd83ac0ecc

Change-Id: I5f786115b1a81a6505e473dc51e82b6b14037d22

6 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Mon, 4 Jun 2018 17:07:15 +0000 (10:07 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 0edea4caec  -s ours

Change-Id: I6c4f3bea431c06a4f9e0d843a752f1ecb8eac0f0

6 years agoMerge "WM: Prevent secondary display focus while keyguard is up" into oc-dev
Adrian Roos [Mon, 4 Jun 2018 17:02:32 +0000 (10:02 -0700)]
Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev
am: f04714c59a

Change-Id: I38bab1ff56a30cccb2f748588ffbbe54d5e17e80

6 years agoAdd shell command handler for account manager to allow enabling service
Hongming Jin [Wed, 30 May 2018 18:01:06 +0000 (11:01 -0700)]
Add shell command handler for account manager to allow enabling service
binding for instant app.
Test: cts-tradefed run cts -m CtsAccountManagerTestCases
cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases
Bug: 79367659

Change-Id: I3ac968ebc20be68da08293d9b685a01920f11b76

6 years agoCamera: fix off by one error
Yin-Chia Yeh [Mon, 4 Jun 2018 16:23:14 +0000 (09:23 -0700)]
Camera: fix off by one error

Test: DngCreator CTS test
Bug: 74434422
Change-Id: Ib8aa5f1eec6a5213f6c2c3aeb2d46475107f13c6

6 years agoMerge "WM: Prevent secondary display focus while keyguard is up" into oc-dev
TreeHugger Robot [Mon, 4 Jun 2018 11:44:21 +0000 (11:44 +0000)]
Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev

6 years agoAdd another entry to hidden API light grey
David Brazdil [Mon, 4 Jun 2018 10:38:16 +0000 (11:38 +0100)]
Add another entry to hidden API light grey

Bug: 80553977
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Ic63b7c21ec77ac67b495a5cc5b8b9336ba41fc46

6 years agoMerge "Clear IPv4 address on tethering teardown."
Treehugger Robot [Mon, 4 Jun 2018 09:45:25 +0000 (09:45 +0000)]
Merge "Clear IPv4 address on tethering teardown."

6 years agoClear IPv4 address on tethering teardown.
Erik Kline [Fri, 18 May 2018 07:09:24 +0000 (16:09 +0900)]
Clear IPv4 address on tethering teardown.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - wlan0 in STA mode, wlan1 up/down in AP mode
      no lingering IPv4 mode
    - USB tethering up/down works
    - bluetooth tethering yields:
05-18 17:50:49.726   719   756 D TetherController: untetherInterface(bt-pan)
05-18 17:50:49.729  1194  1230 E Tethering: [bt-pan] ERROR Failed to clear IPv4 address on interface bt-pan: java.lang.IllegalStateException: command '224 interface setcfg bt-pan 0.0.0.0 0' failed with '400 224 Failed to clear address (No such device)'
      which is acceptable (no actual crash, just a log message)
Bug: 79905644
Merged-In: Ie898adc4efbb7376f0297abacdfe39c8700f0722
Merged-In: I9eb44eaf4e99fa85fff2909524ee88673bdcf1fd
Merged-In: Iaf29788a6692d810f3160e3f21d06b7452ecbaa6

(cherry picked from commit 472276a874316b725027098b79e1c9f03c62cad2)

Change-Id: Icb5c4f7971af4715c7662f80194b4c1ce369a135

6 years agoAdd more light grey APIs.
Nicolas Geoffray [Mon, 4 Jun 2018 07:59:25 +0000 (08:59 +0100)]
Add more light grey APIs.

bug: 109588718
Test: m
Change-Id: Ibf0d0366a2a20124dfaafbc39015a1eb3c1ecedf

6 years agoMerge "Send empty LinkProperties when entering StoppedState."
Erik Kline [Mon, 4 Jun 2018 07:41:51 +0000 (07:41 +0000)]
Merge "Send empty LinkProperties when entering StoppedState."

6 years agovpn: allow IPSec traffic through Always-on VPN
Bernie Innocenti [Mon, 28 May 2018 13:04:37 +0000 (22:04 +0900)]
vpn: allow IPSec traffic through Always-on VPN

This won't leak any traffic outside the VPN as long as there are no
processes owned by uid 0 which generate network traffic (which is
currently the case).

Bug: 69873852
Test: compared the output of 'adb shell ip rule show' before and after
Test: runtest -x frameworks/base/tests/net/java/com/android/server/connectivity/VpnTest.java
Test: local CTS tests run: android.net.cts.VpnServiceTest
Test: local CTS tests run: com.android.cts.devicepolicy.MixedDeviceOwnerTest
Change-Id: I8758e576c9d961d73f62bfcf0559dd7ecee6e8e6

6 years agoMerge "com.android.media.tv.remoteprovider is built with java_sdk_library"
Treehugger Robot [Mon, 4 Jun 2018 04:54:27 +0000 (04:54 +0000)]
Merge "com.android.media.tv.remoteprovider is built with java_sdk_library"

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 23:30:24 +0000 (23:30 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:34:21 +0000 (22:34 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:26:29 +0000 (22:26 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:22:26 +0000 (22:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 3 Jun 2018 22:22:20 +0000 (22:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 3 Jun 2018 14:48:00 +0000 (07:48 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3d8f7c63c86424767ea717511e218c090090a5a2

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 3 Jun 2018 14:40:47 +0000 (07:40 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie47fd40001b22ebd53a452443a52fb3449c3ee68

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 3 Jun 2018 12:41:32 +0000 (05:41 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I470dc0700da24f49ea47c107089be2fc91175e87

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 3 Jun 2018 11:01:15 +0000 (04:01 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ide5351c17e5deb31ebccd586440cf7755bb9b9de

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 3 Jun 2018 10:47:25 +0000 (03:47 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1b358135c0013b5ba30f5d416fd252d474f090bf

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 3 Jun 2018 10:27:06 +0000 (03:27 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If6ca37ec539ab563a635e938845fcc6643b8e2b8

6 years agoDefer client visibility update when calculating new config
Andrii Kulian [Thu, 31 May 2018 19:43:54 +0000 (12:43 -0700)]
Defer client visibility update when calculating new config

In ActivityStackSupervisor#ensureVisibilityAndConfig() we first
update visibility of all activities to be able to properly calculate
configuration on the next step. However, we need to make sure the
latest config is applied whenever a client becomes visible.
To prevent making making activities visible without latest config
this CL defers messages to client in first visibility calculation
pass.

Bug: 76011287
Test: ActivityLifecycleTests
Test: ActivityManagerAppConfigurationTests
Change-Id: I978fc800322fb502545650b9f2eece96cd9c7f40

6 years agoMerge "Ensure picture isn't recording in createBitmap" into pi-dev
John Reck [Fri, 1 Jun 2018 22:46:52 +0000 (15:46 -0700)]
Merge "Ensure picture isn't recording in createBitmap" into pi-dev
am: c4f520ddb6

Change-Id: Ia5170bac1cb32c1ce860c01ee499aab134e22ed0

6 years agoMerge "Ensure picture isn't recording in createBitmap" into pi-dev
John Reck [Fri, 1 Jun 2018 22:25:52 +0000 (22:25 +0000)]
Merge "Ensure picture isn't recording in createBitmap" into pi-dev

6 years agoMerge "Partial revert of "Align Theme, Theme.Holo, and Theme.Holo.Light with Material...
Alan Viverette [Fri, 1 Jun 2018 20:41:12 +0000 (13:41 -0700)]
Merge "Partial revert of "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs"" into pi-dev
am: 4eca92d579

Change-Id: Iba6e9fcf6e697cc630e36b81b27ad1c80a6aa2d6

6 years agoMerge "Partial revert of "Align Theme, Theme.Holo, and Theme.Holo.Light with Material...
Alan Viverette [Fri, 1 Jun 2018 20:29:04 +0000 (20:29 +0000)]
Merge "Partial revert of "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs"" into pi-dev

6 years agoEnsure picture isn't recording in createBitmap
John Reck [Fri, 1 Jun 2018 19:39:50 +0000 (12:39 -0700)]
Ensure picture isn't recording in createBitmap

Picture#draw() will silently due an #endRecording() if it
wasn't called. Bitmap.createBitmap doesn't do this until
after it's too late.

So do an up-front #endRecording() to ensure state is
good to go

Bug: 80539264
Test: HardwareBitmapTests#testReadbackThroughPictureNoEndRecording
Change-Id: Ic66c41462e88880b73c5093d7541c4ce3d71adeb

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Fri, 1 Jun 2018 19:52:05 +0000 (12:52 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: ce67e5d1d5  -s ours

Change-Id: I793e236feb2666c7ec2081b6cab4cc474eda7a1f

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 1 Jun 2018 19:35:37 +0000 (19:35 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoNew behavior of setSynchronousMode
Fyodor Kupolov [Fri, 1 Jun 2018 19:11:42 +0000 (12:11 -0700)]
New behavior of setSynchronousMode

setSynchronousMode is now applicable to any journal mode.
This can be useful for apps that want to use stricter durability
settings for their database.

Test: android.database.sqlite.cts.SQLiteDatabaseTest
Bug: 86953240
Change-Id: I7dbaa6d0bc0975da8067e87b402f63f51b4add10

6 years ago[automerger skipped] Merge "Fix comments to reflect changes in eth service" am: 1f392...
Pavel Maltsev [Fri, 1 Jun 2018 18:40:16 +0000 (11:40 -0700)]
[automerger skipped] Merge "Fix comments to reflect changes in eth service" am: 1f392c468a
am: 967ee98726  -s ours

Change-Id: Ia330744195e2e4ac9182b762ae3c89c1602d3727

6 years agoBlank screen when coming from pulse
Lucas Dupin [Fri, 1 Jun 2018 07:28:58 +0000 (00:28 -0700)]
Blank screen when coming from pulse

We need to fade from black to the app to achieve a nice transition.

Test: visual
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I13edd9c5f7a1bf9378851ac50c513d36ab821c43
Fixes: 87939048

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Fri, 1 Jun 2018 18:32:11 +0000 (11:32 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 1c0fac386f  -s ours

Change-Id: I525a8a78e4fd17b533505e2d5fed9de0d1e5e5d9

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 1 Jun 2018 18:28:39 +0000 (11:28 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3e1475f7ceb9b2b0b37ff52297f550c2b2b6cb0d

6 years agoMerge "Fix comments to reflect changes in eth service"
Pavel Maltsev [Fri, 1 Jun 2018 18:28:04 +0000 (11:28 -0700)]
Merge "Fix comments to reflect changes in eth service"
am: 1f392c468a

Change-Id: I542f43603ef19387c57b74cdadf0900548256c39

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 1 Jun 2018 18:18:35 +0000 (18:18 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Enforce permission check before returning application info Test: atest CtsAppS...
Hongming Jin [Fri, 1 Jun 2018 17:36:14 +0000 (10:36 -0700)]
Merge "Enforce permission check before returning application info Test: atest CtsAppSecurityHostTestCases:ApplicationVisibilityTest Bug: 77821568" into pi-dev
am: dbc6052022

Change-Id: I137f5df296a05d7ec128427d8aafd5ae66b519f7

6 years agoMerge "Fix comments to reflect changes in eth service"
Treehugger Robot [Fri, 1 Jun 2018 17:21:27 +0000 (17:21 +0000)]
Merge "Fix comments to reflect changes in eth service"