OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Transitionless crashes" into pi-dev
Adrian Roos [Wed, 18 Apr 2018 12:01:01 +0000 (05:01 -0700)]
Merge "Transitionless crashes" into pi-dev
am: f921b507ea

Change-Id: I484f617b230ac50821f32cdf307dbb4d1edcd42a

6 years agoMerge "Transitionless crashes" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 11:50:03 +0000 (11:50 +0000)]
Merge "Transitionless crashes" into pi-dev

6 years agoMerge "Teach ApfGenerator about the new opcodes for accessing data memory" into pi-dev
Bernie Innocenti [Wed, 18 Apr 2018 11:35:55 +0000 (04:35 -0700)]
Merge "Teach ApfGenerator about the new opcodes for accessing data memory" into pi-dev
am: 1b144e6dab

Change-Id: I3f833d428b6a8f28cf30529a633df04d32ced315

6 years agoMerge "Teach ApfGenerator about the new opcodes for accessing data memory" into pi-dev
Bernie Innocenti [Wed, 18 Apr 2018 11:26:55 +0000 (11:26 +0000)]
Merge "Teach ApfGenerator about the new opcodes for accessing data memory" into pi-dev

6 years agoMerge "Add Landroid/app/IActivityManager;->getConfiguration() to light grey." into...
Nicolas Geoffray [Wed, 18 Apr 2018 09:38:24 +0000 (02:38 -0700)]
Merge "Add Landroid/app/IActivityManager;->getConfiguration() to light grey." into pi-dev
am: ba199f56ca

Change-Id: Ie5a6becd04c53072510ea1bca26bc617da2fba0e

6 years agoMerge "Add Landroid/app/IActivityManager;->getConfiguration() to light grey." into...
Nicolas Geoffray [Wed, 18 Apr 2018 09:28:20 +0000 (09:28 +0000)]
Merge "Add Landroid/app/IActivityManager;->getConfiguration() to light grey." into pi-dev

6 years agoMerge "Remove duplicated code in IMMS" am: 5ab0fe1f56
tiansiming [田思明] [Wed, 18 Apr 2018 09:28:14 +0000 (02:28 -0700)]
Merge "Remove duplicated code in IMMS" am: 5ab0fe1f56
am: d54852ab76

Change-Id: Ia84f00aec9ab7f98804f583f9567ddd3216f7360

6 years agoMerge "Revert "Remove the OEM hook implementation and usage"" am: e7a099149f
Shuo Qian [Wed, 18 Apr 2018 09:20:21 +0000 (02:20 -0700)]
Merge "Revert "Remove the OEM hook implementation and usage"" am: e7a099149f
am: 1b5c97ced4

Change-Id: I5b86e206dd777c331d2a28c74472c328e2cc55f9

6 years agoMerge "resolve merge conflicts of 3108641d9e3652a4fdb17e430449e3f9aa16c1f3 to pi...
TreeHugger Robot [Wed, 18 Apr 2018 09:08:51 +0000 (09:08 +0000)]
Merge "resolve merge conflicts of 3108641d9e3652a4fdb17e430449e3f9aa16c1f3 to pi-dev-plus-aosp" into pi-dev-plus-aosp

6 years agoMerge "Light grey android.media.MediaScanner.isNoMediaPath" into pi-dev
Nicolas Geoffray [Wed, 18 Apr 2018 08:41:37 +0000 (01:41 -0700)]
Merge "Light grey android.media.MediaScanner.isNoMediaPath" into pi-dev
am: a8527b9cb1

Change-Id: Iec693237e0c9d9532c0a2f5eeb5691578c27a1bf

6 years agoMerge "Light grey android.media.MediaScanner.isNoMediaPath" into pi-dev
Nicolas Geoffray [Wed, 18 Apr 2018 08:30:33 +0000 (08:30 +0000)]
Merge "Light grey android.media.MediaScanner.isNoMediaPath" into pi-dev

6 years agoAdd Landroid/app/IActivityManager;->getConfiguration() to light grey.
Nicolas Geoffray [Wed, 18 Apr 2018 08:21:34 +0000 (09:21 +0100)]
Add Landroid/app/IActivityManager;->getConfiguration() to light grey.

bug: 77327058
Test: m
Change-Id: I86d891e21c729a54450c8a92493303683152c07c

6 years agoresolve merge conflicts of 3108641d9e3652a4fdb17e430449e3f9aa16c1f3 to pi-dev-plus...
Neil Fuller [Wed, 18 Apr 2018 08:04:33 +0000 (09:04 +0100)]
resolve merge conflicts of 3108641d9e3652a4fdb17e430449e3f9aa16c1f3 to pi-dev-plus-aosp

BUG: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I466b054aa9dc57cd77eb05054714ced424ca83ff

6 years agoMerge "Correct sendBroadcast test" into pi-dev
Neil Fuller [Wed, 18 Apr 2018 07:55:26 +0000 (00:55 -0700)]
Merge "Correct sendBroadcast test" into pi-dev
am: 587cf4105f

Change-Id: Iff263c19547757980914cf9afa9abc7294aca316

6 years agoMerge "Correct sendBroadcast test" into pi-dev
Neil Fuller [Wed, 18 Apr 2018 07:44:37 +0000 (07:44 +0000)]
Merge "Correct sendBroadcast test" into pi-dev

6 years agoMerge "Remove duplicated code in IMMS"
tiansiming [田思明] [Wed, 18 Apr 2018 05:20:18 +0000 (22:20 -0700)]
Merge "Remove duplicated code in IMMS"
am: 5ab0fe1f56

Change-Id: I6311c39ee5ea9abfa5b025315968d122f0d3f694

6 years agoMerge "add changes to make the add user button up to spec" into pi-dev
Aarthi Balachander [Wed, 18 Apr 2018 04:54:17 +0000 (21:54 -0700)]
Merge "add changes to make the add user button up to spec" into pi-dev
am: 5b510f5c7b

Change-Id: If2824fe6db7094dc9d2c674976eb5c1669b21f82

6 years agoMerge "add changes to make the add user button up to spec" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 04:44:05 +0000 (04:44 +0000)]
Merge "add changes to make the add user button up to spec" into pi-dev

6 years agoMerge "Remove duplicated code in IMMS"
Treehugger Robot [Wed, 18 Apr 2018 04:09:28 +0000 (04:09 +0000)]
Merge "Remove duplicated code in IMMS"

6 years agoMerge "Revert "Remove the OEM hook implementation and usage""
Shuo Qian [Wed, 18 Apr 2018 02:57:45 +0000 (19:57 -0700)]
Merge "Revert "Remove the OEM hook implementation and usage""
am: e7a099149f

Change-Id: Idb6e70da6b33f25d1cdce8ed5ed4b845b6237648

6 years agoMerge "Adding Location Request History Foreground Tracking" into pi-dev
Wyatt Riley [Wed, 18 Apr 2018 02:46:35 +0000 (19:46 -0700)]
Merge "Adding Location Request History Foreground Tracking" into pi-dev
am: a2b4cc9ea0

Change-Id: I723aecfec8dfdbd9af09b58c009f05ccdb904378

6 years agoMerge "Adding Location Request History Foreground Tracking" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 02:33:36 +0000 (02:33 +0000)]
Merge "Adding Location Request History Foreground Tracking" into pi-dev

6 years agoMerge "Don't delay the FINGERPRINT_ERROR_CANCELED message" into pi-dev
Kevin Chyn [Wed, 18 Apr 2018 02:10:20 +0000 (19:10 -0700)]
Merge "Don't delay the FINGERPRINT_ERROR_CANCELED message" into pi-dev
am: 54926ba6a9

Change-Id: I151f4f09e2de5c7999b0ed13afa7b712781d468f

6 years agoMerge "Don't delay the FINGERPRINT_ERROR_CANCELED message" into pi-dev
Kevin Chyn [Wed, 18 Apr 2018 01:53:39 +0000 (01:53 +0000)]
Merge "Don't delay the FINGERPRINT_ERROR_CANCELED message" into pi-dev

6 years agoMerge "Revert "Remove the OEM hook implementation and usage""
Shuo Qian [Wed, 18 Apr 2018 01:39:43 +0000 (01:39 +0000)]
Merge "Revert "Remove the OEM hook implementation and usage""

6 years agoRemove duplicated code in IMMS
tiansiming [田思明] [Tue, 17 Apr 2018 10:15:33 +0000 (18:15 +0800)]
Remove duplicated code in IMMS

There is no need to judge mIsInteractive again

Bug: N/A
Test: N/A

Change-Id: I887b5fdd16e4c39ff2dcf13902dfed69741635f8
Signed-off-by: tiansiming [田思明] <tiansiming@xiaomi.com>
6 years agoMerge "Remove Persistent proccess without WTFing" into pi-dev
Michael Wachenschwanz [Wed, 18 Apr 2018 00:34:42 +0000 (17:34 -0700)]
Merge "Remove Persistent proccess without WTFing" into pi-dev
am: 4ea0a5a2df

Change-Id: I5438e638103171f33cfaf7d4d8c7538d93d61dd2

6 years agoMerge "Group suppression shouldn't affect rating limiting" into pi-dev
Julia Reynolds [Wed, 18 Apr 2018 00:29:01 +0000 (17:29 -0700)]
Merge "Group suppression shouldn't affect rating limiting" into pi-dev
am: 6b7b171dba

Change-Id: Idf731936ec21a04603f9d7aed64dadcece377328

6 years agoMerge "Remove Persistent proccess without WTFing" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 00:16:24 +0000 (00:16 +0000)]
Merge "Remove Persistent proccess without WTFing" into pi-dev

6 years agoMerge "Group suppression shouldn't affect rating limiting" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 00:14:21 +0000 (00:14 +0000)]
Merge "Group suppression shouldn't affect rating limiting" into pi-dev

6 years agoMerge "Add A2DP Codec config hidden APIs to the greylist" into pi-dev
Pavlin Radoslavov [Tue, 17 Apr 2018 23:32:57 +0000 (16:32 -0700)]
Merge "Add A2DP Codec config hidden APIs to the greylist" into pi-dev
am: d2b1d6d7b3

Change-Id: I1a98a6ddf01483b65bf4f82ffa971194debbd35c

6 years agoMerge "Add A2DP Codec config hidden APIs to the greylist" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 23:16:22 +0000 (23:16 +0000)]
Merge "Add A2DP Codec config hidden APIs to the greylist" into pi-dev

6 years agoadd changes to make the add user button up to spec
Aarthi Balachander [Tue, 17 Apr 2018 18:13:17 +0000 (11:13 -0700)]
add changes to make the add user button up to spec

Test: tested on Mojave
Bug: 77869282
Change-Id: I75280675acf314734c9836babb7068a8379bf1c0

6 years agoMerge "Fix issue #78138020: Improve app ops dumpsys" into pi-dev
Dianne Hackborn [Tue, 17 Apr 2018 23:00:59 +0000 (16:00 -0700)]
Merge "Fix issue #78138020: Improve app ops dumpsys" into pi-dev
am: 1074688a26

Change-Id: Iee4fd978316b2af3f950acb1edb00d85f8b19d32

6 years agoMerge "Add Global Settings to device whether show Carrier menu" into pi-dev
Qingxi Li [Tue, 17 Apr 2018 22:46:07 +0000 (15:46 -0700)]
Merge "Add Global Settings to device whether show Carrier menu" into pi-dev
am: ff03f0cfe4

Change-Id: Ia086ac7fcaa4faa45c9fce5463b700d735bec1f8

6 years agoMerge "Update Instrumentation.newActivity to pass non-null application." into pi-dev
Sudheer Shanka [Tue, 17 Apr 2018 22:39:18 +0000 (15:39 -0700)]
Merge "Update Instrumentation.newActivity to pass non-null application." into pi-dev
am: 850c6662b0

Change-Id: I152d5029366aba600dc81ea6eb9113ff22fd1bec

6 years agoMerge "Fix issue #78138020: Improve app ops dumpsys" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 22:34:10 +0000 (22:34 +0000)]
Merge "Fix issue #78138020: Improve app ops dumpsys" into pi-dev

6 years agoMerge "Add Global Settings to device whether show Carrier menu" into pi-dev
Qingxi Li [Tue, 17 Apr 2018 22:20:59 +0000 (22:20 +0000)]
Merge "Add Global Settings to device whether show Carrier menu" into pi-dev

6 years agoMerge "Use locale text direction in keyguard carrier text" into pi-dev
Evan Laird [Tue, 17 Apr 2018 22:11:24 +0000 (15:11 -0700)]
Merge "Use locale text direction in keyguard carrier text" into pi-dev
am: f55385b595

Change-Id: I56c154b669de32f5ac6584c7e4a7546195ce4233

6 years agoMerge "Update Instrumentation.newActivity to pass non-null application." into pi-dev
Sudheer Shanka [Tue, 17 Apr 2018 22:06:09 +0000 (22:06 +0000)]
Merge "Update Instrumentation.newActivity to pass non-null application." into pi-dev

6 years agoMerge "Move PrintRecommendationService to systemAPI" into pi-dev
Philip P. Moltmann [Tue, 17 Apr 2018 21:55:57 +0000 (14:55 -0700)]
Merge "Move PrintRecommendationService to systemAPI" into pi-dev
am: e2890ae792

Change-Id: If575579592bc695c170da2c6e409a8304aefd1da

6 years agoMerge "Load fallback categories earlier" into pi-dev
Todd Kennedy [Tue, 17 Apr 2018 21:50:27 +0000 (14:50 -0700)]
Merge "Load fallback categories earlier" into pi-dev
am: d688e7b15d

Change-Id: I863c71a204d87e6d91229f553986efd708722324

6 years agoMerge "Log before stopping/removing the current client" into pi-dev
Kevin Chyn [Tue, 17 Apr 2018 21:45:20 +0000 (14:45 -0700)]
Merge "Log before stopping/removing the current client" into pi-dev
am: 7b3e68232c

Change-Id: I8f669a41d60d18af911ff88380bd254521c99b47

6 years agoMerge "Use locale text direction in keyguard carrier text" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 21:42:32 +0000 (21:42 +0000)]
Merge "Use locale text direction in keyguard carrier text" into pi-dev

6 years agoMerge "Enable multi-cast while resolving nsd services" into pi-dev
Philip P. Moltmann [Tue, 17 Apr 2018 21:38:29 +0000 (14:38 -0700)]
Merge "Enable multi-cast while resolving nsd services" into pi-dev
am: da80202bae

Change-Id: I6b44a933f9633d70ffb57034a8e8a6d23f8b028e

6 years agoAdd A2DP Codec config hidden APIs to the greylist
Pavlin Radoslavov [Tue, 17 Apr 2018 21:35:19 +0000 (14:35 -0700)]
Add A2DP Codec config hidden APIs to the greylist

Bug: 78187319
Test: Code compilation
Change-Id: Ide42eacc8db4e403432ddd9d952495dda85db0ac

6 years agoMerge "Move PrintRecommendationService to systemAPI" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 21:10:39 +0000 (21:10 +0000)]
Merge "Move PrintRecommendationService to systemAPI" into pi-dev

6 years agoMerge "Correct sendBroadcast test"
Daniel Bonnevier [Tue, 17 Apr 2018 21:03:13 +0000 (14:03 -0700)]
Merge "Correct sendBroadcast test"
am: 1cb379b782

Change-Id: Ic533da3300a2227f8b9b002fe305daed27beea38

6 years agoMerge "Exclude system notifications from visual suppression" into pi-dev
Julia Reynolds [Tue, 17 Apr 2018 21:01:51 +0000 (14:01 -0700)]
Merge "Exclude system notifications from visual suppression" into pi-dev
am: f9e4ccfe87

Change-Id: I78e901797871b9849fc65454146851002c188c65

6 years agoDon't delay the FINGERPRINT_ERROR_CANCELED message
Kevin Chyn [Tue, 17 Apr 2018 20:50:53 +0000 (13:50 -0700)]
Don't delay the FINGERPRINT_ERROR_CANCELED message

Test: tested with test APK

Change-Id: Ic975870c6f815b5f7dfa4c7f2d8bf5554fbb1c5b
Fixes: 78185698

6 years agoMerge "All users will hear charging sounds." into pi-dev
Beverly [Tue, 17 Apr 2018 20:41:00 +0000 (13:41 -0700)]
Merge "All users will hear charging sounds." into pi-dev
am: e5c9cc124a

Change-Id: I406dde16f874a7b2814270a53efe0458b0c06d52

6 years agoMerge "Adds option to drop small buckets for statsd." into pi-dev
David Chen [Tue, 17 Apr 2018 20:35:20 +0000 (13:35 -0700)]
Merge "Adds option to drop small buckets for statsd." into pi-dev
am: bbc057444f

Change-Id: I1ab4de808eef9e7f0ef78a4ea336db9a83420c02

6 years agoMerge "Free allocated varargs" into pi-dev
Yi Jin [Tue, 17 Apr 2018 20:28:08 +0000 (13:28 -0700)]
Merge "Free allocated varargs" into pi-dev
am: c3116634e1

Change-Id: Iaa62f67364a7f5d34b578b319cd1a06b565db5b8

6 years agoUse locale text direction in keyguard carrier text
Evan Laird [Tue, 17 Apr 2018 20:22:50 +0000 (16:22 -0400)]
Use locale text direction in keyguard carrier text

Test: visual in RTL
Change-Id: I5209c863e784a2720a338b03aa1ecafe2c9250d6
Fixes: 66995981

6 years agoMerge "Load fallback categories earlier" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 20:21:30 +0000 (20:21 +0000)]
Merge "Load fallback categories earlier" into pi-dev

6 years agoMerge "Log before stopping/removing the current client" into pi-dev
Kevin Chyn [Tue, 17 Apr 2018 19:57:51 +0000 (19:57 +0000)]
Merge "Log before stopping/removing the current client" into pi-dev

6 years agoMerge "Correct sendBroadcast test"
Treehugger Robot [Tue, 17 Apr 2018 19:50:41 +0000 (19:50 +0000)]
Merge "Correct sendBroadcast test"

6 years agoGroup suppression shouldn't affect rating limiting
Julia Reynolds [Tue, 17 Apr 2018 19:36:33 +0000 (15:36 -0400)]
Group suppression shouldn't affect rating limiting

For real this time

Test: runtest systemui-notification
Change-Id: Ia4d771399ca17e9f8dcb386f6f3daff64dc66a69
Fixes: 69300511

6 years agoMerge "Enable multi-cast while resolving nsd services" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 19:27:21 +0000 (19:27 +0000)]
Merge "Enable multi-cast while resolving nsd services" into pi-dev

6 years agoMerge "Exclude system notifications from visual suppression" into pi-dev
Julia Reynolds [Tue, 17 Apr 2018 19:24:24 +0000 (19:24 +0000)]
Merge "Exclude system notifications from visual suppression" into pi-dev

6 years agoMerge "Migrate android_uiautomator generation to Soong." into pi-dev-plus-aosp
TreeHugger Robot [Tue, 17 Apr 2018 19:17:37 +0000 (19:17 +0000)]
Merge "Migrate android_uiautomator generation to Soong." into pi-dev-plus-aosp

6 years agoMerge "All users will hear charging sounds." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 19:13:11 +0000 (19:13 +0000)]
Merge "All users will hear charging sounds." into pi-dev

6 years agoMerge "Adds option to drop small buckets for statsd." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 19:12:33 +0000 (19:12 +0000)]
Merge "Adds option to drop small buckets for statsd." into pi-dev

6 years agoAdding Location Request History Foreground Tracking
Wyatt Riley [Fri, 13 Apr 2018 00:54:26 +0000 (17:54 -0700)]
Adding Location Request History Foreground Tracking

Improving adb shell dumpsys location in light of
Background Location Limits

Bug: 73598719
Test: atest and on-device verification
Change-Id: I0b24d14f1557a36d9162770c9bc7081d9787d0cf

6 years agoMerge "Free allocated varargs" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 19:08:26 +0000 (19:08 +0000)]
Merge "Free allocated varargs" into pi-dev

6 years agoMerge "Change allowed sound triggers to 1000" into pi-dev
Philip P. Moltmann [Tue, 17 Apr 2018 18:59:13 +0000 (11:59 -0700)]
Merge "Change allowed sound triggers to 1000" into pi-dev
am: 1d107eaea2

Change-Id: I2ce6e7d3e2d2db344773b2ed0d26114c68ff18f5

6 years agoRevert "Remove the OEM hook implementation and usage"
sqian [Tue, 17 Apr 2018 18:54:14 +0000 (11:54 -0700)]
Revert "Remove the OEM hook implementation and usage"

This reverts commit 2635a89c8cb536d487c5a77ea205f787c19dc92e.

Bug: 34344851
Change-Id: I96697165fd75054de42f007c16ca294ed6725708

6 years agoMerge "Change allowed sound triggers to 1000" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 18:45:22 +0000 (18:45 +0000)]
Merge "Change allowed sound triggers to 1000" into pi-dev

6 years agoMerge "Don't start Window enter animation as a result of AWT becoming visible." into...
Chavi Weingarten [Tue, 17 Apr 2018 18:35:22 +0000 (11:35 -0700)]
Merge "Don't start Window enter animation as a result of AWT becoming visible." into pi-dev
am: 8b328b6f16

Change-Id: I6cd1523aef9c793031e1530da6a06e5543ae923d

6 years agoMerge "Checks that secondary instrumentation ABI matches" into pi-dev
Patrick Baumann [Tue, 17 Apr 2018 18:30:24 +0000 (11:30 -0700)]
Merge "Checks that secondary instrumentation ABI matches" into pi-dev
am: 096e0587d2

Change-Id: I87d562322a5b77de9a17dfd803da2c4aa4f2027c

6 years agoMerge "Make VR brightness adjustable again." into pi-dev
Santos Cordon [Tue, 17 Apr 2018 18:26:27 +0000 (11:26 -0700)]
Merge "Make VR brightness adjustable again." into pi-dev
am: 2331a14867

Change-Id: I1507aed6fed121c441d59f2d58c55a88b57f9cbd

6 years agoCorrect sendBroadcast test
Daniel Bonnevier [Mon, 16 Apr 2018 11:25:32 +0000 (13:25 +0200)]
Correct sendBroadcast test

Commit 23eb3a19 changed the implementation from sendBroadcast to
sendBroadcastAsUser but didn't change the test.

Test: adb shell am instrument -r -w -e class \
        android.app.timezone.RulesUpdaterContractTest#sendBroadcast \
        com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 78166765
Change-Id: I0a47e096a46fc63d46dd9ff878a4af0d76af82f0
(cherry picked from commit b8ab470c273b16390ef8d5715226329e2827e001)

6 years agoMerge "Don't start Window enter animation as a result of AWT becoming visible." into...
Chavi Weingarten [Tue, 17 Apr 2018 18:16:46 +0000 (18:16 +0000)]
Merge "Don't start Window enter animation as a result of AWT becoming visible." into pi-dev

6 years agoMerge "Checks that secondary instrumentation ABI matches" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 18:16:18 +0000 (18:16 +0000)]
Merge "Checks that secondary instrumentation ABI matches" into pi-dev

6 years agoMerge "Make VR brightness adjustable again." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 18:11:29 +0000 (18:11 +0000)]
Merge "Make VR brightness adjustable again." into pi-dev

6 years agoMerge "String update for effect suppressors" into pi-dev
Julia Reynolds [Tue, 17 Apr 2018 17:50:47 +0000 (10:50 -0700)]
Merge "String update for effect suppressors" into pi-dev
am: 17b2f5d427

Change-Id: I0c544f10fc14ab59bbcc997991b4f30701cb37b8

6 years agoFree allocated varargs
Yi Jin [Fri, 6 Apr 2018 22:37:36 +0000 (15:37 -0700)]
Free allocated varargs

Bug: 78173836
Test: atest incidentd_test
Change-Id: I1e1b9f63d0e863c733c51efef432235eb94cdbab

6 years agoLoad fallback categories earlier
Todd Kennedy [Tue, 17 Apr 2018 17:40:58 +0000 (10:40 -0700)]
Load fallback categories earlier

At the end of the package manager constructor, we are prepare the data
directories for all installed applications. This creates ApplicationInfo
objects which needs to load categories from the fallback categories provider.
If we're populating the fallback categories during this time, there's a
subtle timing issue where we may return a 'null' category instead of an
Integer.

Change-Id: I974a39029d6c15d3986571e610eb0cd106fdc05c
Fixes: 78128442
Test: Manual. System boots and no crash

6 years agoLog before stopping/removing the current client
Kevin Chyn [Tue, 17 Apr 2018 02:09:10 +0000 (19:09 -0700)]
Log before stopping/removing the current client

Fixes: 78108831

Test: try adding accounts 20+ times, no crash observed
Change-Id: I4b5e1352d595efceab2299d6b369517a0840aa1b

6 years agoMove PrintRecommendationService to systemAPI
Philip P. Moltmann [Tue, 17 Apr 2018 16:51:48 +0000 (09:51 -0700)]
Move PrintRecommendationService to systemAPI

It is using system APIs, but we might want to update it via the play
store.

Hence, replace all internal APIs used with support lib APIs. There is
no replacement for @Immutable, but this is just a informational
annotation, so it can just be removed.

As system-api is tied to a specific platform version, remove all
minSDK/targetSDK settings in the manifest.

Change-Id: Ia8f9c718fd688db295c7bc3bfe05e2074f9bd413
Fixes: 78162439
Test: Looked at print service recommendations

6 years agoMerge "String update for effect suppressors" into pi-dev
Julia Reynolds [Tue, 17 Apr 2018 17:37:06 +0000 (17:37 +0000)]
Merge "String update for effect suppressors" into pi-dev

6 years agoMerge "Set accessibility action label for smart replies." into pi-dev
Milo Sredkov [Tue, 17 Apr 2018 17:33:08 +0000 (10:33 -0700)]
Merge "Set accessibility action label for smart replies." into pi-dev
am: d577ae75d3

Change-Id: Ifcd0056c14a06887a6494ef88732a0dfebf25f26

6 years agoMerge "Set accessibility action label for smart replies." into pi-dev
Milo Sredkov [Tue, 17 Apr 2018 17:18:28 +0000 (17:18 +0000)]
Merge "Set accessibility action label for smart replies." into pi-dev

6 years agoEnable multi-cast while resolving nsd services
Philip P. Moltmann [Mon, 16 Apr 2018 20:43:37 +0000 (13:43 -0700)]
Enable multi-cast while resolving nsd services

Test: Before taimen never resolved nsd servives. How it resolved nsd
      services reliably when built in print service and print service
      recommendation service used NsdService
Fixes: 75316187

Change-Id: I02f83fc2ea624174e61ddf0d61fdaed005b741eb

6 years agoDon't start Window enter animation as a result of AWT becoming visible.
chaviw [Mon, 16 Apr 2018 22:29:38 +0000 (15:29 -0700)]
Don't start Window enter animation as a result of AWT becoming visible.

There are some cases where AWT becomes visible without an animation. It
will then start a WindowState enter animation if WS is not visible yet.
However, this is problematic since the WS may not be ready to become
visible yet. For example, relayout may not have been called yet to
create a surface and the size of the surface is not yet set. This causes
problems when determining the position of the leash when the animation
is created. Instead allow the WS relayout to handle starting the
enter animation so the WS is set properly.
As for the case where AWT is becoming not visible without an animation, but
WS is still visible, create an exit animation for the WS. This is
because there won't be a client to trigger this animation.

Change-Id: Ic9215a0c96f219f5bc87b16067755af582883a5d
Fixes: 77447982
Test: Issue from bug

6 years agoAdd Global Settings to device whether show Carrier menu
Qingxi Li [Wed, 11 Apr 2018 22:14:56 +0000 (15:14 -0700)]
Add Global Settings to device whether show Carrier menu

Add Global Settings EUICC_SUPPORTED_COUNTRIES. When the device enabled
esim UI by default and the users in eSIM supported countries, even if
eSIM is not provisioned, carrier menu will be shown. This global
settings will be updated by eSIM mamanger when the phone boot up.

Bug: 77638033
Test: E2E
Change-Id: Ib3ac8bcdfab56d6cd7c12e48318f1794af5bc1aa

6 years agoCorrect sendBroadcast test
Daniel Bonnevier [Mon, 16 Apr 2018 11:25:32 +0000 (13:25 +0200)]
Correct sendBroadcast test

Commit 23eb3a19 changed the implementation from sendBroadcast to
sendBroadcastAsUser but didn't change the test.

Test: adb shell am instrument -r -w -e class \
        android.app.timezone.RulesUpdaterContractTest#sendBroadcast \
        com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 78166765
Merged-In: I0a47e096a46fc63d46dd9ff878a4af0d76af82f0
Change-Id: I0a47e096a46fc63d46dd9ff878a4af0d76af82f0

6 years agoMerge "Fix FDE" into pi-dev
Paul Lawrence [Tue, 17 Apr 2018 17:00:33 +0000 (10:00 -0700)]
Merge "Fix FDE" into pi-dev
am: 729ebf23ab

Change-Id: Id30fd6b9a679e432966e8a19018d3466cd74726e

6 years agoChecks that secondary instrumentation ABI matches
Patrick Baumann [Tue, 17 Apr 2018 16:49:55 +0000 (09:49 -0700)]
Checks that secondary instrumentation ABI matches

This adds checks that the secondary ABI for an instrumentation package
matchs that of its target before using it when forced and warns of
mismatches.

Change-Id: I394427721c83cbd1c3c6af6cee24a93b18d8c65f
Fixes: 77152863
Test: gts-tradefed > run gts -m GtsBackupHostTestCases -a armeabi-v7a do not all fail with NPE

6 years agoMerge "StackDivider: Make sure that changed stable insets get dispatched" into pi-dev
Adrian Roos [Tue, 17 Apr 2018 16:50:14 +0000 (09:50 -0700)]
Merge "StackDivider: Make sure that changed stable insets get dispatched" into pi-dev
am: 7168c3baac

Change-Id: I5229f858f58357a3b07c536e20c91ebcf44c74da

6 years agoMerge "Fix FDE" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 16:48:29 +0000 (16:48 +0000)]
Merge "Fix FDE" into pi-dev

6 years agoMerge "Don't crash apps on notification error" into pi-dev
Julia Reynolds [Tue, 17 Apr 2018 16:45:32 +0000 (09:45 -0700)]
Merge "Don't crash apps on notification error" into pi-dev
am: a73a2c347b

Change-Id: I3349afd240cbdf406d9ee337bd558d430f227471

6 years agoMerge "Fix incidentd skip collecting timedout of a section." into pi-dev
Yi Jin [Tue, 17 Apr 2018 16:39:25 +0000 (09:39 -0700)]
Merge "Fix incidentd skip collecting timedout of a section." into pi-dev
am: 0f0c9243be

Change-Id: Ib27dd0d695ecf43dfb781e0c8a3374b97b2ca15e

6 years agoMerge "StackDivider: Make sure that changed stable insets get dispatched" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 16:29:31 +0000 (16:29 +0000)]
Merge "StackDivider: Make sure that changed stable insets get dispatched" into pi-dev

6 years agoMerge "Don't crash apps on notification error" into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 16:29:24 +0000 (16:29 +0000)]
Merge "Don't crash apps on notification error" into pi-dev

6 years agoMerge "Fix incidentd skip collecting timedout of a section." into pi-dev
TreeHugger Robot [Tue, 17 Apr 2018 16:22:20 +0000 (16:22 +0000)]
Merge "Fix incidentd skip collecting timedout of a section." into pi-dev

6 years agoMerge "Refactored the UserRecyclerGridView to use PagedListView from the car support...
Aarthi Balachander [Tue, 17 Apr 2018 15:47:41 +0000 (08:47 -0700)]
Merge "Refactored the UserRecyclerGridView to use PagedListView from the car support library.  This also surfaced a scrollbar. Additionally, added a touch ripple when you touch a user's picture and disabled the user buttons once a profile is selected" into pi-dev
am: 575fc02edf

Change-Id: I8535d5a91c0539553850c92a407a745a4c7f706b

6 years agoMerge "Have doze update the scrim controller rather than the scrim state." into pi-dev
Michael Wright [Tue, 17 Apr 2018 15:39:13 +0000 (08:39 -0700)]
Merge "Have doze update the scrim controller rather than the scrim state." into pi-dev
am: bae834c061

Change-Id: I748c1a5d0206e7ded1589f12d5329468c09dcb48

6 years agoMerge "Refactored the UserRecyclerGridView to use PagedListView from the car support...
TreeHugger Robot [Tue, 17 Apr 2018 15:31:08 +0000 (15:31 +0000)]
Merge "Refactored the UserRecyclerGridView to use PagedListView from the car support library.  This also surfaced a scrollbar. Additionally, added a touch ripple when you touch a user's picture and disabled the user buttons once a profile is selected" into pi-dev

6 years agoDon't crash apps on notification error
Julia Reynolds [Tue, 17 Apr 2018 13:36:30 +0000 (09:36 -0400)]
Don't crash apps on notification error

Apps cannot recover from this error, and crashing is a bad user
experience.

Test: none
Bug: 30529567
Change-Id: I088ab04f8efeb5fa2483520141c54e90ff441ba4