OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Make Instrumentation more robust to other inputs" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 23:43:15 +0000 (23:43 +0000)]
Merge "Make Instrumentation more robust to other inputs" into pi-dev

6 years agoMerge "Ignore mkdirs requests if CE storage not available." into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 23:37:38 +0000 (23:37 +0000)]
Merge "Ignore mkdirs requests if CE storage not available." into pi-dev

6 years agoMerge "Dump IOmxStore" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 22:44:01 +0000 (22:44 +0000)]
Merge "Dump IOmxStore" into pi-dev

6 years agoMerge "AAPT2: Modified StringPool uniqueness detection #2" into pi-dev
Ryan Mitchell [Wed, 18 Apr 2018 21:54:47 +0000 (21:54 +0000)]
Merge "AAPT2: Modified StringPool uniqueness detection #2" into pi-dev

6 years agoMerge "Set default reference ID" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 21:50:40 +0000 (21:50 +0000)]
Merge "Set default reference ID" into pi-dev

6 years agoMerge "Add setMin for A11y stream slider bar." into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 21:22:04 +0000 (21:22 +0000)]
Merge "Add setMin for A11y stream slider bar." into pi-dev

6 years agoAAPT2: Modified StringPool uniqueness detection #2
y [Tue, 17 Apr 2018 01:13:14 +0000 (18:13 -0700)]
AAPT2: Modified StringPool uniqueness detection #2

b/77862560 detected that when converting an apk to binary using aapt2,
all resource ids of attributes that have been replaced with resource
identifiers become set to the identifier of the first attribute. This is
because the attribute names are all empty because the names are not necessary
since the resource ids are present. The empty attribute names all map to
the same string pool reference and cause all the ids to be the first
empty string into the string pool.

The ag/3897499 approach to fix the specified bug was extremely inefficient
and caused hour long builds. This change takes advantage of the multimap
data structure to do lookups efficiently.

Bug: 77862560
Test: Converted apk in listed bug from proto to binary and observed
correct resource ids and correct badging. Also built the Android tree to
check for regressions in build time.

Change-Id: I27a9ee4ffbed8b9ff6f238ad315cdf87b588947c

6 years agoMerge "add dump report reason to reports" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 20:35:29 +0000 (20:35 +0000)]
Merge "add dump report reason to reports" into pi-dev

6 years agoadd dump report reason to reports
Chenjie Yu [Mon, 16 Apr 2018 22:18:30 +0000 (15:18 -0700)]
add dump report reason to reports

+ also change uidmapping version numbers to int64_t

Bug: 78132855
Change-Id: Iac7ea93e4bf651bd65bd03383e7ab4971af4fc29
Fix: 78132855
Test: gts test

6 years agoMerge "Add carrier config for partial sms raw message expiration." into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 20:15:16 +0000 (20:15 +0000)]
Merge "Add carrier config for partial sms raw message expiration." into pi-dev

6 years agoMake Instrumentation more robust to other inputs
Jason Monk [Wed, 18 Apr 2018 19:43:50 +0000 (15:43 -0400)]
Make Instrumentation more robust to other inputs

Test: atest cts/tests/app/src/android/app/cts/InstrumentationTest.java
Change-Id: I2d55274ab19c4687ce85c086f2da61a4316b8096
Fixes: 70720100

6 years agoMerge "Prevent early onEnterAnimationComplete callback for recents target" into pi-dev
Winson Chung [Wed, 18 Apr 2018 19:35:53 +0000 (19:35 +0000)]
Merge "Prevent early onEnterAnimationComplete callback for recents target" into pi-dev

6 years agoMerge "Fix regression in assist data fetching and canceling" into pi-dev
Winson Chung [Wed, 18 Apr 2018 19:34:21 +0000 (19:34 +0000)]
Merge "Fix regression in assist data fetching and canceling" into pi-dev

6 years agoMerge "Use config_longPressVibePattern as heavy click fallback." into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 19:31:26 +0000 (19:31 +0000)]
Merge "Use config_longPressVibePattern as heavy click fallback." into pi-dev

6 years agoAdd setMin for A11y stream slider bar.
jiabin [Wed, 18 Apr 2018 19:24:37 +0000 (12:24 -0700)]
Add setMin for A11y stream slider bar.

Since the volume of accessiblity will not go to 0, add setMin for A11y
stream slider in case it goes to 0 in volume panel.

Bug: 72403580
Test: Add log in onProgressChanged and check A11y stream won't go to 0.
Change-Id: Ie8c88c8a40fad4d281997922df8acb8f446288c7

6 years agoMerge "Ensure QS does not expand when qs disabled." into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 19:23:40 +0000 (19:23 +0000)]
Merge "Ensure QS does not expand when qs disabled." into pi-dev

6 years agoMerge "Serialize key eviction vs. user storage preparation" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 19:12:36 +0000 (19:12 +0000)]
Merge "Serialize key eviction vs. user storage preparation" into pi-dev

6 years agoMerge "Record timestamp when brightness tracker is called" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 19:09:25 +0000 (19:09 +0000)]
Merge "Record timestamp when brightness tracker is called" into pi-dev

6 years agoMerge "ViewRoot: Ensure we release surface from setWindowStopped." into pi-dev
Rob Carr [Wed, 18 Apr 2018 18:59:43 +0000 (18:59 +0000)]
Merge "ViewRoot: Ensure we release surface from setWindowStopped." into pi-dev

6 years agoMerge "Don't apply corner cutout insets if we're already inset enough" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 18:48:53 +0000 (18:48 +0000)]
Merge "Don't apply corner cutout insets if we're already inset enough" into pi-dev

6 years agoMerge "ActivityManagerService: ensure updateOomAdjLocked gets called early" into...
TreeHugger Robot [Wed, 18 Apr 2018 18:48:48 +0000 (18:48 +0000)]
Merge "ActivityManagerService: ensure updateOomAdjLocked gets called early" into pi-dev

6 years agoMerge "Don't consider resources < 0 as invalid" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 18:33:36 +0000 (18:33 +0000)]
Merge "Don't consider resources < 0 as invalid" into pi-dev

6 years agoMerge "Grant notification Uri permissions as sending app." into pi-dev
Jeff Sharkey [Wed, 18 Apr 2018 18:18:48 +0000 (18:18 +0000)]
Merge "Grant notification Uri permissions as sending app." into pi-dev

6 years agoMerge "Add AccountManager key rotation awareness." into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 18:14:34 +0000 (18:14 +0000)]
Merge "Add AccountManager key rotation awareness." into pi-dev

6 years agoMerge "Add setting for GNSS location request update duration" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 18:10:04 +0000 (18:10 +0000)]
Merge "Add setting for GNSS location request update duration" into pi-dev

6 years agoRecord timestamp when brightness tracker is called
Kenny Guy [Wed, 18 Apr 2018 17:42:10 +0000 (18:42 +0100)]
Record timestamp when brightness tracker is called

Associate the brightness slider event timestamp with
the time the tracker is called rather than when
the background handler handles the call.

Bug: 78224086
Test: atest BrightnessTrackerTest
Change-Id: I083fdcc10f223ab7398911d9cb63dca5d8681fc4

6 years agoMerge "Revert "Remove the OEM hook implementation and usage"" into pi-dev
Shuo Qian [Wed, 18 Apr 2018 17:50:31 +0000 (17:50 +0000)]
Merge "Revert "Remove the OEM hook implementation and usage"" into pi-dev

6 years agoUse config_longPressVibePattern as heavy click fallback.
Michael Wright [Mon, 16 Apr 2018 18:35:13 +0000 (19:35 +0100)]
Use config_longPressVibePattern as heavy click fallback.

Rather than using the regular click effect as the fallback, use the long
press pattern since heavy click is the new effect for long press. This
also lets us distinguish the two effects in the configuration.

Bug: 77863933
Test: long-press on something, feel the effect
Change-Id: Ie22d064cbdd2d33702180cb528d743e75ff8ae63

6 years agoDon't consider resources < 0 as invalid
Todd Kennedy [Tue, 17 Apr 2018 16:55:31 +0000 (09:55 -0700)]
Don't consider resources < 0 as invalid

The only invalid resource ID is '0'. All other resource IDs are
valid; even negative resource IDs.

With the introduction of namespaces in AAPT2, resource IDs start with
0x80, 0x81, ... [ie. because Java only supports signed types, they are
considered negative]. For app transition animations negative resource
IDs were incorrectly considered "invalid".

Change-Id: I24032baa54860459d4f1b8e17a80c760c48d5579
Fixes: 70716301
Test: Manual. Run multi-split APK and see that transition animations work when defined in a split

6 years agoMerge "Fixes no vibration on old nav bar" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 17:27:33 +0000 (17:27 +0000)]
Merge "Fixes no vibration on old nav bar" into pi-dev

6 years agoSet default reference ID
Todd Kennedy [Wed, 18 Apr 2018 17:25:45 +0000 (10:25 -0700)]
Set default reference ID

The reference ID may not be set [when the reference ID is 0x00], so,
we need to ensure it has a proper default value; instead of garbage

Change-Id: Ie1bcf062fbb1aab5832cf210f68b24732af5dc3b
Fixes: 74389717
Test: Run gReader and see that it doesn't crash

6 years agoMerge "Revert "Fix "Screen is pinned" dialog not showing completely in multi-window...
TreeHugger Robot [Wed, 18 Apr 2018 17:25:00 +0000 (17:25 +0000)]
Merge "Revert "Fix "Screen is pinned" dialog not showing completely in multi-window"" into pi-dev

6 years agoRevert "Fix "Screen is pinned" dialog not showing completely in multi-window"
Tracy Zhou [Mon, 16 Apr 2018 20:36:37 +0000 (20:36 +0000)]
Revert "Fix "Screen is pinned" dialog not showing completely in multi-window"

This reverts commit be26707695e3cf4785e716b9814a067d50cd1123.

Reason for revert: Caused regression in b/77976945

Fixes: 77976945
Bug: 73513388

Change-Id: I8c83a823d7421563ea5a2eab2e20cb2b06ec6068

6 years agoMerge "Fix issue #74248644: Swiping away task increments start ID of running services...
TreeHugger Robot [Wed, 18 Apr 2018 17:21:11 +0000 (17:21 +0000)]
Merge "Fix issue #74248644: Swiping away task increments start ID of running services" into pi-dev

6 years agoMerge "Fix merge isolated uid to host uid" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 17:07:13 +0000 (17:07 +0000)]
Merge "Fix merge isolated uid to host uid" into pi-dev

6 years agoMerge "Fix a tiny bug in NetworkScanRequest" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 16:52:34 +0000 (16:52 +0000)]
Merge "Fix a tiny bug in NetworkScanRequest" into pi-dev

6 years agoActivityManagerService: ensure updateOomAdjLocked gets called early
Tim Murray [Wed, 18 Apr 2018 16:43:39 +0000 (09:43 -0700)]
ActivityManagerService: ensure updateOomAdjLocked gets called early

If updateOomAdjLocked isn't called before android.bg is put into the bg
cpuset, then updateOomAdjLocked will put android.bg in the fg cpuset.

Test: boots
Bug: 77908520
Change-Id: If88a6a59f4ca4fe7d1c6ed149f59282aad26600a

6 years agoMerge "ActivityManagerService: make bluetooth actually persistent" into pi-dev
Tim Murray [Wed, 18 Apr 2018 16:49:39 +0000 (16:49 +0000)]
Merge "ActivityManagerService: make bluetooth actually persistent" into pi-dev

6 years agoActivityManagerService: make bluetooth actually persistent
Tim Murray [Tue, 17 Apr 2018 04:43:33 +0000 (21:43 -0700)]
ActivityManagerService: make bluetooth actually persistent

com.android.bluetooth was being marked as a persistent service in terms
of OOM adjustment, but it was only being marked as important foreground for
scheduling reasons. Make sure that persistent services are correctly
marked as persistent for the purposes of scheduling too.

bug 78197570
Test: dumpsys activity

Change-Id: Ieb2fe4253cac1202bd94a42356bb32f9e77b5637

6 years agoMerge "Slices: Don't use public namespace for internal intent" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 16:34:06 +0000 (16:34 +0000)]
Merge "Slices: Don't use public namespace for internal intent" into pi-dev

6 years agoSerialize key eviction vs. user storage preparation
Pavel Grafov [Tue, 10 Apr 2018 18:19:01 +0000 (19:19 +0100)]
Serialize key eviction vs. user storage preparation

UserManagerService.onBeforeUnlockUser requires unlocked user key
and is executed on FgThread. Currently key may be locked from
a different thread: UserController.finishUserStopped is executed in
mHandler. This changes moves lockUserKey part to FgThread, so that
key state can be reliably checked before starting onBeforeUnlockUser.

In the worst case user will be RUNNING_LOCKED with "Some functionality
may be limited" warning and unable to start apps. But that seems
fairly harmless.

+ got rid of redundant boolean in finishUserStopped.

Fixes: 72334925
Test: Turn work mode on and off ad nauseam
Test cts-tradefed run commandAndExit cts-dev -m CtsDevicePolicyManagerTestCases
     -t com.android.cts.devicepolicy.ManagedProfileTest
Test: creating another user and swithching back and forth
Test: exercising DPMS.lockNow(FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY) via TestDPC

Change-Id: I01d4dea183fd1a35a2e47284c7a544725e8a871f

6 years agoGrant notification Uri permissions as sending app.
Jeff Sharkey [Tue, 17 Apr 2018 18:16:20 +0000 (12:16 -0600)]
Grant notification Uri permissions as sending app.

For security reasons, the system UID can't make URI permission as
itself; it always needs to do so on behalf of a specific app.  To
handle this, we grant notification Uri permissions as the UID that
sent a given notification.

To give meaningful debug messages to developers, check to see if the
caller has permissions to grant Uri access when they're enqueuing
a notification.  If they're targeting P, throw any security issues
back at the caller; if older SDK, log and ignore that Uri.

Since multiple notifications can grant access to the same content,
we need unique UriPermissionOwner per active notification.  For
example, consider these two notifications:

1. sound=content://sound, image=content://image1
2. sound=content://sound, image=content://image2

When #1 is cancelled, we still need to keep the content://sound
grant active until #2 is also cancelled.  Using unique owners
means that ActivityManagerService tracks reference counting on
our behalf.

Optimizations to avoid allocations in hot code paths.

Test: atest frameworks/base/services/tests/uiservicestests/src/com/android/server/notification
Bug: 9069730
Change-Id: I69601793538adcbf06c4986a2fb1ea2dd9d876eb

6 years agoMerge changes I9876ff6b,Iccd7c1c1 into pi-dev
David Brazdil [Wed, 18 Apr 2018 15:48:50 +0000 (15:48 +0000)]
Merge changes I9876ff6b,Iccd7c1c1 into pi-dev

* changes:
  Add more hidden API on light greylist
  Add Thread.contextClassLoader to hidden API light greylist

6 years agoMerge "Delete hiddenapi-blacklist.txt file" into pi-dev
David Brazdil [Wed, 18 Apr 2018 15:35:39 +0000 (15:35 +0000)]
Merge "Delete hiddenapi-blacklist.txt file" into pi-dev

6 years agoMerge "Sort hiddenapi-light-greylist.txt" into pi-dev
David Brazdil [Wed, 18 Apr 2018 15:35:07 +0000 (15:35 +0000)]
Merge "Sort hiddenapi-light-greylist.txt" into pi-dev

6 years agoMerge "Only show settings icon for set up users" into pi-dev
Julia Reynolds [Wed, 18 Apr 2018 15:24:03 +0000 (15:24 +0000)]
Merge "Only show settings icon for set up users" into pi-dev

6 years agoEnsure QS does not expand when qs disabled.
Amin Shaikh [Wed, 18 Apr 2018 14:45:13 +0000 (10:45 -0400)]
Ensure QS does not expand when qs disabled.

Remove unnecessary QSContainerImpl measure logic to constrain the
height to QQS height when QS is disabled. This interferes with
NotificationPanelView's logic for determining QS expansion.

Change-Id: I7e6659cc12dae2fbaa16d15a63c709dd96177b97
Fixes: 72739219
Test: manual

6 years agoSlices: Don't use public namespace for internal intent
Jason Monk [Wed, 18 Apr 2018 14:37:19 +0000 (10:37 -0400)]
Slices: Don't use public namespace for internal intent

Test: manual
Change-Id: I21bc0a367456b58de195d71fc29cca0dbbca6927
Fixes: 78214697

6 years agoDump IOmxStore
Pawin Vongmasa [Wed, 18 Apr 2018 14:01:47 +0000 (07:01 -0700)]
Dump IOmxStore

IOmxStore may be in a different process from IOmx.

Test: adb bugreport

Bug: 78218851
Change-Id: I990b202353aa7e736413faad1c3404975ade5c4e

6 years agoOnly show settings icon for set up users
Julia Reynolds [Wed, 18 Apr 2018 14:01:20 +0000 (10:01 -0400)]
Only show settings icon for set up users

Test: manual inspection
Change-Id: Iec065269eaed7a906fafad332b1ef168f575773b
Fixes: 77548684

6 years agoMerge "Color and text changes" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 14:01:01 +0000 (14:01 +0000)]
Merge "Color and text changes" into pi-dev

6 years agoMerge "Add UUID->mostSigBits to light grey." into pi-dev
Nicolas Geoffray [Wed, 18 Apr 2018 13:58:04 +0000 (13:58 +0000)]
Merge "Add UUID->mostSigBits to light grey." into pi-dev

6 years agoMerge "Add Landroid/app/LoadedApk;->mLibDir:Ljava/lang/String; to light grey." into...
Nicolas Geoffray [Wed, 18 Apr 2018 13:57:48 +0000 (13:57 +0000)]
Merge "Add Landroid/app/LoadedApk;->mLibDir:Ljava/lang/String; to light grey." into pi-dev

6 years agoMerge "Add new light greylist APIs." into pi-dev
Nicolas Geoffray [Wed, 18 Apr 2018 13:57:27 +0000 (13:57 +0000)]
Merge "Add new light greylist APIs." into pi-dev

6 years agoMerge "Redo VolumeDialog with SeekbarListItem" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 13:24:37 +0000 (13:24 +0000)]
Merge "Redo VolumeDialog with SeekbarListItem" into pi-dev

6 years agoAdd more hidden API on light greylist
David Brazdil [Wed, 18 Apr 2018 13:22:03 +0000 (14:22 +0100)]
Add more hidden API on light greylist

Bug: 78210188
Bug: 78182899
Test: make
Change-Id: I9876ff6bc9477f51d6a5ba9370c6a1742210f86a

6 years agoMerge "Add rank & count event to notification clicks and dismisses" into pi-dev
Dieter Hsu [Wed, 18 Apr 2018 13:05:43 +0000 (13:05 +0000)]
Merge "Add rank & count event to notification clicks and dismisses" into pi-dev

6 years agoColor and text changes
Julia Reynolds [Wed, 18 Apr 2018 12:43:34 +0000 (08:43 -0400)]
Color and text changes

Change-Id: I2b1837ffd16911be20b5d5f9a7007ff3071265ab
Fixes: 78191129
Fixes: 77810424
Fixes: 78196346
Test: manual inspection

6 years agoDelete hiddenapi-blacklist.txt file
David Brazdil [Wed, 18 Apr 2018 12:35:15 +0000 (13:35 +0100)]
Delete hiddenapi-blacklist.txt file

The file is empty and not used, and its presence confuses people.
Remove it.

Bug: 64382372
Test: make
Change-Id: I8646a78b96d81dd38e5c58460d354430babd9d53

6 years agoSort hiddenapi-light-greylist.txt
David Brazdil [Wed, 18 Apr 2018 12:33:53 +0000 (13:33 +0100)]
Sort hiddenapi-light-greylist.txt

Previous CL Ide42eacc8db4e403432ddd9d952495dda85db0ac left it
unsorted which makes it difficult to programatically add new APIs.

Bug: 64382372
Test: make
Change-Id: Iff35925d9ad64d8a98e59c1b8c4094d59a1c3a3c

6 years agoAdd Thread.contextClassLoader to hidden API light greylist
David Brazdil [Wed, 18 Apr 2018 12:36:09 +0000 (13:36 +0100)]
Add Thread.contextClassLoader to hidden API light greylist

Bug: 78145123
Test: make
Change-Id: Iccd7c1c167c77c6bced619735114452e80a086f0

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:26:55 +0000 (11:26 +0000)]
Merge "Teach ApfGenerator about the new opcodes for accessing data memory" into pi-dev

6 years agoAdd new light greylist APIs.
Nicolas Geoffray [Wed, 18 Apr 2018 09:56:32 +0000 (10:56 +0100)]
Add new light greylist APIs.

bug: 78027167
Test: m
Change-Id: I6b9ef6534e1a0f50aac19909c04640b4b1f581ca

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 "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 agoAdd Landroid/app/LoadedApk;->mLibDir:Ljava/lang/String; to light grey.
Nicolas Geoffray [Wed, 18 Apr 2018 07:59:15 +0000 (08:59 +0100)]
Add Landroid/app/LoadedApk;->mLibDir:Ljava/lang/String; to light grey.

bug: 77912446
Test: m
Change-Id: I81502667117a0584d150dc48d612a6a559dc3537

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 "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 agoAdd rank & count event to notification clicks and dismisses
Dieter Hsu [Fri, 13 Apr 2018 18:08:30 +0000 (02:08 +0800)]
Add rank & count event to notification clicks and dismisses

For click/action click/dismiss, passing rank(0-based) and
count at the time of the actions to events.

Bug: 70724602
Test: runtest systemui-notification
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/notification
Change-Id: I07c440f84ccb745f744eb4e317881b72d2b41683

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 01:53:39 +0000 (01:53 +0000)]
Merge "Don't delay the FINGERPRINT_ERROR_CANCELED message" into pi-dev

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
Test: Treehugger
Change-Id: I96697165fd75054de42f007c16ca294ed6725708
Merged-In: I96697165fd75054de42f007c16ca294ed6725708
(cherry picked from commit 00b89515a54b7f8d635408994c6384fb80fe2127)

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 agoFixes no vibration on old nav bar
Matthew Ng [Tue, 17 Apr 2018 23:48:21 +0000 (16:48 -0700)]
Fixes no vibration on old nav bar

Since systemui and launcher are always connected, the old condition for
disabling vibration when systemui and launcher are connected does not
work anymore and instead if the interface changes back to the old nav
bar then enable vibrations.

Change-Id: Ia19c040c65d6fe1d0f05af0ee6cdd11ca3b46bdf
Fixes: 78138490
Test: disable swipe up in settings and press home/back button

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
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 agoFix merge isolated uid to host uid
Chenjie Yu [Tue, 17 Apr 2018 22:20:21 +0000 (15:20 -0700)]
Fix merge isolated uid to host uid

Bug: 78190783
Fix: 78190783
Test: unit test
Change-Id: I71b5c575bf3c226509ebf088cb5dd961acd93459

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 "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 agoDon't apply corner cutout insets if we're already inset enough
Evan Laird [Tue, 17 Apr 2018 21:42:36 +0000 (17:42 -0400)]
Don't apply corner cutout insets if we're already inset enough

Test: rotate with double cutout and corner cutout
Change-Id: Id0040d38d6ad82552943f78b4318122baef5b506
Fixes: 76149216

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 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 agoAdd AccountManager key rotation awareness.
Dan Cashman [Tue, 10 Apr 2018 14:41:16 +0000 (07:41 -0700)]
Add AccountManager key rotation awareness.

Replace checkSignatures() calls in AccountManager with a new,
rotation-aware call to PackageManagerInternal.  Also add a new
AUTH cert capability to reflect the distinction between these
permissions and others.

Bug: 77651077
Test: Builds. CtsAccountManagerTestCases
Change-Id: Idd412cd984acf7d37555deb5879f2d6a0a10c2b6

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 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 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 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 "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
TreeHugger Robot [Tue, 17 Apr 2018 18:45:22 +0000 (18:45 +0000)]
Merge "Change allowed sound triggers to 1000" into pi-dev