Commit Graph

424299 Commits

Author SHA1 Message Date
TreeHugger Robot
b936ac7a23 Merge "Clear reference to Global Actions Dialog after it is dismissed" into qt-qpr1-dev 2019-11-25 16:13:41 +00:00
Daniel Sandler
3b179167af Merge "Action chips in share sheet. (DO NOT MERGE)" into qt-qpr1-dev 2019-11-25 13:22:19 +00:00
Jiyong Park
6e1127e004 DO NOT MERGE Remove *.aidl for parcelable declarations from srcs
When an AIDL file is listed in the srcs property, the build system
expects a Java file for the AIDL file even when the AIDL file is for a
parcelable declaration. Previously, the AIDL compiler generated an empty
Java file in that case, but with Iaa9c78c5df06afee165462db05c6dc6e11a1ba8a
that is no longer the case.

Therefore, removing two AIDL files for the parcelable declarations from
the srcs property.

Note that, in master branch (for R and beyond), we don't need to
filter-out such AIDL files because the build system expects a srcjar
file from AIDL files. This change is only for Q where the build system
change doesn't exist.

Bug: 143993752
Test: m
Merged-In: I0705ddf76b3c628127f65d75e0a8b06c6c250fe2
Change-Id: Iadb82092b8f6ea12c93285e9e0af18845f0feab9
2019-11-25 06:19:41 +00:00
Dan Sandler
0d3e358628 Action chips in share sheet. (DO NOT MERGE)
Move the Copy button to a new row of chips below the
(now larger) preview. Optionally, if a proximity-sharing
service is installed, show that chip as well.

Bug: 143229724
Fixes: 144290152
Test: atest SystemUITests frameworks/base/core/tests/coretests
Change-Id: I0d6457df85bc937f72ca97da6b4b84b634a90daf
2019-11-24 23:39:49 +00:00
Felipe Leme
00e01e4a46 Added owners for CarUserSwitchingDialog.java
Bug: 145001354
Test: none

Change-Id: Ie92cb645fa20b92730d4cdc7e634db5054d087e0
(cherry picked from commit 6eb49b3615b4bcc0b3f42df8a8d1b2b6836a8dc6)
2019-11-22 22:16:36 -08:00
Tarandeep Singh
ad0a4a229a DO NOT MERGE: Freeup lock when IME is set inactive and unbound
Any pending windowGainedFocus future should be cancelled when IME is
switched/unbound.
Additinally, startInputInner() inside synchronized block blocked
WINDOW_FOCUS_GAIN from executing. Its fine to remove synchronization
here since startInputInner() already has relevant synchronized blocks.

Change-Id: I98cb044d8cbfb80480312a3923f168aefa9b7e7d
Fix: 144103599
Bug: 139806621
Test: Manually using the steps in bug.
(cherry picked from commit 322ee9bf9e)
2019-11-23 04:14:49 +00:00
Tarandeep Singh
4b6acb4f39 DO NOT MERGE: Move startInput for WINDOW_FOCUS_GAIN to background thread
For a typical window with Editor, IMM#startInputOrWindowGainedFocus
is called twice: first for WINDOW_FOCUS_GAIN (dummyInput), then
CHECK_FOCUS when actual editor receives focus and startsInput.
The first once can be moved to background thread and second startInput
will wait till its finished.

Bug: 139806621
Test: Manually launch activities with editors and confirm no change in
behavior.

Change-Id: I6aa4a664cfd0c86f75cee2457715317194bbe5e2
(cherry picked from commit e0172102b9)
2019-11-23 04:13:28 +00:00
Mayank Garg
3629c607f0 Car user switching dialog taking more than 3 seconds
Bug: 144706096
Bug: 145021634
Bug: 140999054
Bug: 145001354
Test: adb shell am instrument -w -r -e include_creation_time true -e iterations 10 -e class android.platform.test.scenario.multiuser.nonui.TEST_NAME android.platform.test.scenario/androidx.test.runner.AndroidJUnitRunner
      // for TEST_NAME SwitchToExistingSecondaryUserBenchmark, user switch time dropped from 5.2 seconds to 2.2 seconds
Change-Id: I5474c683725b22f3e15e9b80ac4209df028a7993
(cherry picked from commit dec438aa5c5ae5a54d7bc7ac788ec4936ae3e3ba)
2019-11-22 17:59:12 -08:00
TreeHugger Robot
659f477f65 Merge "Fixes usage of WallpaperManager to make it optional." into qt-qpr1-dev 2019-11-23 00:05:20 +00:00
Jian-Yang Liu
348a0fe87a Merge "Revert "DO NOT MERGE Initialized ConfigurationController in CarStatusBar so that child views"" into qt-qpr1-dev 2019-11-22 23:04:01 +00:00
Michael Wachenschwanz
8c644b1070 Ignore null package names on AppIdleHistory writes
AppIdleHistory will fail to persist to disk if a null package name makes
it into the map. This change avoids the failure and adds more detail to
the log in the event of a failure.

Test: atest AppIdleHistoryTests
Fixes: 122609407
Change-Id: I30115265a1b963a0d66bad4fe15c69907ee8e53c

Merged-In: Ifec5a14f488fdb425bdcfee6ffe1f48f9fa9d1e8
2019-11-22 22:54:32 +00:00
Jian-Yang Liu
5c2a6ca45a Revert "DO NOT MERGE Initialized ConfigurationController in CarStatusBar so that child views"
This reverts commit 13e6642243.

Reason for revert: Broke the build.

Change-Id: I0f95cf407bfc47d116ee9c70415e3eed174eb20f
2019-11-22 22:14:22 +00:00
Steve Elliott
05cda02158 Clear reference to Global Actions Dialog after it is dismissed
Fixes: 141681179
Test: manual, atest
Change-Id: Ic8bdc77a3b590577d565f2225352be192ea8fabf
Merged-In: Ic8bdc77a3b590577d565f2225352be192ea8fabf
2019-11-22 19:29:44 +00:00
John Reck
ff299aef20 Fix for Surface#lockHardwareCanvas lockups
By avoiding setting a dequeue buffer timeout we avoid
hitting a different path in BufferQueue that prevents
async behavior from happening. This restores P's
behavior in this path.

Bug: 143860379
Test: repro app in bug
Change-Id: Iffbd9f9e6689a40876ff3aa74c10020e3f09fc6a
Merged-In: Iffbd9f9e6689a40876ff3aa74c10020e3f09fc6a
2019-11-22 19:16:21 +00:00
Jian-Yang Liu
4ef328aee2 Merge "DO NOT MERGE Initialized ConfigurationController in CarStatusBar so that child views are recreated when the device changes density." into qt-qpr1-dev 2019-11-22 18:07:40 +00:00
David Castro
56be7c0b58 Merge "Removes reference to deprecated code sample, https://github.com/googlesamples/android-CustomChoiceList." into qt-dev am: 3b74a86752
am: 3a6d5555cd

Change-Id: I7684da1e104dac4f62ed3a7ef3f928c1598509aa
2019-11-22 09:02:02 -08:00
David Castro
3a6d5555cd Merge "Removes reference to deprecated code sample, https://github.com/googlesamples/android-CustomChoiceList." into qt-dev
am: 3b74a86752

Change-Id: I2b5e70ef834a0d0f4ccc3689d036321094a24170
2019-11-22 08:55:24 -08:00
Jovana Knezevic
d7353d5c33 Merge "Keyguard should be dismissed if there is no trusted device." into qt-qpr1-dev 2019-11-22 16:50:18 +00:00
TreeHugger Robot
3b74a86752 Merge "Removes reference to deprecated code sample, https://github.com/googlesamples/android-CustomChoiceList." into qt-dev 2019-11-22 16:48:36 +00:00
David Castro
b563d173d2 Merge "Expands on the definition of the timestamp parameter, as per clju@ in BUG:119380943." into qt-dev am: 716edf3883
am: a9a4771159

Change-Id: I5a4721a39690604cacbe4fb577a5c5e14e4fd104
2019-11-22 08:33:01 -08:00
David Castro
a9a4771159 Merge "Expands on the definition of the timestamp parameter, as per clju@ in BUG:119380943." into qt-dev
am: 716edf3883

Change-Id: I74463f481c599c0680c8c536eef12ac1f23e6fa0
2019-11-22 08:25:24 -08:00
David Castro
716edf3883 Merge "Expands on the definition of the timestamp parameter, as per clju@ in BUG:119380943." into qt-dev 2019-11-22 15:57:29 +00:00
Govinda Wasserman
f924933058 Merge "Rename PhenotypeHelper to DeviceConfigHelper" into qt-qpr1-dev 2019-11-22 13:27:32 +00:00
David Castro
b69d94a847 Merge "Updates the description of the provider parameter as per feedback in BUG:111695926." into qt-dev am: e3681d08e9
am: 0c8d339950

Change-Id: Iee45bfe51ead8d45eeccf7c0e362910f1ea59757
2019-11-21 19:53:56 -08:00
David Castro
0c8d339950 Merge "Updates the description of the provider parameter as per feedback in BUG:111695926." into qt-dev
am: e3681d08e9

Change-Id: I927aa4ba7b60bc30de3588dafadc62c9c17109f4
2019-11-21 19:47:23 -08:00
Hai Shalom
65c9665125 Merge "Revert submission" into qt-qpr1-dev 2019-11-22 03:46:01 +00:00
David Castro
e3681d08e9 Merge "Updates the description of the provider parameter as per feedback in BUG:111695926." into qt-dev 2019-11-22 03:36:51 +00:00
TreeHugger Robot
d6dfaf4c9d Merge "Update equals and hashCode methods of NoMan.Policy" into qt-qpr1-dev 2019-11-22 00:51:41 +00:00
TreeHugger Robot
8d11d8ca51 Merge "DO NOT MERGE Initialize VolumeUI when volume change event is received." into qt-qpr1-dev 2019-11-22 00:35:04 +00:00
JianYang Liu
13e6642243 DO NOT MERGE Initialized ConfigurationController in CarStatusBar so that child views
are recreated when the device changes density.

Also resolves issue where on restart, user cannot pull down
notification shade.

Bug: 144940266
Test: Manual
Change-Id: I29a9b9c3d6ee13cd9e1c415ebd6c0177d4c2cf26
2019-11-21 23:19:19 +00:00
Hai Shalom
a4284cb292 Revert submission
Reason for revert: Incomplete fix that causes additional issues which were not anticipated earlier.

Change-Id: I383273509797ed95a7f9ece780ec52abb1341292
Merged-In: Iff36d5a10e6c8ee8978a5842af8f19efc10c0a91
2019-11-21 23:08:43 +00:00
jovanak
4824c7c35e Keyguard should be dismissed if there is no trusted device.
The only times the keyguard is shown are:
1. To display unlock dialog when the initial user has a trusted device.
2. To display user switcher if the user clicks "Cancel" on the bouncer and
wants to switch to a different user.

Fixes: 140766764
Test: manual
Change-Id: I9e3c1138813ba40f0c6b2e8cba057b99ff6fb040
Merged-in: I9e3c1138813ba40f0c6b2e8cba057b99ff6fb040
2019-11-21 21:36:43 +00:00
Abhijoy Saha
5d45afee03 DO NOT MERGE Initialize VolumeUI when volume change event is received.
We can reduce boot time, by having CarStatusBar listen for Volume change events and have it initialize VolumeUI when the first of such an event is received.

Bug: 143107490
Test: Manual
Change-Id: Iee8a68197bbb40b8d93d2cf4cfd3e8a1f41d2212
(cherry picked from commit 4d45b5557929b1390d75c9b1c3ee8622b18023a7)
2019-11-21 10:55:56 -08:00
Jay Aliomer
381e3300e8 Dark theme twilight mode backend and tile
When the user has Dark theme scheduling turned on (b/141567787), the quick settings tile subtext should reflect the following:
If Dark theme is on: "Until sunrise"
If Dark theme is off: "On at sunset"
If the user does not have Dark theme scheduled, the text should not appear.
This matches the appearance of the Night Light QS tile.
All starting windows snapshots will be deleted and splash screens
will be used instead.

Test: atest UiModeManagerServiceTest
Fix: 143874807
Merged-In: Ie2ce64b5c5544fffe76be7ec3f971eb7461f8c4d

Change-Id: Ie2ce64b5c5544fffe76be7ec3f971eb7461f8c4d
(cherry picked from commit 8b2671b029)
2019-11-21 18:05:22 +00:00
TreeHugger Robot
893a2b05a5 Merge "DO NOT MERGE: Properly reflect device lock state in Global Action panel." into qt-qpr1-dev 2019-11-21 17:27:38 +00:00
David Castro
46676918a1 Updates the description of the provider parameter as per feedback in
BUG:111695926.

Change-Id: I74fa22d7733d06616be44da3923649271584090c
2019-11-21 16:53:21 +00:00
Steve Elliott
db386ab068 DO NOT MERGE: Properly reflect device lock state in Global Action panel.
Test: manual
Fixes: 143906419
Change-Id: Idb6d396fa04a8c45e82515e89a27a3df21dc9ac0
2019-11-21 16:39:45 +00:00
David Castro
e93ab1d3ee Merge "Removed the confusing note as per guidance from mylesgw@ in BUG:117309989." into qt-dev am: 8bd0310456
am: 6d62047661

Change-Id: I5c57f96546f33a7746013fc1ae23332d8e5014b7
2019-11-21 04:52:27 -08:00
David Castro
6d62047661 Merge "Removed the confusing note as per guidance from mylesgw@ in BUG:117309989." into qt-dev
am: 8bd0310456

Change-Id: Ib5d2d07b77e57d65bb5b028773ed063606247a16
2019-11-21 04:45:04 -08:00
TreeHugger Robot
69b6876c58 Merge "Don't hold sProxyLock while retrieving interface descriptors." into qt-qpr1-dev 2019-11-21 12:42:42 +00:00
TreeHugger Robot
8bd0310456 Merge "Removed the confusing note as per guidance from mylesgw@ in BUG:117309989." into qt-dev 2019-11-21 12:37:08 +00:00
David Castro
7904f376bb Removed the confusing note as per guidance from mylesgw@ in
BUG:117309989.

Change-Id: I07680c04798642d21420bbea5c6b592c1c741f43
2019-11-21 03:44:32 +00:00
Mark Tabry
b01c08d0a6 Define new atoms for Vehicle Maps Service.
Bug: 140889664
Test: N/A
Change-Id: I6bf37ed236e81fbcca50046b5a9b649685affb4a
Merged-In: I6bf37ed236e81fbcca50046b5a9b649685affb4a
(cherry picked from commit a824a64be1)
2019-11-20 23:50:45 +00:00
David Castro
2ec0df7dfc Removes reference to deprecated code sample, https://github.com/googlesamples/android-CustomChoiceList.
BUG:140947822

Change-Id: I77b9e3a5b466afea51467418f25ffe7f1b921c7d
2019-11-20 23:06:01 +00:00
David Castro
759ede67c8 Expands on the definition of the timestamp parameter, as per clju@ in
BUG:119380943.

Change-Id: Ib0f440a1f07eb1dad7690723a1b133955ad290b4
2019-11-20 22:56:45 +00:00
Heemin Seog
db4ad2afc1 Merge "DO NOT MERGE Rearrange listener logic so it can be overriden" into qt-qpr1-dev 2019-11-20 22:27:44 +00:00
Evan Laird
6e7337a1f8 [automerger skipped] resolve merge conflicts of 88c651eab1 to oc-dr1-dev am: 2bb3845dff -s ours am: ff797c3ba3 -s ours am: b868794d17 -s ours am: 0329c19dbf -s ours
am: c903d9cfd3 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: Iff93bdfe7f8970a9715f389b4cc42c249070319a
2019-11-20 11:48:39 -08:00
Evan Laird
c903d9cfd3 [automerger skipped] resolve merge conflicts of 88c651eab1 to oc-dr1-dev am: 2bb3845dff -s ours am: ff797c3ba3 -s ours am: b868794d17 -s ours
am: 0329c19dbf -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: Ic804201aae6b091ec28861b1c6904e634155f632
2019-11-20 11:44:30 -08:00
Evan Laird
0329c19dbf [automerger skipped] resolve merge conflicts of 88c651eab1 to oc-dr1-dev am: 2bb3845dff -s ours am: ff797c3ba3 -s ours
am: b868794d17 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history

Change-Id: I91c96455652ba75033f7bc56fa70d31c0dc019d0
2019-11-20 11:36:55 -08:00
Evan Laird
b868794d17 [automerger skipped] resolve merge conflicts of 88c651eab1 to oc-dr1-dev am: 2bb3845dff -s ours
am: ff797c3ba3 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 3b8c4743f6 is in history

Change-Id: I4236581921e3572b932a95c37a69a062e90b9231
2019-11-20 11:28:47 -08:00