OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add one more hidden API to light greylist" into pi-dev
David Brazdil [Thu, 19 Apr 2018 13:14:13 +0000 (06:14 -0700)]
Merge "Add one more hidden API to light greylist" into pi-dev
am: b7f1777d0a

Change-Id: I8a724e035ec926aded9c3d1fea9b1534bacf6e88

6 years agoMerge "Add UUID->leastSigBits to light grey." into pi-dev
Nicolas Geoffray [Thu, 19 Apr 2018 13:06:13 +0000 (06:06 -0700)]
Merge "Add UUID->leastSigBits to light grey." into pi-dev
am: 95211ec766

Change-Id: I113db5d3b92c59e842afe49680ae3b666701da0c

6 years agoMerge "Add one more hidden API to light greylist" into pi-dev
David Brazdil [Thu, 19 Apr 2018 12:59:40 +0000 (12:59 +0000)]
Merge "Add one more hidden API to light greylist" into pi-dev

6 years agoMerge "Add UUID->leastSigBits to light grey." into pi-dev
Nicolas Geoffray [Thu, 19 Apr 2018 12:51:27 +0000 (12:51 +0000)]
Merge "Add UUID->leastSigBits to light grey." into pi-dev

6 years agoMerge "Actually resolve all IPs for Private DNS hostname" am: 5ace372bc2
Erik Kline [Thu, 19 Apr 2018 12:25:18 +0000 (05:25 -0700)]
Merge "Actually resolve all IPs for Private DNS hostname" am: 5ace372bc2
am: 5124d28e64

Change-Id: I1e5de255c4ee11f46dc8a1e3f5eaca2f2be1c792

6 years agoMerge "Actually resolve all IPs for Private DNS hostname"
Erik Kline [Thu, 19 Apr 2018 12:15:13 +0000 (05:15 -0700)]
Merge "Actually resolve all IPs for Private DNS hostname"
am: 5ace372bc2

Change-Id: I83ffc854b60f2beb0a9e4c8a107ce26b656c935e

6 years agoMerge "Actually resolve all IPs for Private DNS hostname"
Treehugger Robot [Thu, 19 Apr 2018 11:02:29 +0000 (11:02 +0000)]
Merge "Actually resolve all IPs for Private DNS hostname"

6 years agoAdd one more hidden API to light greylist
David Brazdil [Thu, 19 Apr 2018 09:59:32 +0000 (10:59 +0100)]
Add one more hidden API to light greylist

Bug: 78229662
Test: make
Change-Id: I603e48d795d6d805f46389f9edbd81ffd6c66696

6 years agoActually resolve all IPs for Private DNS hostname
Erik Kline [Thu, 19 Apr 2018 08:58:15 +0000 (17:58 +0900)]
Actually resolve all IPs for Private DNS hostname

Previously, we reused the OneAddressPerFamilyNetwork which does
what it says on the tin.  For the resolution that will be used
to program netd this is not what we really want.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - manual testing of Private DNS passes
Bug: 64133961
Change-Id: Ieccc4d208b314b81061dc78d83848f97acefe04b

6 years agoMerge "Add proto constants for hidden API logging." into pi-dev
Mathew Inwood [Thu, 19 Apr 2018 07:18:29 +0000 (00:18 -0700)]
Merge "Add proto constants for hidden API logging." into pi-dev
am: 8182e354d8

Change-Id: Id3f1d80af5d3a77127df0ca2c746da1db943067a

6 years agoMerge "Add proto constants for hidden API logging." into pi-dev
Mathew Inwood [Thu, 19 Apr 2018 07:09:19 +0000 (07:09 +0000)]
Merge "Add proto constants for hidden API logging." into pi-dev

6 years agoMerge "Fix notification bar can be dragged when SIM PIN lock screen." into pi-dev
Sanry Huang [Thu, 19 Apr 2018 07:01:33 +0000 (00:01 -0700)]
Merge "Fix notification bar can be dragged when SIM PIN lock screen." into pi-dev
am: 5e019b5f8b

Change-Id: I162486ac973bc59d22b400261f15a233ab67e718

6 years agoMerge "Fix notification bar can be dragged when SIM PIN lock screen." into pi-dev
Sanry Huang [Thu, 19 Apr 2018 06:49:19 +0000 (06:49 +0000)]
Merge "Fix notification bar can be dragged when SIM PIN lock screen." into pi-dev

6 years agoMerge "Fix unnecessarily extended View lifetime in IMMS" into pi-dev
Yohei Yukawa [Thu, 19 Apr 2018 04:12:12 +0000 (21:12 -0700)]
Merge "Fix unnecessarily extended View lifetime in IMMS" into pi-dev
am: 3e180afa02

Change-Id: Ic3d7b3fb51cc2b5cee8e2ae508679e2035d0931b

6 years agoMerge "Fix unnecessarily extended View lifetime in IMMS" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 04:01:36 +0000 (04:01 +0000)]
Merge "Fix unnecessarily extended View lifetime in IMMS" into pi-dev

6 years agoMerge "Fixed autofill forged package check to only compare the package name." into...
Felipe Leme [Thu, 19 Apr 2018 03:19:27 +0000 (20:19 -0700)]
Merge "Fixed autofill forged package check to only compare the package name." into pi-dev
am: 2fbdb17cd3

Change-Id: Ife0af02000708eed0b6e94349b043f92d1e08815

6 years agoMerge "Fixed autofill forged package check to only compare the package name." into...
TreeHugger Robot [Thu, 19 Apr 2018 03:10:35 +0000 (03:10 +0000)]
Merge "Fixed autofill forged package check to only compare the package name." into pi-dev

6 years agoFixed autofill forged package check to only compare the package name.
Felipe Leme [Wed, 18 Apr 2018 21:25:00 +0000 (14:25 -0700)]
Fixed autofill forged package check to only compare the package name.

Otherwise, it will log false negatives when app launches a new activity in the
same autofill session. Example:

04-18 19:34:32.392  5423  7199 W AutofillSession: Activity ComponentInfo{com.netgear.WiFiAnalytics/com.netgear.WiFiAnalytics.WiFiAnalyticsWifiRoomSignal} forged different component on AssistStructure: ComponentInfo{com.netgear.WiFiAnalytics/com.netgear.WiFiAnalytics.WiFiAnalyticsWifiAnalyzerTab}

Fixes: 78235438
Bug: 69981710
Test: manual verification, cannot be CTS tested.
Test: CtsAutoFillServiceTestCases

Change-Id: I0408cd159c2be22841a1f6c36a4a2c17e59a6219

6 years agoMerge "Implement swipe up and quick scrub onboarding" into pi-dev
Tracy Zhou [Thu, 19 Apr 2018 01:43:05 +0000 (18:43 -0700)]
Merge "Implement swipe up and quick scrub onboarding" into pi-dev
am: 08a2028228

Change-Id: Ie6a41f240dda33edcfa8f5015ae0884ca9701e94

6 years agoMerge "Reducing the touch slop for quickstep" into pi-dev
Sunny Goyal [Thu, 19 Apr 2018 01:17:13 +0000 (18:17 -0700)]
Merge "Reducing the touch slop for quickstep" into pi-dev
am: 0a16178660

Change-Id: If92a5282ba9abae05eaec72571dd44d34050cf6e

6 years agoMerge "Implement swipe up and quick scrub onboarding" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 01:16:20 +0000 (01:16 +0000)]
Merge "Implement swipe up and quick scrub onboarding" into pi-dev

6 years agoMerge "Reducing the touch slop for quickstep" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 01:04:45 +0000 (01:04 +0000)]
Merge "Reducing the touch slop for quickstep" into pi-dev

6 years agoMerge "No AppStandby tracking of non existent packages and add parole window" into...
Michael Wachenschwanz [Thu, 19 Apr 2018 00:46:48 +0000 (17:46 -0700)]
Merge "No AppStandby tracking of non existent packages and add parole window" into pi-dev
am: b2097fcab6

Change-Id: I03424668040067ab43881bbaa8f832071c6f6296

6 years agoMerge "Added more documentation for dialogMessage" into pi-dev
Suprabh Shukla [Thu, 19 Apr 2018 00:42:13 +0000 (17:42 -0700)]
Merge "Added more documentation for dialogMessage" into pi-dev
am: 4d5d3a0254

Change-Id: I241ddd624eb4409eacde7a3224dc27fa80d5de10

6 years agoMerge "Rely on tile state for on/off a11y announcement." into pi-dev
Amin Shaikh [Thu, 19 Apr 2018 00:36:40 +0000 (17:36 -0700)]
Merge "Rely on tile state for on/off a11y announcement." into pi-dev
am: df173b59f6

Change-Id: Ib2e3e17063627b82dc2539e2e9ecb74c3963a16f

6 years agoFix unnecessarily extended View lifetime in IMMS
Yohei Yukawa [Thu, 19 Apr 2018 00:31:27 +0000 (17:31 -0700)]
Fix unnecessarily extended View lifetime in IMMS

Currently InputMethodManagerService (IMMS) unnecessarily extends the
lifetime of View objects used to show IME switcher dialog until the
dialog is shown again, because it forgets to clear
IMMS#mSwitchingDialogTitleView with null even after the dialog is
closed.

As a result, roughly 1.5MB of RAM will be unnecessarily consumed by
the system_server once after the IME switcher dialog is shown until
the device is rebooted.

With this CL, IMMS#mSwitchingDialogTitleView will be cleared with null
when the dialog is closed.

Fixes: 78245299
Test: Manually made sure that IMMS does not hold strong references to
      View objects used for IME switcher dialog after the dialog is
      closed.
Change-Id: I9fee92bb2974edeceacc680686095df480efba29

6 years agoMerge "No AppStandby tracking of non existent packages and add parole window" into...
TreeHugger Robot [Thu, 19 Apr 2018 00:16:08 +0000 (00:16 +0000)]
Merge "No AppStandby tracking of non existent packages and add parole window" into pi-dev

6 years agoMerge "Added more documentation for dialogMessage" into pi-dev
TreeHugger Robot [Thu, 19 Apr 2018 00:13:13 +0000 (00:13 +0000)]
Merge "Added more documentation for dialogMessage" into pi-dev

6 years agoMerge "Switch user only if the user is changed" into pi-dev
Jaekyun Seok [Thu, 19 Apr 2018 00:10:16 +0000 (17:10 -0700)]
Merge "Switch user only if the user is changed" into pi-dev
am: 90903ac28b

Change-Id: Iae381c069616b4fbce5e1d4ffcc72176eda0758b

6 years agoImplement swipe up and quick scrub onboarding
Tracy Zhou [Mon, 16 Apr 2018 22:47:29 +0000 (15:47 -0700)]
Implement swipe up and quick scrub onboarding

Bug: 70180942
Test: manual test
Change-Id: I5c487d1e4ab800450c6b5a8f7ad1bf7434e45904

6 years agoMerge "ActivityManagerService: add restricted cpuset" into pi-dev
Tim Murray [Wed, 18 Apr 2018 23:59:26 +0000 (16:59 -0700)]
Merge "ActivityManagerService: add restricted cpuset" into pi-dev
am: a5843ebb59

Change-Id: I1ad95b4e5e4d89efeb0a2836950d7d05cd8cd8d5

6 years agoMerge "Make Instrumentation more robust to other inputs" into pi-dev
Jason Monk [Wed, 18 Apr 2018 23:54:05 +0000 (16:54 -0700)]
Merge "Make Instrumentation more robust to other inputs" into pi-dev
am: 3071522227

Change-Id: Ifc3e5c1959a3b25025f396fbfc91363580b239ad

6 years agoMerge "Rely on tile state for on/off a11y announcement." into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 23:53:11 +0000 (23:53 +0000)]
Merge "Rely on tile state for on/off a11y announcement." into pi-dev

6 years agoMerge "Ignore mkdirs requests if CE storage not available." into pi-dev
Farid Zare Seisan [Wed, 18 Apr 2018 23:48:33 +0000 (16:48 -0700)]
Merge "Ignore mkdirs requests if CE storage not available." into pi-dev
am: 29f6a3fefd

Change-Id: Ie1330b037a37a39f748820ab9f038ed77397dd6c

6 years agoMerge "Switch user only if the user is changed" into pi-dev
TreeHugger Robot [Wed, 18 Apr 2018 23:48:19 +0000 (23:48 +0000)]
Merge "Switch user only if the user is changed" into pi-dev

6 years agoMerge "ActivityManagerService: add restricted cpuset" into pi-dev
Tim Murray [Wed, 18 Apr 2018 23:43:53 +0000 (23:43 +0000)]
Merge "ActivityManagerService: add restricted cpuset" into pi-dev

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 agoReducing the touch slop for quickstep
Sunny Goyal [Wed, 18 Apr 2018 23:39:50 +0000 (16:39 -0700)]
Reducing the touch slop for quickstep

Also fxing some wrong thresholds being used for slop comparisions

Test: Verified on device
Bug: 78232923
Change-Id: I0b10a921002f2e45d0d2472a3e690d1526f4aecb

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
Pawin Vongmasa [Wed, 18 Apr 2018 23:04:08 +0000 (16:04 -0700)]
Merge "Dump IOmxStore" into pi-dev
am: 069c5b58b0

Change-Id: I8fd1557760b6f6917a1f15fdb42c8369b8112aad

6 years agoAdded more documentation for dialogMessage
Suprabh Shukla [Wed, 11 Apr 2018 23:03:49 +0000 (16:03 -0700)]
Added more documentation for dialogMessage

Added explanation that callers can use a format string which takes a
single argument which is the name of the suspended app that the user
tried to launch.

Test: make docs

Bug: 77507744
Change-Id: I0a5259048332030385265ceab9c7d76766abac7d

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 22:22:06 +0000 (15:22 -0700)]
Merge "AAPT2: Modified StringPool uniqueness detection #2" into pi-dev
am: b2182c412c

Change-Id: Ib7829b0203134eecdfd59a3dcd1e78b8fbdd39b4

6 years agoNo AppStandby tracking of non existent packages and add parole window
Michael Wachenschwanz [Fri, 30 Mar 2018 19:45:18 +0000 (12:45 -0700)]
No AppStandby tracking of non existent packages and add parole window

Disallow attempts to change standby bucket of nonexistent packages.
Also, add a parole window for idle apps. When parole for idle apps is
ready to be set, check that there is network availabilty. If there is
none, wait for network or the end of the parole window before setting
parole.

Change-Id: I7b8786f59b8da76325f2591cc7b1f86753d52d7b
Fixes: b/71857185
Fixes: b/74345840
Test: atest android.app.usage.cts.UsageStatsTest#testIgnoreNonexistentPackage
Test: manual (enable DEBUG and COMPRESS_TIME in AppStandbyController)

6 years agoMerge "Set default reference ID" into pi-dev
Todd Kennedy [Wed, 18 Apr 2018 22:12:08 +0000 (15:12 -0700)]
Merge "Set default reference ID" into pi-dev
am: 2ee3ef0511

Change-Id: I2368a2f925fdcd81c24497112ed745dd8d237657

6 years ago[automerger skipped] Merge "Migrate android_uiautomator generation to Soong." am...
Nan Zhang [Wed, 18 Apr 2018 21:58:02 +0000 (14:58 -0700)]
[automerger skipped] Merge "Migrate android_uiautomator generation to Soong." am: 0e5b92eea6
am: 1cf2fb25aa  -s ours

Change-Id: I65619b587f5eb3f6aa4fc57b1b961a955ad258d5

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 "Migrate android_uiautomator generation to Soong."
Nan Zhang [Wed, 18 Apr 2018 21:51:30 +0000 (14:51 -0700)]
Merge "Migrate android_uiautomator generation to Soong."
am: 0e5b92eea6

Change-Id: I39fb52030ec03bbe2e9be7e296a9291fbd3184e4

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
jiabin [Wed, 18 Apr 2018 21:29:18 +0000 (14:29 -0700)]
Merge "Add setMin for A11y stream slider bar." into pi-dev
am: b4cef2a588

Change-Id: I3ba6d43fa21a4fdf8047b4bd5c41b7a2d2ac002d

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
Chenjie Yu [Wed, 18 Apr 2018 20:45:45 +0000 (13:45 -0700)]
Merge "add dump report reason to reports" into pi-dev
am: a194a6bee3

Change-Id: I07a2d92ae166e86afa5bd6600d1217180818b9c3

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 agoMerge "Add carrier config for partial sms raw message expiration." into pi-dev
Malcolm Chen [Wed, 18 Apr 2018 20:27:46 +0000 (13:27 -0700)]
Merge "Add carrier config for partial sms raw message expiration." into pi-dev
am: 3d0ff90649

Change-Id: I2b9d6d58ab96264bbfac72ccde37fdf841b17373

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 "Migrate android_uiautomator generation to Soong."
Treehugger Robot [Wed, 18 Apr 2018 20:17:54 +0000 (20:17 +0000)]
Merge "Migrate android_uiautomator generation to Soong."

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 agoMerge "Prevent early onEnterAnimationComplete callback for recents target" into pi-dev
Winson Chung [Wed, 18 Apr 2018 20:11:50 +0000 (13:11 -0700)]
Merge "Prevent early onEnterAnimationComplete callback for recents target" into pi-dev
am: a3a1e8ad79

Change-Id: I6de4b410f7608b3deb2f6abb7214808d3b9d829f

6 years agoMerge "Fix regression in assist data fetching and canceling" into pi-dev
Winson Chung [Wed, 18 Apr 2018 20:07:06 +0000 (13:07 -0700)]
Merge "Fix regression in assist data fetching and canceling" into pi-dev
am: 5513302b43

Change-Id: I7c4e6bf2b66455f39ffff95f49dbffcf2b289b74

6 years agoMerge "Use config_longPressVibePattern as heavy click fallback." into pi-dev
Michael Wright [Wed, 18 Apr 2018 19:54:55 +0000 (12:54 -0700)]
Merge "Use config_longPressVibePattern as heavy click fallback." into pi-dev
am: 654cd3a226

Change-Id: Icf4f144e653e08479dcfc853dbdbd4bf68cea7f5

6 years agoMerge "Ensure QS does not expand when qs disabled." into pi-dev
Amin Shaikh [Wed, 18 Apr 2018 19:49:57 +0000 (12:49 -0700)]
Merge "Ensure QS does not expand when qs disabled." into pi-dev
am: 3a958d3fce

Change-Id: Ic867d2e75945b27b82ffc5d62202371ee72321e9

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 "Serialize key eviction vs. user storage preparation" into pi-dev
Pavel Grafov [Wed, 18 Apr 2018 19:39:42 +0000 (12:39 -0700)]
Merge "Serialize key eviction vs. user storage preparation" into pi-dev
am: a2f4dd1cfd

Change-Id: I9b4e65b55a0201e054ed624a2747c9a0473e42d0

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 "Record timestamp when brightness tracker is called" into pi-dev
Kenny Guy [Wed, 18 Apr 2018 19:34:49 +0000 (12:34 -0700)]
Merge "Record timestamp when brightness tracker is called" into pi-dev
am: eb432b1092

Change-Id: I975e90016eb93d15f4fb04f724dc526835f51f13

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 agoMerge "ViewRoot: Ensure we release surface from setWindowStopped." into pi-dev
Rob Carr [Wed, 18 Apr 2018 19:27:38 +0000 (12:27 -0700)]
Merge "ViewRoot: Ensure we release surface from setWindowStopped." into pi-dev
am: 3ef2d6d9d8

Change-Id: I6c14d19d72d03d975e6b1e34b00fc9ac879e4811

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 "Don't apply corner cutout insets if we're already inset enough" into pi-dev
Evan Laird [Wed, 18 Apr 2018 19:06:29 +0000 (12:06 -0700)]
Merge "Don't apply corner cutout insets if we're already inset enough" into pi-dev
am: f0cbbff692

Change-Id: I8c0e23fcac114f7dc41bf45f60b75408ab53a5bf

6 years agoMerge "ActivityManagerService: ensure updateOomAdjLocked gets called early" into...
Tim Murray [Wed, 18 Apr 2018 19:00:26 +0000 (12:00 -0700)]
Merge "ActivityManagerService: ensure updateOomAdjLocked gets called early" into pi-dev
am: 3148dbf80d

Change-Id: Ia7902146d83b84c5b22ec21770de359834a4a935

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 consider resources < 0 as invalid" into pi-dev
Todd Kennedy [Wed, 18 Apr 2018 18:52:34 +0000 (11:52 -0700)]
Merge "Don't consider resources < 0 as invalid" into pi-dev
am: 6fc7e38bbe

Change-Id: I649f0e947771a9d8d1c74bbbb2aed8ae5bd3b960

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 "Grant notification Uri permissions as sending app." into pi-dev
Jeff Sharkey [Wed, 18 Apr 2018 18:41:52 +0000 (11:41 -0700)]
Merge "Grant notification Uri permissions as sending app." into pi-dev
am: 56487413b7

Change-Id: I2c04b6d22bdb5f8265cdfe56bf46de6a92d3d369

6 years agoMerge "Add AccountManager key rotation awareness." into pi-dev
Dan Cashman [Wed, 18 Apr 2018 18:35:58 +0000 (11:35 -0700)]
Merge "Add AccountManager key rotation awareness." into pi-dev
am: 3091d60a70

Change-Id: Ife05dbf2b6e138ef928e597d42c99a12997e7b74

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 "Add setting for GNSS location request update duration" into pi-dev
Yu-Han Yang [Wed, 18 Apr 2018 18:26:49 +0000 (11:26 -0700)]
Merge "Add setting for GNSS location request update duration" into pi-dev
am: af52d9815a

Change-Id: If268c45fa38671ebe17b4f7c0c9d58b2029cea48

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 ago[automerger skipped] Merge "Revert "Remove the OEM hook implementation and usage...
Shuo Qian [Wed, 18 Apr 2018 18:12:20 +0000 (11:12 -0700)]
[automerger skipped] Merge "Revert "Remove the OEM hook implementation and usage"" into pi-dev
am: e116dcc57c  -s ours

Change-Id: Ia6518f01fd5dfec3909bac318f0596ed83013bcf

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 agoMigrate android_uiautomator generation to Soong.
Nan Zhang [Fri, 13 Apr 2018 22:58:29 +0000 (15:58 -0700)]
Migrate android_uiautomator generation to Soong.

Bug: b/70351683
Test: m clean && m android_uiautomator
and compare the old and new stubs.jar using md5sum.

Change-Id: I01937352ae1a470745f2ab1a9acbb4ea9520e153
Merged-In: I01937352ae1a470745f2ab1a9acbb4ea9520e153

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 agoMerge "Fixes no vibration on old nav bar" into pi-dev
Matthew Ng [Wed, 18 Apr 2018 17:42:49 +0000 (10:42 -0700)]
Merge "Fixes no vibration on old nav bar" into pi-dev
am: 73f8361354

Change-Id: I4e6cac63be2557e22cb690d3ef680b09faed93a2

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 agoMerge "Revert "Fix "Screen is pinned" dialog not showing completely in multi-window...
Tracy Zhou [Wed, 18 Apr 2018 17:37:51 +0000 (10:37 -0700)]
Merge "Revert "Fix "Screen is pinned" dialog not showing completely in multi-window"" into pi-dev
am: e3b59d6376

Change-Id: I908e8f914b58d8c80873256bbea95e3f45ab9e3a

6 years agoMerge "Fix issue #74248644: Swiping away task increments start ID of running services...
Dianne Hackborn [Wed, 18 Apr 2018 17:29:59 +0000 (10:29 -0700)]
Merge "Fix issue #74248644: Swiping away task increments start ID of running services" into pi-dev
am: 32643c6644

Change-Id: I9c3b0ebb63ba46bfcbdf26f46476048d8b53f6c4

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