Commit Graph

470525 Commits

Author SHA1 Message Date
Anton Hansson
ba71452e41 Merge "Prune framework-all visibility" into rvc-dev 2020-03-13 10:52:29 +00:00
Alex Johnston
1dbdcbc689 Merge "Rename AutoTime and AutoTimeZone APIs" into rvc-dev 2020-03-13 10:00:43 +00:00
Louis Chang
8fa645a2db Merge "Add warning message when entering loop twice" into rvc-dev 2020-03-13 09:35:20 +00:00
Louis Chang
59e85c25a6 Add warning message when entering loop twice
The messages in queue could be executed before current
message completed.

Bug: 140599188
Test: calling Looper.loop() twice
Change-Id: I1a4628606ed974e7a6a76b2832044959a9261bb9
2020-03-13 14:51:29 +08:00
Winson Chung
5cb5fed8b5 Merge "Update task orgs with existing tasks" into rvc-dev 2020-03-13 03:15:00 +00:00
Lucas Lin
9f5f4d3b84 Merge "Add enforceNetworkStackOrProfileOrDeviceOwner()" into rvc-dev 2020-03-13 02:21:05 +00:00
Philip P. Moltmann
767ef39c1a Add docs for users, permissions, appops.
Test: Only docs changes
Change-Id: I2115b32c41a500d3a9847a5ea3c1d8b82dd5112c
Fixes: 151379035
2020-03-13 00:52:22 +00:00
Keun-young Park
60a4479b55 Merge "Add MONITOR_INPUT for kitchensink test app" into rvc-dev 2020-03-12 22:57:11 +00:00
Shuo Qian
28ab493385 Merge "API Council Feedbacks" into rvc-dev 2020-03-12 21:54:42 +00:00
Amy Zhang
700c955ffd Merge changes from topic "trm-demux-des" into rvc-dev
* changes:
  Add Descrambler resource management in Tuner Resource Manager
  Add demux resource management into Tuner Resource Manager
2020-03-12 21:45:58 +00:00
Evgenii Stepanov
91482ccc8a Merge "Add "enableGwpAsan" tag to android manifest." into rvc-dev 2020-03-12 21:13:25 +00:00
Jorim Jaggi
92fd77548a Merge "Use separate thread if app doesn't listen to animations" into rvc-dev 2020-03-12 20:49:07 +00:00
TreeHugger Robot
aa22f3e07f Merge "Initialize the mContext in AMS mocking test" into rvc-dev 2020-03-12 20:33:55 +00:00
Rob Carr
501bbb36d4 Merge "WindowContainer: Obtain BLASTSyncTransaction from factory" into rvc-dev 2020-03-12 20:27:10 +00:00
Lucas Dupin
a106225bf9 Merge "Either reuse sensor values or don't dim down at all" into rvc-dev 2020-03-12 20:00:51 +00:00
Fabian Kozynski
19df52400d Merge "Remove unnecessary strings" into rvc-dev 2020-03-12 19:54:18 +00:00
Zhen Zhang
4d55131769 Merge "Add action enums for changing Wi-Fi hotspot config" into rvc-dev 2020-03-12 19:47:41 +00:00
Yuhan Zhao
a8375cc9f8 Merge "Rebasing ag/10503271 into the rvc-dev branch." into rvc-dev 2020-03-12 19:18:52 +00:00
Patrick Baumann
987b12ddcf Merge "Do not set referrerUri on SessionInfo for non-owners" into rvc-dev 2020-03-12 19:16:40 +00:00
TreeHugger Robot
fde66dc6fe Merge "Update documentation." into rvc-dev 2020-03-12 19:04:47 +00:00
Jing Ji
9b20436963 Initialize the mContext in AMS mocking test
Bug: 151209265
Test: atest MockingOomAdjusterTests
Change-Id: I2df63b632892ecf6642740057d40aeee5c1d076e
2020-03-12 11:45:46 -07:00
Rob Carr
83d02a976a Merge "WindowContainerTransaction: Support PIP Transition" into rvc-dev 2020-03-12 18:39:18 +00:00
Jaineel Mehta
1a18357853 Merge "Revert "WindowInsetsController: Address API feedback"" into rvc-dev 2020-03-12 18:23:14 +00:00
TreeHugger Robot
1eb9db6ab8 Merge "Don't update the same indication" into rvc-dev 2020-03-12 18:18:08 +00:00
Alex Stetson
54ee569768 Merge "Fixed resolver list crash" into rvc-dev 2020-03-12 18:14:31 +00:00
Shuo Qian
3e91ee7cf8 Merge "Fix CallRedirectionService Doc issue" into rvc-dev 2020-03-12 18:00:54 +00:00
Chi Zhang
91af57e5c1 Merge "Telephony statsd atoms." into rvc-dev 2020-03-12 17:53:55 +00:00
TreeHugger Robot
3269b7a4c8 Merge "[Mainline] Add @hide. Revisit and redesign in S" into rvc-dev 2020-03-12 17:50:44 +00:00
Alex Kershaw
6fa3741fdb Merge "Add overloaded API with activity options parameter" into rvc-dev 2020-03-12 17:47:59 +00:00
Jaineel Mehta
5e7097b21e Revert "WindowInsetsController: Address API feedback"
This reverts commit c549e19c5e.

Reason for revert: Droidcop: Potential culprit for Bug X - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: I2ab42d96d2599dfcc946fa48b3940e2bd92b22b0
2020-03-12 17:46:17 +00:00
Lucas Dupin
389a0185de Either reuse sensor values or don't dim down at all
ALS latency is unpredictable and sometimes debounced. This means that it
might take at least 3 seconds for the display to wake-up, if it wakes-up
at all. We might also get stuck and never show HUNs if the event doesn't
arrive.

This is a bug that we had in the past, but was not as noticeable because
the padlock was below the scrims, now, users are reporting that the
padlock shows up, but the hun is not.

Test: manual
Fixes: 150852696
Change-Id: Iade5ebd4c33e7c9d668b09144964f1408ef529ad
2020-03-12 17:45:09 +00:00
TreeHugger Robot
ed434b4aef Merge "Remove scheduled timeout onError or onComplete" into rvc-dev 2020-03-12 17:34:09 +00:00
Antoan Angelov
4b705f50ab Merge "When calculating share sheet height, account for empty state screens." into rvc-dev 2020-03-12 17:29:50 +00:00
Winson Chung
faf6a4d92f Merge "Reset override bounds when animating to fullscreen" into rvc-dev 2020-03-12 17:23:34 +00:00
Winson Chung
be00a83ae2 Fix NPE when logging already removed pip activity
Bug: 148943800
Test: Manual
2020-03-12 17:22:04 +00:00
Evgenii Stepanov
102d3d8669 Add "enableGwpAsan" tag to android manifest.
This tag can be used to enable and disable gwp-asan on applications and
their components. The default setting is disabled, except for the system
applications which are enabled with a small probability (approx. 1% of
processes).

Enabling gwp-asan can be used to crowd test an app.

This change includes a compat feature that overrides the default value
of enableGwpAsan for an app.

Bug: 149991821
Test: atest CtsGwpAsanTestCases
Exempt-From-Owner-Approval: cherrypick
Merged-In: I5eb647c517e5487b1d1eed6b9a43242490f19289
Change-Id: I5b4db666f38af846927f88702cc690f0916cadb1
2020-03-12 17:19:23 +00:00
Yifan Hong
3c706cfcac Merge "Debug.isVmapStack reads kernel configs only" into rvc-dev 2020-03-12 16:58:54 +00:00
Alex Stetson
67bc2ca737 Fixed resolver list crash
Updated layouts to align with rvc

Bug: 148245091
Test: manual
Change-Id: I5d529c100017c0d2cdd2165c6bd18eef5de2e9e9
2020-03-12 09:26:07 -07:00
Adrian Roos
3a4be4a7b1 Merge "WindowInsetsController: Address API feedback" into rvc-dev 2020-03-12 16:13:43 +00:00
Fabian Kozynski
8b14c301f0 Remove scheduled timeout onError or onComplete
Test: atest
Test: manual wait for timeout (doesn't happen)
Fixes: 151236693
Change-Id: I6115321e1098c39e4655e5d475e278eef3175e71
2020-03-12 11:53:15 -04:00
Philip P. Moltmann
9f0ee82df5 Merge "Call Compatibility.isChangeEnabled in calling app" into rvc-dev 2020-03-12 15:40:38 +00:00
Jay Aliomer
221945ad93 Merge "Migrate dark theme settings" into rvc-dev 2020-03-12 15:34:07 +00:00
Jay Aliomer
df6bdb5baf Migrate dark theme settings
When restoring settings from a different phone,
UiModeManager did not update the new settings.
Now, the settings are loaded from local storage and changes applied
when the SettingsHelper restores a value of interest

Bug: 138671559
Test: manual test: reset phone1, setup, used data transfer tool to restore from phone2, check dark mode is the same as phone 2
Change-Id: I861bec342b3284e0f398c8610fcc6881c27601a5
2020-03-12 15:33:23 +00:00
arangelov
a30787b8fa When calculating share sheet height, account for empty state screens.
As we calculate the share sheet height only for the current profile,
there is a rare case when the current profile may have no results.
For that case, we need to adjust the share sheet offset so that
it includes the empty state screen height.

In addition, this CL also does an early return if we are
in the non-main profile (e.g. personal tab in work profile)
to prevent the height from being recalculated upon tab switch.

Fixes: 150939637
Test: manual
Change-Id: Ia465f53d7a2006e1b7c67ad1e95729ed79e2c3a0
2020-03-12 15:08:43 +00:00
Fabian Kozynski
12c2fa660d Remove unnecessary strings
Test: build
Bug: 149773221
Change-Id: Ifb33b4a4b06b52b224c43092f39140266449a989
2020-03-12 10:58:49 -04:00
Santiago Seifert
98955a625c Merge "Address API renaming suggestions" into rvc-dev 2020-03-12 13:48:49 +00:00
Santiago Seifert
8e7b066a10 Address API renaming suggestions
Bug: 150855597
Test: CTS.
Change-Id: Id2154df12456bd0045e28f32fbe5483c9e87b67f
2020-03-12 13:42:29 +00:00
Gavin Corkery
e3f3fd1e4f Merge "Revert "Only sync requests when there are changes to report"" into rvc-dev 2020-03-12 13:24:18 +00:00
Gavin Corkery
56b46738d7 Revert "Only sync requests when there are changes to report"
This reverts commit 68713d9830.

Reason for revert: This breaks NetworkStagedRollbackTest. I know the cause, but reverting for now is the best option
Bug: 151212665
Change-Id: I00f0d3011b7ad2b65d452b3d74e508ffc4d1a857
2020-03-12 13:23:25 +00:00
TreeHugger Robot
507be52dc7 Merge "Properly handle InlineSuggestionsRequest with 0 max suggestion count" into rvc-dev 2020-03-12 13:02:28 +00:00