OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Longer bouncer delay and simpler delay logic" into qt-r1-dev
Lucas Dupin [Wed, 5 Jun 2019 21:32:00 +0000 (21:32 +0000)]
Merge "Longer bouncer delay and simpler delay logic" into qt-r1-dev

5 years agoMerge "Clarify documentation for sensor placement" into qt-dev
Brian Duddie [Wed, 5 Jun 2019 20:52:59 +0000 (13:52 -0700)]
Merge "Clarify documentation for sensor placement" into qt-dev
am: 6e9c0741b5

Change-Id: I1958be423afdcd5939e99773d644da1a01805462

5 years agoMerge "Clarify documentation for sensor placement" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 20:36:42 +0000 (20:36 +0000)]
Merge "Clarify documentation for sensor placement" into qt-dev

5 years agoMerge "Update KeyguardMonitor when UnlockMethod changes" into qt-dev
Fabian Kozynski [Wed, 5 Jun 2019 20:18:11 +0000 (13:18 -0700)]
Merge "Update KeyguardMonitor when UnlockMethod changes" into qt-dev
am: 15e2d7e50b

Change-Id: I524b8c1dcc44d075d2b0601b38d823cfa4cf90e5

5 years agoMerge "Read the subtext of noti guts field on selection" into qt-dev
Julia Reynolds [Wed, 5 Jun 2019 20:15:55 +0000 (13:15 -0700)]
Merge "Read the subtext of noti guts field on selection" into qt-dev
am: 8ef8577391

Change-Id: I42854db82cb51731075ebc502648d3cd9b1fb722

5 years agoMerge "Update KeyguardMonitor when UnlockMethod changes" into qt-dev
Fabian Kozynski [Wed, 5 Jun 2019 20:10:09 +0000 (20:10 +0000)]
Merge "Update KeyguardMonitor when UnlockMethod changes" into qt-dev

5 years agoMerge "Read the subtext of noti guts field on selection" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 20:00:32 +0000 (20:00 +0000)]
Merge "Read the subtext of noti guts field on selection" into qt-dev

5 years agoMerge "Always show ScreenDecorations when in gesture nav mode." into qt-dev
Matt Casey [Wed, 5 Jun 2019 19:57:19 +0000 (12:57 -0700)]
Merge "Always show ScreenDecorations when in gesture nav mode." into qt-dev
am: 92d7f42baa

Change-Id: I940a42b953d421e99f8b348b5c934a0ef5ab3cf0

5 years agoMerge "Always prompt for limited connectivity." into qt-dev
Lorenzo Colitti [Wed, 5 Jun 2019 19:52:44 +0000 (12:52 -0700)]
Merge "Always prompt for limited connectivity." into qt-dev
am: 4a5a129fb2

Change-Id: I01f28fe0892728bfd82c9ef0d8123cbb2134ca0a

5 years agoMerge "Always show ScreenDecorations when in gesture nav mode." into qt-dev
Matt Casey [Wed, 5 Jun 2019 19:02:35 +0000 (19:02 +0000)]
Merge "Always show ScreenDecorations when in gesture nav mode." into qt-dev

5 years agoMerge "Always prompt for limited connectivity." into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 18:50:32 +0000 (18:50 +0000)]
Merge "Always prompt for limited connectivity." into qt-dev

5 years agoClarify documentation for sensor placement
Brian Duddie [Wed, 5 Jun 2019 18:41:40 +0000 (11:41 -0700)]
Clarify documentation for sensor placement

Update documentation to be in sync with new language added to HAL
interface, which better explains the expected payload, format, and
usage.

Fixes: 133264933
Test: make docs, view HTML
Change-Id: Ib602674d395cb8c8e6431d23b051685c8d172560

5 years agoRead the subtext of noti guts field on selection
Julia Reynolds [Wed, 5 Jun 2019 18:30:05 +0000 (14:30 -0400)]
Read the subtext of noti guts field on selection

When using a11y services

Test: manual with Talkback
Bug: 133649570
Change-Id: Id022e47bef9848e4c5237808659531f8d1c0c953

5 years agoMerge "Triggering notifications when dual CDMA SIM combinations are detected" into...
Xiangyu/Malcolm Chen [Wed, 5 Jun 2019 18:21:22 +0000 (11:21 -0700)]
Merge "Triggering notifications when dual CDMA SIM combinations are detected" into qt-dev
am: b613fec2f8

Change-Id: I26ed9920543db1d26ca451d288533940f42f33a7

5 years agoMerge "Triggering notifications when dual CDMA SIM combinations are detected" into...
Xiangyu/Malcolm Chen [Wed, 5 Jun 2019 18:03:17 +0000 (18:03 +0000)]
Merge "Triggering notifications when dual CDMA SIM combinations are detected" into qt-dev

5 years agoMerge "Don't send SessionCallbacks for DRY_RUN sessions." into qt-dev
Richard Uhler [Wed, 5 Jun 2019 17:57:22 +0000 (10:57 -0700)]
Merge "Don't send SessionCallbacks for DRY_RUN sessions." into qt-dev
am: 183eacab16

Change-Id: I991307d54ef03a9968076f5364dcd57ef9f5bacb

5 years agoMerge "Don't send SessionCallbacks for DRY_RUN sessions." into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 17:36:41 +0000 (17:36 +0000)]
Merge "Don't send SessionCallbacks for DRY_RUN sessions." into qt-dev

5 years agoMerge "Always start launcher when empty home stack is being resumed" into qt-dev
Andrii Kulian [Wed, 5 Jun 2019 16:53:44 +0000 (09:53 -0700)]
Merge "Always start launcher when empty home stack is being resumed" into qt-dev
am: 331eb26c1c

Change-Id: I3acc0d2fb30e22bc5dff64298f70f16f86fc54a1

5 years agoUpdate KeyguardMonitor when UnlockMethod changes
Fabian Kozynski [Wed, 5 Jun 2019 16:42:06 +0000 (12:42 -0400)]
Update KeyguardMonitor when UnlockMethod changes

If UnlockMethodChanges but StatusBarState does not, KeyguardMonitor was
not updated. This happened when user changed and may have made
KeyguardMonitor believe it was not secure.

Test: manual: Create another user and and have "Add users on lock
screen" off. Switch from secondary to owner without going out of
KEYGUARD
Fixes: 134447252

Change-Id: Id39bf876d6e573002965d0aa14fd6e54c323aba9

5 years agoMerge "Always start launcher when empty home stack is being resumed" into qt-dev
Andrii Kulian [Wed, 5 Jun 2019 16:38:17 +0000 (16:38 +0000)]
Merge "Always start launcher when empty home stack is being resumed" into qt-dev

5 years agoMerge "Avoid creating multiple death recipients for same observer" into qt-dev
Makoto Onuki [Wed, 5 Jun 2019 16:08:36 +0000 (09:08 -0700)]
Merge "Avoid creating multiple death recipients for same observer" into qt-dev
am: a478c5f9aa

Change-Id: Id856368d4da90c4efb660ee4598b7d2ae4a75dc7

5 years agoMerge "Avoid creating multiple death recipients for same observer" into qt-dev
Makoto Onuki [Wed, 5 Jun 2019 15:54:05 +0000 (15:54 +0000)]
Merge "Avoid creating multiple death recipients for same observer" into qt-dev

5 years agoMerge "Perform userdata backup for all matching rollbacks" into qt-dev
Gavin Corkery [Wed, 5 Jun 2019 15:40:54 +0000 (08:40 -0700)]
Merge "Perform userdata backup for all matching rollbacks" into qt-dev
am: 33946144bd

Change-Id: I7ed1786c6e10fbe404c4a36a5fd22443ce4c52c6

5 years agoMerge "Fix flaky test" into qt-r1-dev
Lucas Dupin [Wed, 5 Jun 2019 15:37:29 +0000 (15:37 +0000)]
Merge "Fix flaky test" into qt-r1-dev

5 years agoAlways prompt for limited connectivity.
Lorenzo Colitti [Tue, 4 Jun 2019 10:29:50 +0000 (19:29 +0900)]
Always prompt for limited connectivity.

Bug: 130766237
Test: See subsequent CL in same patch series.
Change-Id: I45b4a7ba2e21c0be868939d8c7bb78891d69c48b

5 years agoMerge "Perform userdata backup for all matching rollbacks" into qt-dev
Gavin Corkery [Wed, 5 Jun 2019 15:29:22 +0000 (15:29 +0000)]
Merge "Perform userdata backup for all matching rollbacks" into qt-dev

5 years agoMerge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
Antoan Angelov [Wed, 5 Jun 2019 14:30:17 +0000 (07:30 -0700)]
Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
am: dad55ca4fe

Change-Id: Ibf07ccf24361173817836246898088ad9776bc82

5 years agoMerge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev
Antoan Angelov [Wed, 5 Jun 2019 14:17:39 +0000 (14:17 +0000)]
Merge "Update docs for EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS." into qt-dev

5 years agoAlways show ScreenDecorations when in gesture nav mode.
Matt Casey [Tue, 4 Jun 2019 22:55:51 +0000 (18:55 -0400)]
Always show ScreenDecorations when in gesture nav mode.

ScreenDecorations host the handles for the assist gesture, which are
available on non-rounded phones as well.

Only show the overlay that is actually in use.

Bug: 134487710
Test: atest ScreenDecorationsTest, manual testing on walleye
Change-Id: I00d1a274d5a236fb2f4679d80bd38db6f24d06bc

5 years agoMerge "Do not resume activities that were launched behind" into qt-dev
Louis Chang [Wed, 5 Jun 2019 13:23:51 +0000 (06:23 -0700)]
Merge "Do not resume activities that were launched behind" into qt-dev
am: 35885e0769

Change-Id: Ifd866c6957b3cd9cfdb979c76b42396d57984943

5 years agoMerge "Sharesheet - Adjust button bar insets" into qt-dev
Matt Pietal [Wed, 5 Jun 2019 13:18:50 +0000 (06:18 -0700)]
Merge "Sharesheet - Adjust button bar insets" into qt-dev
am: 83375a391c

Change-Id: I1ecd70053caef327025d628bc1e4df5725ec83f2

5 years agoMerge "Do not resume activities that were launched behind" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 13:17:33 +0000 (13:17 +0000)]
Merge "Do not resume activities that were launched behind" into qt-dev

5 years agoMerge "Sharesheet - Adjust button bar insets" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 13:02:51 +0000 (13:02 +0000)]
Merge "Sharesheet - Adjust button bar insets" into qt-dev

5 years agoDon't send SessionCallbacks for DRY_RUN sessions.
Richard Uhler [Wed, 5 Jun 2019 12:04:32 +0000 (13:04 +0100)]
Don't send SessionCallbacks for DRY_RUN sessions.

Because DRY_RUN sessions shouldn't have any side effect except to tell
us if verification passed or failed.

Bug: 123753157
Test: atest CtsStagedInstallHostTestCases, with new test added.
Change-Id: Ide42759d80063da76955ef120b21b077197c15e3

5 years agoPerform userdata backup for all matching rollbacks
Gavin Corkery [Tue, 4 Jun 2019 21:53:15 +0000 (22:53 +0100)]
Perform userdata backup for all matching rollbacks

Currently, the snapshot of userdata is performed by traversing
the list of rollbacks and matching based on the package name, returning
once a match is found and the userdata has been backed up. There may
be cases where multiple rollbacks match this package name, so we should
not return until we have checked all rollbacks.

Bug: 134485920
Test: atest RollbackTest
Test: atest StagedRollbackTest
Change-Id: If6051ba11b2163e282e7bb61ff02e669ba1079ab

5 years agoMerge "Fix a bug about missing committing app visibility" into qt-dev
Tiger Huang [Wed, 5 Jun 2019 11:56:18 +0000 (04:56 -0700)]
Merge "Fix a bug about missing committing app visibility" into qt-dev
am: c5d71fc809

Change-Id: I860f0c800873346fe5125688073a5413a82a8e45

5 years agoMerge "Uncanonicalize URIs when searching for audio-coupled haptics." into qt-dev
Michael Wright [Wed, 5 Jun 2019 11:51:36 +0000 (04:51 -0700)]
Merge "Uncanonicalize URIs when searching for audio-coupled haptics." into qt-dev
am: eeffe0c9dd

Change-Id: Ia3bf3dc5d7c8bdcf6246321195a4f47628a37dcf

5 years agoMerge "Fix a bug about missing committing app visibility" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 11:45:42 +0000 (11:45 +0000)]
Merge "Fix a bug about missing committing app visibility" into qt-dev

5 years agoMerge "Uncanonicalize URIs when searching for audio-coupled haptics." into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 11:31:25 +0000 (11:31 +0000)]
Merge "Uncanonicalize URIs when searching for audio-coupled haptics." into qt-dev

5 years agoSharesheet - Adjust button bar insets
Matt Pietal [Wed, 5 Jun 2019 11:08:08 +0000 (07:08 -0400)]
Sharesheet - Adjust button bar insets

Button bar insets were set before the inset callback. Add a call to
layout the button bar during the inset callback.

Bug: 134472146
Test: Steps from defect
Change-Id: I0246f06315cd05343002071dd6d217d41e0059ca

5 years agoMerge "Do not hold lock when trying to get snapshot" into qt-dev
Jorim Jaggi [Wed, 5 Jun 2019 10:12:30 +0000 (03:12 -0700)]
Merge "Do not hold lock when trying to get snapshot" into qt-dev
am: beee882cdf

Change-Id: Ib05ead915b0e84cef8d837c02d9e7ed04a57fa31

5 years agoFix a bug about missing committing app visibility
Tiger Huang [Wed, 29 May 2019 14:55:29 +0000 (22:55 +0800)]
Fix a bug about missing committing app visibility

If we have pending transitions, committing visibility would be delayed
until the opening apps are all drawn. However, the original logic in
AppWindowToken.transferStartingWindow would just remove the app from
mOpeningApps which caused the app visibility would not be committed.

This CL doesn't remove the app from mOpeningApps while transferring the
starting window. Instead, we set a flag to indicate that we no longer
need to apply an animation to the app. In this way, the app visibility
will be committed.

Fix: 131180307
Test: atest WindowManagerSmokeTest
Test: Steps in the bug
Change-Id: Ia84d73136dcbda07ae055b91f5a038e1bc070d2a

5 years agoMerge "Do not hold lock when trying to get snapshot" into qt-dev
Jorim Jaggi [Wed, 5 Jun 2019 10:00:16 +0000 (10:00 +0000)]
Merge "Do not hold lock when trying to get snapshot" into qt-dev

5 years agoMerge "Switch DDS during MSIM emergency call" into qt-dev
Brad Ebinger [Wed, 5 Jun 2019 08:11:43 +0000 (01:11 -0700)]
Merge "Switch DDS during MSIM emergency call" into qt-dev
am: fcc6df7c6d

Change-Id: Ibad3c48368e759864b686affdfbe3d5aa2a4b738

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Wed, 5 Jun 2019 08:10:27 +0000 (01:10 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: d10a92f20c -s ours
am skip reason: subject contains skip directive

Change-Id: I761eb5f8a956555ef6341f001b6ba952a1c888e8

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Wed, 5 Jun 2019 08:08:18 +0000 (01:08 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 9d6d37ad3a -s ours
am skip reason: subject contains skip directive

Change-Id: Ibad3b67a5257fb2bec72bb305d6dbb097d3acaa0

5 years agoMerge "Switch DDS during MSIM emergency call" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 05:08:02 +0000 (05:08 +0000)]
Merge "Switch DDS during MSIM emergency call" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 04:40:45 +0000 (04:40 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 04:40:36 +0000 (04:40 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Lock screen string change" into qt-r1-dev
TreeHugger Robot [Wed, 5 Jun 2019 04:36:44 +0000 (04:36 +0000)]
Merge "Lock screen string change" into qt-r1-dev

5 years agoMerge "Fixed talkback issue" into qt-r1-dev
Joshua Mccloskey [Wed, 5 Jun 2019 04:24:34 +0000 (04:24 +0000)]
Merge "Fixed talkback issue" into qt-r1-dev

5 years agoFix flaky test
Lucas Dupin [Wed, 5 Jun 2019 00:34:37 +0000 (17:34 -0700)]
Fix flaky test

Test was registering a listener, and events could come from wallpaper
manager making it unstable.

Fixes: 134485306
Test: atest SysuiColorExtractorTests
Change-Id: Ie838cbee0887f3503ce328d5c5b5603c413d5458

5 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 5 Jun 2019 03:14:30 +0000 (20:14 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I356f6734d4c95d538271eabbc649bca4d2eb848b

5 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 5 Jun 2019 03:09:14 +0000 (20:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If4bcd8bbd4cfea27f62b11f628420aaff2cd02d3

5 years agoDo not resume activities that were launched behind
Louis Chang [Thu, 30 May 2019 07:35:40 +0000 (15:35 +0800)]
Do not resume activities that were launched behind

Activities was restarted while making it visible, but we shouldn't
resume it if the activity was launched behind.

Bug: 133325849
Test: atest RecentsAnimationTest
      atest ActivityVisibilityTests
      atest ActivityStarterTests

Change-Id: I4324ce443b8ccca9ac256e382507243fc4e30792

5 years agoMerge "Fix issue where panel opacity could be wrong" into qt-dev
Lucas Dupin [Wed, 5 Jun 2019 02:18:21 +0000 (19:18 -0700)]
Merge "Fix issue where panel opacity could be wrong" into qt-dev
am: 30e9b45cd9

Change-Id: I8e374891a8bb75b390d2c78e23660ff7c65c9795

5 years agoLonger bouncer delay and simpler delay logic
Lucas Dupin [Tue, 4 Jun 2019 03:22:39 +0000 (20:22 -0700)]
Longer bouncer delay and simpler delay logic

Delay it for a little longer and always delay bouncer even if auth
didn't start yet.

Test: atest KeyguardBouncerTest
Test: swipe up from bouncer twice (before and after face auth)
Test: reboot, swipe up, observe no delay
Fixes: 134064323
Change-Id: I723e3ae72a6ba34c05ce41fa989c186c399f3ada

5 years agoMerge "Don't call ActivityManagerService on main thread" into qt-dev
Alex Salo [Wed, 5 Jun 2019 02:14:26 +0000 (19:14 -0700)]
Merge "Don't call ActivityManagerService on main thread" into qt-dev
am: 9a01bb4280

Change-Id: I8cf6502fe286dc37846f373a35b94f18a977f04e

5 years agoLock screen string change
Lucas Dupin [Wed, 5 Jun 2019 01:56:49 +0000 (18:56 -0700)]
Lock screen string change

Test: manual
Fixes: 133876098
Change-Id: Ie45c68098b7e4cf4605c33ea4767444ddc85537e

5 years agoMerge "Fix some bugs in dumpsys meminfo attribution" into qt-dev
Mathieu Chartier [Wed, 5 Jun 2019 01:25:55 +0000 (18:25 -0700)]
Merge "Fix some bugs in dumpsys meminfo attribution" into qt-dev
am: 652b445c07

Change-Id: I20a9d5a5c2dbeaf778808e82f4a992d9446e60b3

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Wed, 5 Jun 2019 01:24:22 +0000 (18:24 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 0906e02aa3 -s ours
am skip reason: subject contains skip directive

Change-Id: I32e5d4d452538b501d9b538e188316dab0548f45

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Wed, 5 Jun 2019 01:22:55 +0000 (18:22 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 452be4963c -s ours
am skip reason: subject contains skip directive

Change-Id: I6c1d62458eb5d1aad5a02877bb4dbc1bf7239bf9

5 years agoMerge "Fix the logic of canceling previous scheduled fade in animation." into qt-dev
Tracy Zhou [Wed, 5 Jun 2019 01:21:31 +0000 (18:21 -0700)]
Merge "Fix the logic of canceling previous scheduled fade in animation." into qt-dev
am: 289583ec1a

Change-Id: Id0886d75e65fed676d828d7d0f1e6783c6a1d837

5 years agoMerge "Only set mStartClockTime when device is fully charged." into qt-dev
Hui Yu [Wed, 5 Jun 2019 01:20:04 +0000 (18:20 -0700)]
Merge "Only set mStartClockTime when device is fully charged." into qt-dev
am: 28d28a4ee5

Change-Id: I902918ae0523e9a1c57bf4d867cd4d17847b4867

5 years agoMerge "Add system option to disable lock profiling" into qt-dev
David Sehr [Wed, 5 Jun 2019 01:18:20 +0000 (18:18 -0700)]
Merge "Add system option to disable lock profiling" into qt-dev
am: 10d9320c3a

Change-Id: I59355027ead8d03df7adc6d424c4b8e18b0ea78c

5 years agoMerge "Expose keyguard showing-but-occluded state to launcher" into qt-dev
Winson Chung [Wed, 5 Jun 2019 01:16:37 +0000 (18:16 -0700)]
Merge "Expose keyguard showing-but-occluded state to launcher" into qt-dev
am: c8120d6d6a

Change-Id: Id709a812fc1db45e99a69a7114f2ff665b142cc2

5 years agoMerge "Removing requirement for FEATURE_DEVICE_ADMIN in DPMS.setActivePasswordState...
Jovana Knezevic [Wed, 5 Jun 2019 01:15:17 +0000 (18:15 -0700)]
Merge "Removing requirement for FEATURE_DEVICE_ADMIN in DPMS.setActivePasswordState()." into qt-dev
am: e45e09fcee

Change-Id: I678920b9b4884ee648dc98e2777f313182df6ddd

5 years agoMerge "Post finishing after transition in onBackPressed" into qt-dev
Mady Mellor [Wed, 5 Jun 2019 01:13:51 +0000 (18:13 -0700)]
Merge "Post finishing after transition in onBackPressed" into qt-dev
am: 57854d3b90

Change-Id: I09189aa824b36a1de75a58515e2992b9b33e5e9b

5 years agoMerge "Revert "Collect NeededUriGrants without holding locks."" into qt-dev
Wale Ogunwale [Wed, 5 Jun 2019 01:12:27 +0000 (18:12 -0700)]
Merge "Revert "Collect NeededUriGrants without holding locks."" into qt-dev
am: 2aa255a746

Change-Id: Ib1b97e7a56015430a6d2599d1ed9bc77d1ef8d67

5 years agoMerge "Fix issue where panel opacity could be wrong" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 01:11:38 +0000 (01:11 +0000)]
Merge "Fix issue where panel opacity could be wrong" into qt-dev

5 years agoMerge "Rendering fixes for assist handles." into qt-dev
Matt Casey [Wed, 5 Jun 2019 01:10:49 +0000 (18:10 -0700)]
Merge "Rendering fixes for assist handles." into qt-dev
am: 075baa2e9b

Change-Id: Id4d60a85fba3ba08516aada382285fc48ce89cdc

5 years agoMerge "Allow passing in acceptUnvalidated without explicitlySelected" into qt-dev
Lorenzo Colitti [Wed, 5 Jun 2019 01:08:11 +0000 (18:08 -0700)]
Merge "Allow passing in acceptUnvalidated without explicitlySelected" into qt-dev
am: e2fb127e41

Change-Id: I61adf4e9044143852592361d0da06c08b4c24245

5 years agoMerge "Fix slow query log." into qt-dev
Makoto Onuki [Wed, 5 Jun 2019 00:59:19 +0000 (17:59 -0700)]
Merge "Fix slow query log." into qt-dev
am: dee07f5d7f

Change-Id: I5e123df7a020c65e718d16b487524ea80a35ddee

5 years agoMerge "Don't call ActivityManagerService on main thread" into qt-dev
Alex Salo [Wed, 5 Jun 2019 00:50:14 +0000 (00:50 +0000)]
Merge "Don't call ActivityManagerService on main thread" into qt-dev

5 years agoMerge "Fix some bugs in dumpsys meminfo attribution" into qt-dev
Mathieu Chartier [Wed, 5 Jun 2019 00:22:39 +0000 (00:22 +0000)]
Merge "Fix some bugs in dumpsys meminfo attribution" into qt-dev

5 years agoAvoid creating multiple death recipients for same observer
Makoto Onuki [Thu, 30 May 2019 18:36:55 +0000 (11:36 -0700)]
Avoid creating multiple death recipients for same observer

Also do a WTF when the same process registers 1000 observers with the
same observer instance.

Fix: 133388082
Test: manual test: Launch leaky app and make sure WTF is raised
Test: manual test: Open contacts app, close, and make sure the
"Total number of unique observers" goes back
Test: manual test: Open contacts app, kill it, and make sure the
"Total number of unique observers" goes back
Test: manual test: Open contacts app while contacts are syncing,
and make sure the activity refreshes itself.
Test: atest cts/tests/tests/content/src/android/content/cts/ContentResolverTest.java
Test: atest FrameworksCoreTests:BinderDeathDispatcherTest
Test: atest FrameworksServicesTests:com.android.server.content.ObserverNodeTest

Change-Id: Id738ca66023c029b92db3d108d99a9fc240fe77c

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 23:03:29 +0000 (23:03 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 22:55:34 +0000 (22:55 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Use real gatekeeper HAT for resetting lockout" into qt-r1-dev
Kevin Chyn [Tue, 4 Jun 2019 22:14:05 +0000 (22:14 +0000)]
Merge "Use real gatekeeper HAT for resetting lockout" into qt-r1-dev

5 years agoMerge "Fix the logic of canceling previous scheduled fade in animation." into qt-dev
Tracy Zhou [Tue, 4 Jun 2019 22:05:36 +0000 (22:05 +0000)]
Merge "Fix the logic of canceling previous scheduled fade in animation." into qt-dev

5 years agoMerge "Only set mStartClockTime when device is fully charged." into qt-dev
Hui Yu [Tue, 4 Jun 2019 21:59:52 +0000 (21:59 +0000)]
Merge "Only set mStartClockTime when device is fully charged." into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 4 Jun 2019 21:44:42 +0000 (14:44 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ieb522c4dcc354e5a984dd8cb6f7111fac4c5e8d2

5 years agoMerge "Fixes timestamp passed to the Assistant" into qt-r1-dev
TreeHugger Robot [Tue, 4 Jun 2019 21:38:33 +0000 (21:38 +0000)]
Merge "Fixes timestamp passed to the Assistant" into qt-r1-dev

5 years agoMerge "Add system option to disable lock profiling" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 21:34:23 +0000 (21:34 +0000)]
Merge "Add system option to disable lock profiling" into qt-dev

5 years agoDon't call ActivityManagerService on main thread
Alex Salo [Thu, 30 May 2019 22:24:54 +0000 (15:24 -0700)]
Don't call ActivityManagerService on main thread

AttentionManagerService is getting called from PMS with its mLock held.
PowerManagerService can't up-call to the system, thus AMS can't call
into ActivityManagerService via bindService() - put it on another
thread.

Bug: 133077390
Test: manually
Change-Id: I373163c188bc8dbbd3d4f708073a875a57cfed73

5 years agoMerge "Expose keyguard showing-but-occluded state to launcher" into qt-dev
Winson Chung [Tue, 4 Jun 2019 20:56:37 +0000 (20:56 +0000)]
Merge "Expose keyguard showing-but-occluded state to launcher" into qt-dev

5 years agoSwitch DDS during MSIM emergency call
Brad Ebinger [Thu, 30 May 2019 23:31:57 +0000 (16:31 -0700)]
Switch DDS during MSIM emergency call

Add carrier config to force DDS switch if device
does not support SUPL on non DDS for emergency and
also does not support control plane fallback.

Fixes: 131203278
Merged-In: Ic49e126ae0abfe71edd1fe000c2a0dfd2360dece
Change-Id: Ic49e126ae0abfe71edd1fe000c2a0dfd2360dece

5 years agoMerge "Prevent clock-lock overlap with pulsing on AOD." into qt-r1-dev
Robert Snoeberger [Tue, 4 Jun 2019 20:38:17 +0000 (20:38 +0000)]
Merge "Prevent clock-lock overlap with pulsing on AOD." into qt-r1-dev

5 years agoFix some bugs in dumpsys meminfo attribution
Mathieu Chartier [Tue, 4 Jun 2019 20:11:16 +0000 (13:11 -0700)]
Fix some bugs in dumpsys meminfo attribution

ART image files can end with either .art or .art] depending on where
they are loaded from, add handling for this.

Also fix subheap attribution to HEAP_ART_BOOT and HEAP_ART_APP for
the app image case.

Test: adb shell dumpsys meminfo `pid system_server`
Bug: 134509632

Change-Id: I98882466d7c2f31179b095b803af67d21c17306c

5 years agoAlways start launcher when empty home stack is being resumed
Andrii Kulian [Thu, 16 May 2019 20:18:04 +0000 (13:18 -0700)]
Always start launcher when empty home stack is being resumed

If home stack becomes empty for some reason and we're trying to find
and resume an activity in it - make sure to start home instead of
looking for the next top focusable stack. This will make sure that
home stack won't be left empty if a different display is currently
focused or higher in z-order.

There may be no activity in a home stack if launcher crashed, or at
boot when it switches between different activities.

Bug: 131440583
Test: atest WmTests:RootActivityContainerTests#testResumeFocusedStacksStartsHomeActivity_NoActivities
Test: atest WmTests:RootActivityContainerTests#testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen
Change-Id: I955d7d4827b2598f9c98cb30ec3fedac4e403a9d

5 years agoMerge "Removing requirement for FEATURE_DEVICE_ADMIN in DPMS.setActivePasswordState...
Jovana Knezevic [Tue, 4 Jun 2019 20:10:43 +0000 (20:10 +0000)]
Merge "Removing requirement for FEATURE_DEVICE_ADMIN in DPMS.setActivePasswordState()." into qt-dev

5 years agoMerge "Fix location API usage for API_ADD_GNSS_MEASUREMENTS_LISTENER" into qt-dev
Hongyi Zhang [Tue, 4 Jun 2019 19:49:22 +0000 (12:49 -0700)]
Merge "Fix location API usage for API_ADD_GNSS_MEASUREMENTS_LISTENER" into qt-dev
am: a1d0453641

Change-Id: I1ae1f1c463e21ab56106390e72030fd637bf45fc

5 years agoMerge "Skip legacy-fs-verity setup if file already has it" into qt-dev
Victor Hsieh [Tue, 4 Jun 2019 19:45:45 +0000 (12:45 -0700)]
Merge "Skip legacy-fs-verity setup if file already has it" into qt-dev
am: 4fd5870662

Change-Id: I345eab0653feb3d6aa9d063315bbdcf0f9ca44ea

5 years agoMerge "Post finishing after transition in onBackPressed" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 19:11:52 +0000 (19:11 +0000)]
Merge "Post finishing after transition in onBackPressed" into qt-dev

5 years agoMerge "Revert "Collect NeededUriGrants without holding locks."" into qt-dev
Wale Ogunwale [Tue, 4 Jun 2019 19:04:53 +0000 (19:04 +0000)]
Merge "Revert "Collect NeededUriGrants without holding locks."" into qt-dev

5 years agoFix issue where panel opacity could be wrong
Lucas Dupin [Tue, 4 Jun 2019 18:40:42 +0000 (11:40 -0700)]
Fix issue where panel opacity could be wrong

Test: manual
Fixes: 133317529
Change-Id: I642df0999a9552be33f0385a42cbfcfb84bafaa1

5 years agoUse real gatekeeper HAT for resetting lockout
Kevin Chyn [Tue, 4 Jun 2019 18:42:58 +0000 (11:42 -0700)]
Use real gatekeeper HAT for resetting lockout

The code is slightly confusing in that synthetic password response also
contains a gatekeeper response. This is not the actual response that
contains the challenge. Instead, we should be using the second response
from gateeper, which is the real gatekeeper auth token.

Fixes: 133444358

Test: Before change, get locked out, enter password, user stays locked out
      After change, get locked out, enter password, lockout is reset

Change-Id: Ia869fe5d1ebdb91263b3494da2fba5f3c6304047

5 years agoMerge "Rendering fixes for assist handles." into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 18:03:32 +0000 (18:03 +0000)]
Merge "Rendering fixes for assist handles." into qt-dev

5 years agoMerge "Allow passing in acceptUnvalidated without explicitlySelected" into qt-dev
TreeHugger Robot [Tue, 4 Jun 2019 18:00:31 +0000 (18:00 +0000)]
Merge "Allow passing in acceptUnvalidated without explicitlySelected" into qt-dev

5 years agoFixes timestamp passed to the Assistant
Govinda Wasserman [Tue, 4 Jun 2019 13:37:32 +0000 (09:37 -0400)]
Fixes timestamp passed to the Assistant

Test: Tested locally
BUG:134204043
Change-Id: Ib7d94c3d548ede8cad4f9458b3cf361662ff239d
FIX:134204043