OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Set country code even when device is not registered on network" am: fc9bc10d69
Jack Yu [Mon, 23 Apr 2018 18:28:31 +0000 (11:28 -0700)]
Merge "Set country code even when device is not registered on network" am: fc9bc10d69
am: ba7001c930

Change-Id: Id8b309a081996af590da42cbc73ded3c2c09b153

6 years agoMerge "AOD: Fix WakeLock leak" into pi-dev
Adrian Roos [Mon, 23 Apr 2018 18:23:23 +0000 (11:23 -0700)]
Merge "AOD: Fix WakeLock leak" into pi-dev
am: 888a82fdb3

Change-Id: I7c34e5f84dc66ea6373f80f2cf976cc07bcfec9a

6 years agoMerge "Do not allow elevating system_server priority for remote anim" into pi-dev
Jorim Jaggi [Mon, 23 Apr 2018 18:18:46 +0000 (11:18 -0700)]
Merge "Do not allow elevating system_server priority for remote anim" into pi-dev
am: cff0c85629

Change-Id: I3eb4873f1461a815ebe3e0c10f68e025ca6a80cc

6 years agoMerge "AOD: Fix WakeLock leak" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:09:09 +0000 (18:09 +0000)]
Merge "AOD: Fix WakeLock leak" into pi-dev

6 years agoMerge "Do not allow elevating system_server priority for remote anim" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 18:03:07 +0000 (18:03 +0000)]
Merge "Do not allow elevating system_server priority for remote anim" into pi-dev

6 years agoMerge "Enabled aggregated per-uid stats collection by default" into pi-dev
Fyodor Kupolov [Mon, 23 Apr 2018 17:59:49 +0000 (10:59 -0700)]
Merge "Enabled aggregated per-uid stats collection by default" into pi-dev
am: 981d61ddf8

Change-Id: Ibb574c2d32c34e900287de2173a0212aa20ed715

6 years agoMerge "AodPolicy: Fix service leak" into pi-dev
Adrian Roos [Mon, 23 Apr 2018 17:52:54 +0000 (10:52 -0700)]
Merge "AodPolicy: Fix service leak" into pi-dev
am: 4f4882f2ce

Change-Id: I78c5562bf976eb55ba2991f144f48b3d4d327262

6 years agoMerge "Enabled aggregated per-uid stats collection by default" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 17:49:06 +0000 (17:49 +0000)]
Merge "Enabled aggregated per-uid stats collection by default" into pi-dev

6 years agoMerge "AodPolicy: Fix service leak" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 17:44:10 +0000 (17:44 +0000)]
Merge "AodPolicy: Fix service leak" into pi-dev

6 years agoDo not allow elevating system_server priority for remote anim
Jorim Jaggi [Wed, 18 Apr 2018 16:17:56 +0000 (18:17 +0200)]
Do not allow elevating system_server priority for remote anim

Test: go/wm-smoke
Bug: 77908520
Change-Id: I45f47d73bedb7317c9e80907930f8d4d628f212a

6 years agoAodPolicy: Fix service leak
Adrian Roos [Mon, 23 Apr 2018 15:48:08 +0000 (17:48 +0200)]
AodPolicy: Fix service leak

Fixes an issue where the AlwaysOnDisplayPolicy leaked a service
context, and with it the entirety of DozeMachine, preventing
wakelocks from being GCed and preventing them from being
fallback-released.

Bug: 78402666
Test: Toggle screen on and off a few times, verify that DozeService is not being leaked.
Change-Id: Ie3ad67c2d0c83760f4d04a53394fab4a3a35d6bc

6 years agoAOD: Fix WakeLock leak
Adrian Roos [Mon, 23 Apr 2018 15:41:17 +0000 (17:41 +0200)]
AOD: Fix WakeLock leak

Bug: 78402666
Test: Toggle screen off and on again real quick. Verify "Doze" wake lock was not leaked.
Change-Id: Ie34f8aeeb5d10628f2a40567267ab36e694e21bb

6 years agoMerge "Light greylist additions." into pi-dev
Mathew Inwood [Mon, 23 Apr 2018 16:18:16 +0000 (09:18 -0700)]
Merge "Light greylist additions." into pi-dev
am: 54e0be0d25

Change-Id: Id769613b22f92bfb624b59674cdb3b2b87511c29

6 years agoMerge "Metrics constants for new zen screen" into pi-dev
Julia Reynolds [Mon, 23 Apr 2018 16:10:13 +0000 (09:10 -0700)]
Merge "Metrics constants for new zen screen" into pi-dev
am: 11e2010547

Change-Id: I64f092c64e35829a8beb90054d8b98226805cd8d

6 years agoMerge "Fixed ConcurrentModificationException with HearingAids profile" into pi-dev
Stanley Tng [Mon, 23 Apr 2018 16:03:47 +0000 (09:03 -0700)]
Merge "Fixed ConcurrentModificationException with HearingAids profile" into pi-dev
am: 36f15ae21c

Change-Id: I095a1632f29d9ac94859a3d2eace1bc207632334

6 years agoMerge "Light greylist additions." into pi-dev
Mathew Inwood [Mon, 23 Apr 2018 15:57:27 +0000 (15:57 +0000)]
Merge "Light greylist additions." into pi-dev

6 years agoMerge "Metrics constants for new zen screen" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 15:56:04 +0000 (15:56 +0000)]
Merge "Metrics constants for new zen screen" into pi-dev

6 years agoMerge "Fixed ConcurrentModificationException with HearingAids profile" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 15:53:47 +0000 (15:53 +0000)]
Merge "Fixed ConcurrentModificationException with HearingAids profile" into pi-dev

6 years agoMerge "Merge "Add more light grey APIs." into pi-dev am: 4c9902ada3" into pi-dev...
Android Build Merger (Role) [Mon, 23 Apr 2018 15:42:03 +0000 (15:42 +0000)]
Merge "Merge "Add more light grey APIs." into pi-dev am: 4c9902ada3" into pi-dev-plus-aosp

6 years agoMerge "Add more light grey APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 15:41:41 +0000 (08:41 -0700)]
Merge "Add more light grey APIs." into pi-dev
am: 4c9902ada3

Change-Id: I4e43585a0fd1159b483d3f7cdc9ba86d23adf694

6 years agoMerge "Move frameworks/base off the SRC_API_DIR variable." into pi-dev-plus-aosp
Anton Hansson [Mon, 23 Apr 2018 15:36:08 +0000 (15:36 +0000)]
Merge "Move frameworks/base off the SRC_API_DIR variable." into pi-dev-plus-aosp

6 years agoMerge "Add more light grey APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 15:27:43 +0000 (15:27 +0000)]
Merge "Add more light grey APIs." into pi-dev

6 years agoMerge "Revert "Temporarily whitelist platform test packages for hidden API"" into...
David Brazdil [Mon, 23 Apr 2018 15:17:13 +0000 (08:17 -0700)]
Merge "Revert "Temporarily whitelist platform test packages for hidden API"" into pi-dev
am: 8819dc8649

Change-Id: I20fba273e1dfa590dd9abbee2c4e482d708c4118

6 years agoMerge "Make settings icon invisible when QS is collapsed." into pi-dev
Amin Shaikh [Mon, 23 Apr 2018 15:10:56 +0000 (08:10 -0700)]
Merge "Make settings icon invisible when QS is collapsed." into pi-dev
am: 4a32b51800

Change-Id: I19fb5223a5715c83eb708431eaee8632cb960575

6 years agoMerge "Revert "Temporarily whitelist platform test packages for hidden API"" into...
David Brazdil [Mon, 23 Apr 2018 15:01:49 +0000 (15:01 +0000)]
Merge "Revert "Temporarily whitelist platform test packages for hidden API"" into pi-dev

6 years agoMerge "Make settings icon invisible when QS is collapsed." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 14:56:01 +0000 (14:56 +0000)]
Merge "Make settings icon invisible when QS is collapsed." into pi-dev

6 years agoMerge "Thaw input dispatching immediately after unfreezing." into pi-dev
Bryce Lee [Mon, 23 Apr 2018 14:33:46 +0000 (07:33 -0700)]
Merge "Thaw input dispatching immediately after unfreezing." into pi-dev
am: b2bbf2f12c

Change-Id: I79c40a721840f018b3a5a6a861797a3f080f8896

6 years agoMerge "Consider lock state when determining next activity to become visible." into...
Bryce Lee [Mon, 23 Apr 2018 14:27:54 +0000 (07:27 -0700)]
Merge "Consider lock state when determining next activity to become visible." into pi-dev
am: 00f4a4bc74

Change-Id: Ied73f5090e5c790c884d817ac57399d70952ff6f

6 years agoMetrics constants for new zen screen
Julia Reynolds [Mon, 23 Apr 2018 13:41:21 +0000 (09:41 -0400)]
Metrics constants for new zen screen

Test: make
Bug: 78448988
Change-Id: Iaf3b35b3f22dd81c372683042372681f4086f1c8

6 years agoMerge "Thaw input dispatching immediately after unfreezing." into pi-dev
Bryce Lee [Mon, 23 Apr 2018 14:09:54 +0000 (14:09 +0000)]
Merge "Thaw input dispatching immediately after unfreezing." into pi-dev

6 years agoMerge "Consider lock state when determining next activity to become visible." into...
Bryce Lee [Mon, 23 Apr 2018 14:08:29 +0000 (14:08 +0000)]
Merge "Consider lock state when determining next activity to become visible." into pi-dev

6 years agoLight greylist additions.
Mathew Inwood [Mon, 23 Apr 2018 12:31:17 +0000 (13:31 +0100)]
Light greylist additions.

These are scraped from bugreports attached to numerous bugs. They all
related to reflective API accesses (not linking).

Test: m
Bug: 64382372
Bug: 33010617
Bug: 62090571
Bug: 69061609
Bug: 73554018
Bug: 73741036
Bug: 74234537
Bug: 74240254
Bug: 76097575
Bug: 76134480
Bug: 76231474
Bug: 76390527
Bug: 77154412
Bug: 77289927
Bug: 77319364
Bug: 77481479
Bug: 77675425
Bug: 77735374
Bug: 78045614
Bug: 78242776
Bug: 78322423
Bug: 78436746
Bug: 78437951
Bug: 78438371
Change-Id: Ibe00e41e7c8cb4e79a245a41fc50a1744266ecb5

6 years agoMerge "Add null check for wireless charging animation." into pi-dev
Andrew Zeng [Mon, 23 Apr 2018 13:56:10 +0000 (06:56 -0700)]
Merge "Add null check for wireless charging animation." into pi-dev
am: fa404791b7

Change-Id: I4a2bd1700604c1c3aae757cf3f284354bd197aa8

6 years agoMerge "Add null check for wireless charging animation." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 13:44:01 +0000 (13:44 +0000)]
Merge "Add null check for wireless charging animation." into pi-dev

6 years agoMerge "Remove prolonged animations" into pi-dev
Jorim Jaggi [Mon, 23 Apr 2018 13:18:02 +0000 (06:18 -0700)]
Merge "Remove prolonged animations" into pi-dev
am: 5bdf9530a0

Change-Id: Ie769ceea49d0e1cd877fb3fcb8d78ef08a9b635d

6 years agoMerge "Greylist test API for CtsSliceTestCases" into pi-dev
David Brazdil [Mon, 23 Apr 2018 13:13:18 +0000 (06:13 -0700)]
Merge "Greylist test API for CtsSliceTestCases" into pi-dev
am: 519249f472

Change-Id: I38608c11231780aeebce1e2354de503f288a8ae7

6 years agoMerge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 13:08:16 +0000 (06:08 -0700)]
Merge "Add light grey APIs." into pi-dev
am: d60512c0d9

Change-Id: Ia27ffd286286188023e46e01d61b10cc3d2d13e9

6 years agoMerge "Add java.io.File fields to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 13:03:15 +0000 (06:03 -0700)]
Merge "Add java.io.File fields to light grey." into pi-dev
am: 1f4d564713

Change-Id: I03abe3ed09391145156395d0249c3f9e62d911bf

6 years agoAdd more light grey APIs.
Nicolas Geoffray [Mon, 23 Apr 2018 12:54:50 +0000 (13:54 +0100)]
Add more light grey APIs.

bug: 64382372
Test: m
Change-Id: I1d36c4d1087e8b9a184487ede4f567e778e1589e

6 years agoMake settings icon invisible when QS is collapsed.
Amin Shaikh [Mon, 23 Apr 2018 12:52:38 +0000 (08:52 -0400)]
Make settings icon invisible when QS is collapsed.

Also fix calling super#onAttachedToWindow in QuickStatusBarHeader.

Change-Id: I2eb8c31b2d3a9ca20ac76608650a0e42ec25e504
Fixes: 78203022
Test: visual

6 years agoRevert "Temporarily whitelist platform test packages for hidden API"
David Brazdil [Mon, 23 Apr 2018 10:43:32 +0000 (11:43 +0100)]
Revert "Temporarily whitelist platform test packages for hidden API"

This reverts commit 6c5f36d3d9d82a390048eb386e0eca46cd9e1e2e.

Bug: 64382372
Bug: 74963051
Test: N/A
Change-Id: I8dc2b19c5d1ceee051791b639f30a1175b373117

6 years agoMerge "Remove prolonged animations" into pi-dev
Jorim Jaggi [Mon, 23 Apr 2018 12:17:37 +0000 (12:17 +0000)]
Merge "Remove prolonged animations" into pi-dev

6 years agoMerge "Greylist test API for CtsSliceTestCases" into pi-dev
David Brazdil [Mon, 23 Apr 2018 10:51:14 +0000 (10:51 +0000)]
Merge "Greylist test API for CtsSliceTestCases" into pi-dev

6 years agoMove frameworks/base off the SRC_API_DIR variable.
Anton Hansson [Thu, 19 Apr 2018 15:23:53 +0000 (16:23 +0100)]
Move frameworks/base off the SRC_API_DIR variable.

This directory is going away. Migrate to the new paths, and replace the
long list of "since" arguments with a loop in the makefile. Also fix the
soong buildfile to use the new path and the 28 prebuilts.

This removes the need to update it every time an API is finalized (in make,
I don't know how to make loops in soong).

Bug: 77525052
Test: Verified variable is the same before & after, except for path change
Change-Id: I1d4e87e7840e979b83779a2aefe176e7c1ed1527

6 years agoMerge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:42:17 +0000 (10:42 +0000)]
Merge "Add light grey APIs." into pi-dev

6 years agoGreylist test API for CtsSliceTestCases
David Brazdil [Thu, 19 Apr 2018 15:32:48 +0000 (16:32 +0100)]
Greylist test API for CtsSliceTestCases

The test invokes two hidden methods inside a ContentProvider.
Since we cannot exempt those, add the two methods to light greylist
until they are made @TestApi.

Bug: 64382372
Test: run cts --module CtsSliceTestCases
Change-Id: I9bc0c23282c1744f4b93b9d84fcdd022f70859c2

6 years agoMerge "Add camera APIs to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:39:45 +0000 (03:39 -0700)]
Merge "Add camera APIs to light grey." into pi-dev
am: afc5b242d1

Change-Id: I3aad6b1fa8b9e1bc677910eb22dbc608bcefdd92

6 years agoMerge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:34:42 +0000 (03:34 -0700)]
Merge "Add light grey APIs." into pi-dev
am: 144d5acdf5

Change-Id: Ic1a244e8007ec60dbbf25a5e2240d0586d88af0f

6 years agoMerge "Add java.io.File fields to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:33:39 +0000 (10:33 +0000)]
Merge "Add java.io.File fields to light grey." into pi-dev

6 years agoMerge "Add camera APIs to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:30:01 +0000 (10:30 +0000)]
Merge "Add camera APIs to light grey." into pi-dev

6 years agoMerge "Add light grey APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 10:23:09 +0000 (10:23 +0000)]
Merge "Add light grey APIs." into pi-dev

6 years agoMerge "Add APIs to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 09:25:32 +0000 (02:25 -0700)]
Merge "Add APIs to light grey." into pi-dev
am: bbfe498aef

Change-Id: I499733f055b02b5f09c5c03d5041bf4bc18154c9

6 years agoMerge "Add SELinux->getFileContext to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 09:20:12 +0000 (02:20 -0700)]
Merge "Add SELinux->getFileContext to light grey." into pi-dev
am: d7b98e1033

Change-Id: I6aa0047f7c8e4022d26ceebf3326bdb67549dcf1

6 years agoMerge "Light grey some APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 09:11:04 +0000 (02:11 -0700)]
Merge "Light grey some APIs." into pi-dev
am: b6f9d40495

Change-Id: I8d03769677dc5b32c8e8477c55844dce17a03152

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

6 years agoMerge "Add SELinux->getFileContext to light grey." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 08:57:07 +0000 (08:57 +0000)]
Merge "Add SELinux->getFileContext to light grey." into pi-dev

6 years agoMerge "Light grey some APIs." into pi-dev
Nicolas Geoffray [Mon, 23 Apr 2018 08:56:52 +0000 (08:56 +0000)]
Merge "Light grey some APIs." into pi-dev

6 years agoMerge "Enforce permission when disabling API checks." into pi-dev
Mathew Inwood [Mon, 23 Apr 2018 08:16:42 +0000 (01:16 -0700)]
Merge "Enforce permission when disabling API checks." into pi-dev
am: 87f521ffe9

Change-Id: I9b87207cc9e337f1d3b293be7d9982f83381f5e6

6 years agoMerge "Enforce permission when disabling API checks." into pi-dev
Mathew Inwood [Mon, 23 Apr 2018 08:02:32 +0000 (08:02 +0000)]
Merge "Enforce permission when disabling API checks." into pi-dev

6 years agoMerge "Let DnsManager fill in LinkProperties for private DNSes" into pi-dev
Chalard Jean [Mon, 23 Apr 2018 07:33:21 +0000 (00:33 -0700)]
Merge "Let DnsManager fill in LinkProperties for private DNSes" into pi-dev
am: 2a915264a6

Change-Id: I837df61e3c277ae08ebf4fdcd4c4e9ac8c550811

6 years agoMerge "Let DnsManager fill in LinkProperties for private DNSes" into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 07:22:12 +0000 (07:22 +0000)]
Merge "Let DnsManager fill in LinkProperties for private DNSes" into pi-dev

6 years agoMerge "Set country code even when device is not registered on network"
Jack Yu [Mon, 23 Apr 2018 06:47:27 +0000 (23:47 -0700)]
Merge "Set country code even when device is not registered on network"
am: fc9bc10d69

Change-Id: If3f257f00bcc4147e7d4cc85fdfe03b00b319d76

6 years agoMerge "Set country code even when device is not registered on network"
Treehugger Robot [Mon, 23 Apr 2018 05:48:18 +0000 (05:48 +0000)]
Merge "Set country code even when device is not registered on network"

6 years agoLet DnsManager fill in LinkProperties for private DNSes
Chalard Jean [Wed, 11 Apr 2018 09:58:52 +0000 (18:58 +0900)]
Let DnsManager fill in LinkProperties for private DNSes

Test: new tests pass
Bug: 73641539
Change-Id: I971ef4d27b22a435d7459e1c4b31a8715ef6e610

6 years agoMerge "Use settings flag to control HAL location request" into pi-dev
Yu-Han Yang [Mon, 23 Apr 2018 04:31:56 +0000 (21:31 -0700)]
Merge "Use settings flag to control HAL location request" into pi-dev
am: c9ae78dcde

Change-Id: I1b9f5ce5ab1d3f02a46764e230165d971eaebc0c

6 years agoMerge "Use settings flag to control HAL location request" into pi-dev
Yu-Han Yang [Mon, 23 Apr 2018 04:20:04 +0000 (04:20 +0000)]
Merge "Use settings flag to control HAL location request" into pi-dev

6 years agoMerge "Add nullchecks to ScreenPinningRequest." into pi-dev
Daichi Hirono [Mon, 23 Apr 2018 03:21:34 +0000 (20:21 -0700)]
Merge "Add nullchecks to ScreenPinningRequest." into pi-dev
am: c8303adb47

Change-Id: I31be7122fce932a1fed6730eb4181e6e809041b5

6 years agoMerge "Add nullchecks to ScreenPinningRequest." into pi-dev
TreeHugger Robot [Mon, 23 Apr 2018 03:13:03 +0000 (03:13 +0000)]
Merge "Add nullchecks to ScreenPinningRequest." into pi-dev

6 years agoMerge "Made the DrawableWrapper return the right ColorFilter" into pi-dev
Selim Cinek [Mon, 23 Apr 2018 02:49:04 +0000 (19:49 -0700)]
Merge "Made the DrawableWrapper return the right ColorFilter" into pi-dev
am: cf893ac40c

Change-Id: I60a5a5901a2eeb787d4750819130ded347808f8a

6 years agoMerge "Made the DrawableWrapper return the right ColorFilter" into pi-dev
Selim Cinek [Mon, 23 Apr 2018 02:26:58 +0000 (02:26 +0000)]
Merge "Made the DrawableWrapper return the right ColorFilter" into pi-dev

6 years agoSet country code even when device is not registered on network
Jack Yu [Fri, 13 Apr 2018 21:05:32 +0000 (14:05 -0700)]
Set country code even when device is not registered on network

Extends the functionality of getNetworkCountryIso to support
no SIM/no service case. When no SIM/no service, it returns
the country code of nearby network (unregistered but cell info
is available to the device).

Test: Manual
Bug: 64335394
Merged-In: Ia32cbc9df9b9adf5d7c24c8b90be20063a94a514
Change-Id: Ia32cbc9df9b9adf5d7c24c8b90be20063a94a514
(cherry picked from commit ac36896f1aa90ef21cd23bd213674a01f68f48d3)

6 years agoMerge "Refactoring the User Switcher layout files to use dimensions in dimens_car...
Aarthi Balachander [Sun, 22 Apr 2018 04:18:13 +0000 (21:18 -0700)]
Merge "Refactoring the User Switcher layout files to use dimensions in dimens_car.xml and colors_car.xml so that overlays will be easier. Also, added a dialog when adding a user.  Fixed the issue where coming back to the user picker makes the buttons unresponsive" into pi-dev
am: e71fb69ec9

Change-Id: I42c08bbbfe1a85aa0feca3ea9a00e4891b480dd9

6 years agoMerge "Refactoring the User Switcher layout files to use dimensions in dimens_car...
TreeHugger Robot [Sun, 22 Apr 2018 04:06:59 +0000 (04:06 +0000)]
Merge "Refactoring the User Switcher layout files to use dimensions in dimens_car.xml and colors_car.xml so that overlays will be easier. Also, added a dialog when adding a user.  Fixed the issue where coming back to the user picker makes the buttons unresponsive" into pi-dev

6 years agoMerge "Use updated override config to notify listeners." into pi-dev
Garfield Tan [Sat, 21 Apr 2018 21:59:56 +0000 (14:59 -0700)]
Merge "Use updated override config to notify listeners." into pi-dev
am: 9036d61647

Change-Id: Ie4473df7f74979dfea872ca26ff163d4a2854ae2

6 years agoMerge "Use updated override config to notify listeners." into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 21:49:24 +0000 (21:49 +0000)]
Merge "Use updated override config to notify listeners." into pi-dev

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sat, 21 Apr 2018 18:19:21 +0000 (11:19 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: e9549d0804  -s ours

Change-Id: I1faa7656a054811d4f8e8d3405aebdce6d0db629

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 18:11:36 +0000 (18:11 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sat, 21 Apr 2018 18:03:16 +0000 (11:03 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: d1eb0c0d91  -s ours

Change-Id: Ie870b3e660e929d8737dd04cb8a5431f26edc945

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 17:52:04 +0000 (17:52 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Fixed CTS CtsUsageStatsTestCases test cases" into pi-dev
Jack Yu [Sat, 21 Apr 2018 17:30:58 +0000 (10:30 -0700)]
Merge "Fixed CTS CtsUsageStatsTestCases test cases" into pi-dev
am: 8f6568f908

Change-Id: I1ab715aa93609d653b689ef3570135d03c669cdf

6 years agoMerge "Fixed CTS CtsUsageStatsTestCases test cases" into pi-dev
Jack Yu [Sat, 21 Apr 2018 17:18:52 +0000 (17:18 +0000)]
Merge "Fixed CTS CtsUsageStatsTestCases test cases" into pi-dev

6 years agoMerge "Fixing issues with alpha 0.0 on parent view." into pi-dev
Jovana Knezevic [Sat, 21 Apr 2018 15:35:33 +0000 (08:35 -0700)]
Merge "Fixing issues with alpha 0.0 on parent view." into pi-dev
am: 1bcc95ef99

Change-Id: I42ad7eb35ce3c8d5c82c901b0392d55186785759

6 years agoMerge "Fixing issues with alpha 0.0 on parent view." into pi-dev
Jovana Knezevic [Sat, 21 Apr 2018 15:23:15 +0000 (15:23 +0000)]
Merge "Fixing issues with alpha 0.0 on parent view." into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 21 Apr 2018 09:18:07 +0000 (02:18 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I42a13b075c1517f0ec1f8f79fd46ec54ee26008e

6 years agoThaw input dispatching immediately after unfreezing.
Bryce Lee [Sat, 21 Apr 2018 05:56:01 +0000 (22:56 -0700)]
Thaw input dispatching immediately after unfreezing.

Currently, we thaw after taking a number of steps post-unfreezing,
including setting up screen animations for rotation. If there is an
exception in this intermediate code, the input dispatching will not
be thawed even though the display has unfrozen.

This changelist moves thawing to immediately after unfreezing to
prevent it from being skipped due to an exception.

Bug: 78301580
Test: atest CtsActivityManagerDeviceTestCases
Change-Id: I32a3ca909fe1a495b361f9e5ba7b3a158837bc3a

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sat, 21 Apr 2018 05:51:33 +0000 (22:51 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 58b8ca51d6  -s ours

Change-Id: I01f7781b27daf217cdce1f076351f35d6b716f80

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 05:42:29 +0000 (05:42 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 21 Apr 2018 04:40:27 +0000 (21:40 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic17792437048be044201531e491b4ef280cf37f4

6 years agoMerge changes from topic "statsd_socket_review" into pi-dev
Yao Chen [Sat, 21 Apr 2018 02:56:54 +0000 (19:56 -0700)]
Merge changes from topic "statsd_socket_review" into pi-dev
am: 46fca44ee5

Change-Id: Iae06193a18ad48a664904dbd5bc26c5b4c7ae45f

6 years agoMerge changes from topic "statsd_socket_review" into pi-dev
TreeHugger Robot [Sat, 21 Apr 2018 02:29:55 +0000 (02:29 +0000)]
Merge changes from topic "statsd_socket_review" into pi-dev

* changes:
  Add socket listener to statsd. And remove Davey atom.
  Allow StatsLog to directly write to statsd's socket.

6 years agoRefactoring the User Switcher layout files to use dimensions in
Aarthi Balachander [Fri, 20 Apr 2018 02:25:33 +0000 (19:25 -0700)]
Refactoring the User Switcher layout files to use dimensions in
dimens_car.xml and colors_car.xml so that overlays will be easier.
Also, added a dialog when adding a user.  Fixed the issue where coming
back to the user picker makes the buttons unresponsive

Test: tested on Mojave
Bug: 782442417830981678297334,
Change-Id: Iec44eb93ec4456be6d39d08940bb6ba2050eac7a

6 years agoMerge "DO NOT MERGE - Set country code even when device is not registered on network...
Jack Yu [Sat, 21 Apr 2018 01:37:36 +0000 (18:37 -0700)]
Merge "DO NOT MERGE - Set country code even when device is not registered on network" into pi-dev
am: 4755c56965

Change-Id: I0602070b32e29a044ea24e08ad5ced6bc23cb795

6 years agoMerge "DO NOT MERGE - Set country code even when device is not registered on network...
Jack Yu [Sat, 21 Apr 2018 01:22:51 +0000 (01:22 +0000)]
Merge "DO NOT MERGE - Set country code even when device is not registered on network" into pi-dev

6 years agoAdd socket listener to statsd. And remove Davey atom.
Yao Chen [Wed, 18 Apr 2018 20:48:02 +0000 (13:48 -0700)]
Add socket listener to statsd. And remove Davey atom.

+ The socket listener is behind a flag. It's disabled until we get sepolicy changes in.
+ Data parsing code is from logd, because we use the same format.

+ Removed Davey from JankTracker because it violates our new sepolicy

Test: manually
Bug: 78239479

Change-Id: Ib17729fbc362cdb13385f780e2d636a95adf9bc3

6 years agoMerge "Add composite string for battery summary in settings" into pi-dev
Salvador Martinez [Sat, 21 Apr 2018 00:30:06 +0000 (17:30 -0700)]
Merge "Add composite string for battery summary in settings" into pi-dev
am: a6b7a6fb33

Change-Id: Ia74ede8fb5f16c5ec89ca15e81b977ed272d9dda

6 years agoMerge "Add a function to get the secondary split screen bounds" into pi-dev
Matthew Ng [Sat, 21 Apr 2018 00:24:10 +0000 (17:24 -0700)]
Merge "Add a function to get the secondary split screen bounds" into pi-dev
am: 427e41bd07

Change-Id: I15b75499f92747cf7772eccada58887d40d98a06

6 years agoMerge "Extend adoptable override to force on or off." into pi-dev
Jeff Sharkey [Sat, 21 Apr 2018 00:20:16 +0000 (17:20 -0700)]
Merge "Extend adoptable override to force on or off." into pi-dev
am: 130a2503d8

Change-Id: Ic5bb21ec16f4603d87b5b659f041ee0a08b8d039

6 years agoMerge "Don't require post-execution state for onActivityResult" into pi-dev
Andrii Kulian [Sat, 21 Apr 2018 00:10:42 +0000 (17:10 -0700)]
Merge "Don't require post-execution state for onActivityResult" into pi-dev
am: 5007c67a70

Change-Id: I6ea56c0e6e68afd354426194bd0d4536129abe86

6 years agoFixed CTS CtsUsageStatsTestCases test cases
Jack Yu [Fri, 20 Apr 2018 23:13:51 +0000 (16:13 -0700)]
Fixed CTS CtsUsageStatsTestCases test cases

We used the current RAT to load different carrier configuration to
determine whether the connection of a certain APN type is metered or
not. When the device is switched to IWLAN, the existing default
APN connection on cellular will be marked as unmetered based on
the current logic. This logic will be refactored when IWLAN full mode
is supported in Q.

For the short term workaround for P, we'll just mark default APN as
metered when the device is on IWLAN.

Test: CtsUsageStatsTestCases
Bug: 7454033677504652
Change-Id: Ib098e80d2bfd10e74c0b0dacf2cf2f217a66f7e4

6 years agoDO NOT MERGE - Set country code even when device is not registered on network
Jack Yu [Fri, 13 Apr 2018 21:05:32 +0000 (14:05 -0700)]
DO NOT MERGE - Set country code even when device is not registered on network

Extends the functionality of getNetworkCountryIso to support
no SIM/no service case. When no SIM/no service, it returns
the country code of nearby network (unregistered but cell info
is available to the device).

Test: Manual
Bug: 64335394
Change-Id: Ic7c9e903cc497b7e43b557cb593407ff3e9305b5