Commit Graph

423507 Commits

Author SHA1 Message Date
TreeHugger Robot
570b037d9d Merge "Ignore null package names on AppIdleHistory writes" into qt-qpr1-dev 2019-12-03 19:11:38 +00:00
TreeHugger Robot
93dff1c3bd Merge "DO NOT MERGE Selectively show volume UI on first volume change event." into qt-qpr1-dev 2019-12-02 23:37:08 +00:00
Automerger Merge Worker
eb179fa342 Merge "docs: Delete duplicate word." into qt-dev am: 54a4bdccc4 am: 9480139340
Change-Id: I1027bb9b9a2dd830cbdf99f03369e08a464a3279
2019-12-02 23:13:37 +00:00
Automerger Merge Worker
9480139340 Merge "docs: Delete duplicate word." into qt-dev am: 54a4bdccc4
Change-Id: I8a2aa5bc892412471324f3ec5edfa2aa6d39d62c
2019-12-02 23:03:04 +00:00
Nick Cook
54a4bdccc4 Merge "docs: Delete duplicate word." into qt-dev 2019-12-02 22:50:55 +00:00
David Castro
d8cdece755 Merge "Doc: Adds a link to the WifiRTT codelab" into qt-dev am: 20bf2110c3
am: 324d5cfb57

Change-Id: If0f81f8023b487180d7a8e8b45efd7edff899d65
2019-12-02 14:43:23 -08:00
Automerger Merge Worker
324d5cfb57 Merge "Doc: Adds a link to the WifiRTT codelab" into qt-dev am: 20bf2110c3
Change-Id: Ibe2e2a2bee6acef662dd1235c6c887dae4571645
2019-12-02 22:30:26 +00:00
TreeHugger Robot
20bf2110c3 Merge "Doc: Adds a link to the WifiRTT codelab" into qt-dev 2019-12-02 22:18:44 +00:00
David Castro
2d61e036f3 Doc: Adds a link to the WifiRTT codelab
BUG:113332240
Change-Id: I404de18dd3c8880332b5a103079723fb1927d60d
Exempt-From-Owner-Approval: Docs-only change
2019-12-02 22:18:19 +00:00
Mark Tabry
529d73bd4f Add AIDL interface and puller implementation for automotive devices.
Changes:
  - Adds hidden ICarStatsService AIDL API.
  - Adds CarStatsPuller for pulling atoms from ICarStatsService.
  - Pulls VmsClientStats via CarStatsPuller.

Bug: 141697665
Test: Manual testing on hawk using statsd_testdrive
Change-Id: I44e104d430f64b1bd3dce96e9749df79ab3d2fbf
Merged-In: I44e104d430f64b1bd3dce96e9749df79ab3d2fbf
(cherry picked from commit 9dc13578f7)
2019-12-02 13:08:13 -08:00
Lucas Dupin
2f79f57d66 Merge "There should be an UNKNOWN state to handle more conditions" into qt-qpr1-dev 2019-12-02 17:13:54 +00:00
Chris.CC Lee
0e6ea2f549 There should be an UNKNOWN state to handle more conditions
Driver could report error while calculating alignment conditions.

Test: make
Bug: b/144822861
Bug: b/144905377
Change-Id: Ic184b8f30c9e40c14e6edf92cc63b5b2a82be68d
Merged-In: Ic184b8f30c9e40c14e6edf92cc63b5b2a82be68d
2019-12-02 17:13:28 +00:00
TreeHugger Robot
0ae87ec494 Merge "RESTRICT AUTOMERGE Turn off color sampling for qpr2" into qt-qpr1-dev 2019-11-28 15:53:23 +00:00
Bill Yi
4e50d9b0f3 Import translations. DO NOT MERGE
Change-Id: I869737dc3c5c39270b8d1bb9d73c228faee25026
Auto-generated-cl: translation import
2019-11-27 16:26:57 -08:00
Nick Cook
4ca501a6bf docs: Delete duplicate word.
Change-Id: I09fcceda7a7b0fd291c57a3005d4e027ecb99bcc
bug: 145259639
2019-11-27 22:03:43 +00:00
Kenny Guy
a845a40472 RESTRICT AUTOMERGE
Turn off color sampling for qpr2

A separate CL has been submitted to add an API
to enabled / disabled color sampling in master.

Bug: 143556482
Test: atest BrightnessTrackerTest
Change-Id: I4401cd35a2aa0ec35afaba928c95c971f92b0557
2019-11-27 17:56:08 +00:00
TreeHugger Robot
f998947a6f Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-11-27 02:34:40 +00:00
Bill Yi
63a2fb18b9 Import translations. DO NOT MERGE
BUG:145192436
Change-Id: I348df9c1b107adda0d282d7c555c4482fa243a77
Auto-generated-cl: translation import
2019-11-27 00:58:53 +00:00
Heemin Seog
b5c4ac05bd DO NOT MERGE Using Dependency.get causes issues for CarSysUI
Bug: 145218907
Test: manual
Change-Id: I488123f79ea0040a4929f2b28d3719f12f1e6a03
2019-11-26 21:46:18 +00:00
TreeHugger Robot
c53b736775 Merge "DO NOT MERGE: Freeup lock when IME is set inactive and unbound" into qt-qpr1-dev 2019-11-26 19:42:45 +00:00
TreeHugger Robot
a79e16c82c Merge "DO NOT MERGE: Move startInput for WINDOW_FOCUS_GAIN to background thread" into qt-qpr1-dev 2019-11-26 19:42:45 +00:00
Wilson Wu
fc3f1408da Merge "Support showing alignment hint based on aligniment state of dock" into qt-qpr1-dev 2019-11-26 10:29:40 +00:00
Jerry Chang
4bbf1596b9 Support showing alignment hint based on aligniment state of dock
Bug: 141984730
Test: atest SystemUITests:KeyguardIndicationControllerTest
Change-Id: Ic0911683725a0e54406df06b948169c4dde94764
Merged-In: Ic0911683725a0e54406df06b948169c4dde94764
2019-11-26 11:03:10 +08:00
Abhijoy Saha
9886a12e2f DO NOT MERGE Selectively show volume UI on first volume change event.
Only show volume dialog on first volume change event if the flags
related to the event are set to show UI.

For example, this allows us to not show the volume dialog if the volume
is changed from sound settings as the first volume change event.

Bug: 145134692
Bug: 145094923
Test: Manual
Change-Id: I9bf7eeb009a792e7205265add2cc6b1b0d542168
2019-11-25 16:04:12 -08:00
John Reck
d90c8a0f5e Merge "Fix for Surface#lockHardwareCanvas lockups" into qt-qpr1-dev 2019-11-25 22:05:33 +00:00
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
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
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