Commit Graph

424299 Commits

Author SHA1 Message Date
Automerger Merge Worker
1c3702754a Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into qt-dev am: 1e53d56481 am: 5830ae29c5
Change-Id: I8f7ad58c68a6aff639ec6e8e394b53f24e33fdfe
2019-12-13 17:29:54 +00:00
Automerger Merge Worker
0faa0ae851 RESTRICT AUTOMERGE am: b81f269ae2 am: db965097eb
Change-Id: I78c1a49ba6c0b883b506320dbfa2503e4c3c4c5e
2019-12-13 17:29:38 +00:00
Automerger Merge Worker
ad56194783 Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f am: 5f1d7675ea
Change-Id: I197f9d12435267964c84bfcee18c371611fa728c
2019-12-13 17:14:42 +00:00
Automerger Merge Worker
e0465e2881 RESTRICT AUTOMERGE am: fe4bf7926e am: 9680a6d75d
Change-Id: I490bf47b2c6588da4b28998333fbfb197688d6c0
2019-12-13 17:14:28 +00:00
Automerger Merge Worker
8e3b22b5d7 [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev am: b64534ceb2 -s ours am: 4505eccb39 -s ours am: 3c352b62af
Change-Id: Ia263bc63065b686eec529b04036bcd89df0135e4
2019-12-13 17:07:57 +00:00
Automerger Merge Worker
512268ba7b [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev am: 4b6e07283c -s ours am: 2b4b2c3d5a
Change-Id: I01afa68e3cea31b7fe868d14fb612718cdf2a257
2019-12-13 17:07:28 +00:00
Automerger Merge Worker
5830ae29c5 Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into qt-dev am: 1e53d56481
Change-Id: I19ff0f27ad95dc5d80a1c6ae444a91befeba9670
2019-12-13 17:07:06 +00:00
Automerger Merge Worker
db965097eb RESTRICT AUTOMERGE am: b81f269ae2
Change-Id: Ia2afa630f1df185c6d38775768d9f3dfb54a2f16
2019-12-13 17:06:50 +00:00
Automerger Merge Worker
3c352b62af [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev am: b64534ceb2 -s ours am: 4505eccb39 -s ours
am skip reason: subject contains skip directive

Change-Id: I7a98fa39acee962cf209fa64abdac9a708497d98
2019-12-13 17:02:27 +00:00
Automerger Merge Worker
5f1d7675ea Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev am: 0f41dc420f
Change-Id: I0b4b6a26b538d6f51780413376d70b6906877893
2019-12-13 17:02:07 +00:00
Automerger Merge Worker
9680a6d75d RESTRICT AUTOMERGE am: fe4bf7926e
Change-Id: I92627314fc09b129f37b08192084c5b807a00ed2
2019-12-13 17:01:46 +00:00
Automerger Merge Worker
2b4b2c3d5a [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev am: 4b6e07283c -s ours
am skip reason: subject contains skip directive

Change-Id: I5e7c7ba4ba9d7c460a1e73e9e5b0feb01b5ae31d
2019-12-13 17:01:11 +00:00
Automerger Merge Worker
4505eccb39 [automerger skipped] Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev am: b64534ceb2 -s ours
am skip reason: subject contains skip directive

Change-Id: I46e62bd45f14b79772dbb584167a01bef66b314b
2019-12-13 16:57:18 +00:00
Sterling Huber
0f41dc420f Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev 2019-12-13 16:44:15 +00:00
Sterling Huber
b64534ceb2 Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev 2019-12-13 16:44:15 +00:00
Sterling Huber
4b6e07283c Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into pi-dev 2019-12-13 16:44:15 +00:00
Sterling Huber
1e53d56481 Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into qt-dev 2019-12-13 16:44:14 +00:00
Heemin Seog
731dafbd43 DO NOT MERGE Make fixes to make sysui more customizable
Bug: 144567659
Bug: 145547127
Test: manual
Change-Id: I66a0a7794ecfcdddd47d28ee681c904f799c5928
2019-12-13 16:41:45 +00:00
Gavin Corkery
d0ae5c22d5 Don't mark terminal staged sessions as failed
Currently we mark sessions in an already-terminal state (applied
or failed) as failed when there is a build fingerprint change. This
can cause issues with trying to clean a non-existent directory.
Change this logic to check the status of the session when marking
as failed.

Test: atest StagedInstallTest
Bug: 145840157
Change-Id: I163a3c6558117455038608e15065e076e2dd82d2
Merged-in: I163a3c6558117455038608e15065e076e2dd82d2
(cherry picked from commit 67ce22c57b)
2019-12-13 12:00:10 +00:00
Gavin Corkery
f19eabddac Add build fingerprint checks to APK sessions
In order to prevent a staged install taking place after
receiving an OTA, set the status of a staged session to
failed if PackageManagerService.isDeviceUpgrading is
true.

Bug: 145840157
Test: atest StagedInstallTest#testInstallApkChangingFingerprint
Change-Id: I7834bed49b2c7af80f2f07a937f9e15860c13910
Merged-In: I7834bed49b2c7af80f2f07a937f9e15860c13910
(cherry picked from commit de8174b355)
2019-12-13 11:59:37 +00:00
Arthur Hung
f8135aa587 Fix drag surface would be stuck (1/2)
- If a window is removing, and perform drag-drop at same time,
  transferTouchFocus would fail because the window can't be found in the
  inputflinger.

- If there is no touch down on the drag window, it should not allow to
  drag.

- If perform drag successful, and a touch up sent out at same time,
  the transferTouchFocus might fail because there is no touch state for
  the calling window.

This patch would add syncInputTransactions to ensure input windows
information has been propagated to native InputManager.
So transferTouchFocus can base on current input windows information
to check if it should allow the drag-drop.

Also use the same transaction to control drag surface to prevent wrong
order cause surface can't be dismissed.

Bug: 137819199
Test: atest WmTests:TaskPositioningControllerTests
Test: atest DragDropTest
Change-Id: I382bc1fb04e1f4469df2c512f9e0f2542bbd2390
Merged-In: I382bc1fb04e1f4469df2c512f9e0f2542bbd2390
(cherry picked from commit b62e500e63)
2019-12-13 12:26:03 +08:00
Tony Mak
642c22b223 Put userId at the end of parcel
userId is a new field added in ag/8350816, and it is written in between
some old fields when we parcelize it.

That breaks AiAi because some of its code rely on the implementation
details of SelectionEvent.writeToParcel.

In the long run, we may want to update AiAi such that it works
without this assumption, but before that, let's fix that in platform
for now.

Bug: 145962464
Bug: 123232892

Test: atest FrameworksCoreTests:android.view.textclassifier.SelectionEventTest

Merged-In: I98137a095cddf0fb4c600e1e09eef507bb750528
Change-Id: I66f65ac4c81ca964f710404fd081496355276435
2019-12-13 02:47:21 +00:00
Automerger Merge Worker
78059be78c Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into qt-dev am: e8ba34a851 am: a4967992c1
Change-Id: I4b60f33db0cb582580f19f82f4af1bebf63a75c1
2019-12-13 00:44:35 +00:00
Automerger Merge Worker
c996b91a39 RESTRICT AUTOMERGE am: bf04ea6d3b am: bcdf0aacd5
Change-Id: I32a343ab313d8f61d097f8ce2f705fff355777ef
2019-12-13 00:44:14 +00:00
Automerger Merge Worker
a4967992c1 Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into qt-dev am: e8ba34a851
Change-Id: Iefe7ac373d783298f608effd81ae50b21053d69c
2019-12-13 00:26:40 +00:00
Automerger Merge Worker
bcdf0aacd5 RESTRICT AUTOMERGE am: bf04ea6d3b
Change-Id: I4c99e09d21cd93af567f186ae1e86ab076c96ce3
2019-12-13 00:26:31 +00:00
TreeHugger Robot
e8ba34a851 Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into qt-dev
* changes:
  RESTRICT AUTOMERGE Fixes NPE when preparing app data during init
  RESTRICT AUTOMERGE Use KNOWN_PACKAGES when shared lib consumers
  RESTRICT AUTOMERGE Handles null outInfo in deleteSystemPackageLI
2019-12-13 00:15:10 +00:00
Abhijoy Saha
d185a842c1 DO NOT MERGE Set CarSysUI unprovisioned state depending on SUW progress.
Use a controller to monitor KEY_SETUP_WIZARD_IN_PROGRESS and USER_SETUP_COMPLETE
flags to know when to set CarSysUI bars in an unprovisioned state and prevent
interactions with notification shade.

Bug: 145616123
Test: Manual
Change-Id: Ie035f049e3e9e7cb411fc9553a20e4c09078c121
2019-12-12 14:46:57 -08:00
Youngjun Kwak
98e8a9e301 Merge "DO NOT MERGE Defer Hvac initialization until after BOOT_COMPLETED event." into qt-qpr1-dev 2019-12-12 22:25:14 +00:00
Eric Berglund
62a0d5ea25 DO NOT MERGE Triggering status bar refresh on locale change so that the notifications panel updates to the new language.
Bug: 145946470
Test: Manual
Change-Id: I85dddcf4596a74e3031618f24246b6af2fb158b4
2019-12-12 22:25:05 +00:00
TreeHugger Robot
4a03ca6ad1 Merge "Check screenlock for unlock dialog" into qt-qpr1-dev 2019-12-12 22:23:16 +00:00
Long Ling
4274934c01 Merge "Clamp brightness thresholds to the maximum brightness." into qt-qpr1-dev 2019-12-12 21:48:51 +00:00
Winson Chung
d6e73ec8f1 Merge "Fix nav bar leak in SystemUI" into qt-qpr1-dev 2019-12-12 21:27:08 +00:00
Brad Ebinger
f275d96b99 Merge "Add CarrierConfig for roaming PLMNS that will need emer DDS switch" into qt-qpr1-dev 2019-12-12 21:08:36 +00:00
Jay Aliomer
e425a9c8d7 Merge "Apply Dark theme changes when screen off only" into qt-qpr1-dev 2019-12-12 20:32:00 +00:00
TreeHugger Robot
0934fee1ef Merge "Make emergency notification dismissable" into qt-qpr1-dev 2019-12-12 20:29:43 +00:00
Santos Cordon
a7991ab888 Clamp brightness thresholds to the maximum brightness.
Bug: 144702254
Test: atest AutomaticBrightnessControllerTest

Change-Id: Ia8ac92cf306424d1324d028559f4260b9f80d482
Merged-In: Ia8ac92cf306424d1324d028559f4260b9f80d482
2019-12-12 12:17:02 -08:00
TreeHugger Robot
197a9ad1d3 Merge "Use correct calling identity during camera permission check" into qt-qpr1-dev 2019-12-12 20:05:40 +00:00
Grace Cheng
1f0bf9ebec Merge "Coarse location permission description change for automobile" into qt-qpr1-dev 2019-12-12 19:43:20 +00:00
Jeff Sharkey
216c08e460 Apply Dark theme changes when screen off only
this change waits to apply ui changes after screen off
battery manager sends updates and continuously updates the ui mode

this change also applies external changes to ui configurations when
the mode is actually changed. this resolves some perfromance regression
issues

Fixes: 145694649
Fixes: 145161355
Fixes: 145776479

Test: atest UiModeManagerService
Change-Id: Ib769df4302d1c09166e2dc456b8ced35daa4d0b7
Merged-In: Ib769df4302d1c09166e2dc456b8ced35daa4d0b7
2019-12-12 18:51:02 +00:00
Matt Pietal
7b63d6ec1b [DO NOT MERGE] Resolver/Chooser - Fix 'no apps available' inset
When zero apps match a filter, the empty view is set to visible and
shown. There is harm in making sure the inset always get applied to
the empty view so that when resolver determines it needs to be
visible, it is set to be shown.

Test: atest ResolverActivityTest, ChooserActivityTest
Bug: 146133961
Change-Id: I7412df84f8f482219635ccd73dff8e4a21355a18
2019-12-12 10:44:27 -05:00
TreeHugger Robot
f43740e69c Merge "Fix crash after destroyed" into qt-qpr1-dev 2019-12-12 09:33:41 +00:00
Automerger Merge Worker
891f3708ad [automerger skipped] Merge "DO NOT MERGE back porting for fixing sysui direct reply" into oc-dev am: 090476d5f3 am: 9d5989df0b am: ab6b640548 -s ours am skip reason: subject contains skip directive am: 1300362067 -s ours am skip reason: subject contains skip directive am: 3b8b2681aa -s ours am skip reason: Change-Id Ie3daecd1e8fc2f7fdf37baeb5979da9f2e0b3937 with SHA-1 33f56060d5 is in history am: 4536e07966 -s ours
am skip reason: Change-Id Ie3daecd1e8fc2f7fdf37baeb5979da9f2e0b3937 with SHA-1 33f56060d5 is in history

Change-Id: I07ad787307e8373f84df7b8c715343f81c7ac1db
2019-12-12 08:43:03 +00:00
Automerger Merge Worker
48e2d69076 [automerger skipped] DO NOT MERGE back porting for fixing sysui direct reply am: 08aae90860 am: a37fe87922 am: bf965b484f -s ours am skip reason: subject contains skip directive am: dec51767c9 -s ours am skip reason: subject contains skip directive am: 5166a0a3a0 -s ours am skip reason: Change-Id Ie3daecd1e8fc2f7fdf37baeb5979da9f2e0b3937 with SHA-1 33f56060d5 is in history am: b2425ffb9f -s ours
am skip reason: Change-Id Ie3daecd1e8fc2f7fdf37baeb5979da9f2e0b3937 with SHA-1 33f56060d5 is in history

Change-Id: I16017c5f550220d9d5bd765f27d6bc5e6068d5d3
2019-12-12 08:42:56 +00:00
Automerger Merge Worker
4536e07966 [automerger skipped] Merge "DO NOT MERGE back porting for fixing sysui direct reply" into oc-dev am: 090476d5f3 am: 9d5989df0b am: ab6b640548 -s ours am skip reason: subject contains skip directive am: 1300362067 -s ours am skip reason: subject contains skip directive am: 3b8b2681aa -s ours
am skip reason: Change-Id Ie3daecd1e8fc2f7fdf37baeb5979da9f2e0b3937 with SHA-1 33f56060d5 is in history

Change-Id: Idfc9a676a9f80381b8d85b3d3f4db6c8d82350ba
2019-12-12 07:54:50 +00:00
Automerger Merge Worker
b2425ffb9f [automerger skipped] DO NOT MERGE back porting for fixing sysui direct reply am: 08aae90860 am: a37fe87922 am: bf965b484f -s ours am skip reason: subject contains skip directive am: dec51767c9 -s ours am skip reason: subject contains skip directive am: 5166a0a3a0 -s ours
am skip reason: Change-Id Ie3daecd1e8fc2f7fdf37baeb5979da9f2e0b3937 with SHA-1 33f56060d5 is in history

Change-Id: Ie592ed299a3138b0c440810e4dc51ac2c4861947
2019-12-12 07:54:47 +00:00
Automerger Merge Worker
3b8b2681aa [automerger skipped] Merge "DO NOT MERGE back porting for fixing sysui direct reply" into oc-dev am: 090476d5f3 am: 9d5989df0b am: ab6b640548 -s ours am skip reason: subject contains skip directive am: 1300362067 -s ours
am skip reason: subject contains skip directive

Change-Id: Ibd1c0eb3d1d9d0178f2cfddf341167eb741013a5
2019-12-12 07:30:47 +00:00
Automerger Merge Worker
5166a0a3a0 [automerger skipped] DO NOT MERGE back porting for fixing sysui direct reply am: 08aae90860 am: a37fe87922 am: bf965b484f -s ours am skip reason: subject contains skip directive am: dec51767c9 -s ours
am skip reason: subject contains skip directive

Change-Id: Icc516d8aa87f24084cf3c7053bf260357ccbc72a
2019-12-12 07:30:36 +00:00
Automerger Merge Worker
1300362067 [automerger skipped] Merge "DO NOT MERGE back porting for fixing sysui direct reply" into oc-dev am: 090476d5f3 am: 9d5989df0b am: ab6b640548 -s ours
am skip reason: subject contains skip directive

Change-Id: I9810b56bf25eca7d1ac4fcb3a40c269637c24558
2019-12-12 07:10:26 +00:00
Automerger Merge Worker
dec51767c9 [automerger skipped] DO NOT MERGE back porting for fixing sysui direct reply am: 08aae90860 am: a37fe87922 am: bf965b484f -s ours
am skip reason: subject contains skip directive

Change-Id: Idb67d00b6ace91b47ec5e633be5c2f23942934bf
2019-12-12 07:10:17 +00:00