Commit Graph

468813 Commits

Author SHA1 Message Date
TreeHugger Robot
abe2fed8b0 Merge "Ensures display rotation triggers PiP re-position" into rvc-dev 2020-02-27 02:39:05 +00:00
TreeHugger Robot
ee47af6207 Merge "Turn on QS media player by default" into rvc-dev 2020-02-27 01:56:48 +00:00
Beverly Tai
0a71d6063d Merge changes I8ad04753,I59aa77f3 into rvc-dev
* changes:
  Use a BgExecutor in SecurityControllerImpl
  Inject DeviceConfig into SystemUI classes
2020-02-27 01:54:47 +00:00
TreeHugger Robot
bb4af580d1 Merge "Fix race condition while WallpaperMS rebinding service." into rvc-dev 2020-02-27 01:14:24 +00:00
Jeffrey Huang
cb50e94e7a Merge "Move libstatssocket to shared." into rvc-dev 2020-02-27 01:00:01 +00:00
Taran Singh
05b07c2657 Merge "Remove IME surface when hidden" into rvc-dev 2020-02-27 00:53:09 +00:00
Daniel Chapin
e44eb5b955 Merge "Revert "Avoid creating new instance on top when started for resu..."" into rvc-dev 2020-02-27 00:48:31 +00:00
TreeHugger Robot
cc6101236a Merge "[GWP-ASan] Disable for apps." into rvc-dev 2020-02-27 00:33:24 +00:00
TreeHugger Robot
4ad907d3d0 Merge "Set recording duration and file size limits" into rvc-dev 2020-02-26 23:53:25 +00:00
David Su
f16dce6f20 Merge changes from topic "api-review-getNetworkDisableReasonString" into rvc-dev
* changes:
  Settings: Rename NetworkSelectionStatus#getNetworkDisableReasonString
  Rename NetworkSelectionStatus#getNetworkDisableReasonString
2020-02-26 23:42:53 +00:00
David Su
c4b4ccf575 Merge "Wifi: Clean up APIs" into rvc-dev 2020-02-26 23:42:35 +00:00
TreeHugger Robot
710401a657 Merge "Hide setPolicyDataEnabled" into rvc-dev 2020-02-26 23:26:17 +00:00
Miranda Kephart
91ae0d0d8d Merge "Fix screenshot scaling bug" into rvc-dev 2020-02-26 22:54:17 +00:00
Dave Mankoff
6b0bccc9c2 Merge "Ensure that FalsingManager is not active when phone unlocked." into rvc-dev 2020-02-26 21:48:14 +00:00
Evan Rosky
149bbf89bc Merge "Clean-up old docked-stack implementation from WM" into rvc-dev 2020-02-26 21:47:57 +00:00
Evan Rosky
3abea008b1 Merge "Use hierarchy focusability to pause the minimized tile" into rvc-dev 2020-02-26 21:47:57 +00:00
Mingguang Xu
3b117214d5 Merge "Extension API: Replace NetworkScore object with integer in API surface" into rvc-dev 2020-02-26 21:41:03 +00:00
Hongwei Wang
bede2c1049 Ensures display rotation triggers PiP re-position
Fixed in this CL, upon rotation change
- Updates display bounds in PipTaskOrganizer
- Issues PiP offset from PipTouchHandler (-> PipMotionHelper)

Bug: 150300422
Bug: 150275283
Test: manually rotating screen
Change-Id: I4262df6ddc306732693150f27ca0da6e294df5ab
2020-02-26 13:35:17 -08:00
Rambo Wang
e7e664d1d3 Merge "Update string resource enable_verbose_vendor_logging char limit" into rvc-dev 2020-02-26 21:22:05 +00:00
Joshua Duong
e3fce1c7fe Merge "Allow UsbDeviceManager to start adbd again." into rvc-dev 2020-02-26 21:19:04 +00:00
Jack Yu
58979d9557 Merge "Hide API" into rvc-dev 2020-02-26 21:04:56 +00:00
Beth Thibodeau
679609721c Turn on QS media player by default
Test: manual; atest NotificationMediaTemplateViewWrapperTest
Bug: 150285848

Change-Id: I1d692360f4f18b60ef34f2f18c9514a52ec88ea2
2020-02-26 16:01:55 -05:00
TreeHugger Robot
7869771592 Merge "Process all messages of TestLooper after each test" into rvc-dev 2020-02-26 20:57:05 +00:00
Roshan Pius
256b44d61d Merge changes from topics "remove_oem_configstore", "rename_oem_migration" into rvc-dev
* changes:
  WifiMigration: Add a method for removing config store
  WifiOemMigrationHook: Rename class to address API council feedback
2020-02-26 20:55:40 +00:00
TreeHugger Robot
e1e7c02af4 Merge "Start InstanceIDs at 1." into rvc-dev 2020-02-26 20:52:21 +00:00
Kelvin Kwan
f73b84160e Merge "Add MODIFY_QUIET_MODE for DocsUI" into rvc-dev 2020-02-26 20:30:53 +00:00
Fabian Kozynski
0b66590fbf Merge "Add docs to Controls API" into rvc-dev 2020-02-26 20:21:53 +00:00
Fabian Kozynski
d37dcf856b Merge "Changed management to just show all controls" into rvc-dev 2020-02-26 20:20:07 +00:00
TreeHugger Robot
31c94a2f0e Merge "Removing possible user defined strings from bugreport view-dump" into rvc-dev 2020-02-26 20:12:10 +00:00
Dave Mankoff
9cfce017d7 Merge "Use alternative prox sensor when specified." into rvc-dev 2020-02-26 20:07:35 +00:00
Jeffrey Huang
21f7e6a3f6 Move libstatssocket to shared.
This fixes the boot loop when zygote tries
to log to statsd during boot time.

Linking libstatssocket statically from two different places
causes translation errors resulting in multiple instances of the
same struct being created. This meant that the struct is no longer
shared across the same process for opening/closing of the socket.

Bug: 149889582
Test: Phone boots
Change-Id: Ibfa25c0fe7874ba08157a5ec43601c5cf8305723
2020-02-26 11:51:26 -08:00
TreeHugger Robot
6d2586f03f Merge "Don't use main handler in ImageWallpaperTest" into rvc-dev 2020-02-26 19:47:23 +00:00
TreeHugger Robot
7afd9b9af7 Merge "Pass START_ACTIVITIES_FROM_BACKGROUND permission to instrumentation test." into rvc-dev 2020-02-26 19:46:06 +00:00
Beverly
11425c9190 Use a BgExecutor in SecurityControllerImpl
For more robust tests! Now, we can make sure the executor runs all
its runnables instead of waiting (test was previously very flaky).

Test: atest SystemUITests
Fixes: 149204632
Change-Id: I8ad047538b31709837c68399dcc1ee5b950283f9
2020-02-26 19:39:35 +00:00
Mitch Phillips
9300488ba6 [GWP-ASan] Disable for apps.
Disable GWP-ASan for all applications by default. Long-term
R-release goals are that GWP-ASan is:
 1. Enabled by default for the system.
 2. Enabled by default for system apps.
 3. Disabled by default (with manifest opt-in) for user apps.

At DP2 cut point, we were enabled by default for the system, system
apps, and user apps. We were intending to downgrade user apps to be
disabled-by-default with the manifest changes in ag/10329607, but we
didn't manage to get that through by DP2 cut.

Because we want GWP-ASan to be less aggressive on user apps, it's safest
to just disable GWP-ASan for all apps.

Bug: 135634846
Test: Build and verify no GWP-ASan for apps.
Change-Id: If92cafb49b1484d173a4eadb377d18b29d217cd4
2020-02-26 19:25:11 +00:00
TreeHugger Robot
1e1f821146 Merge "Tuner API: Remove superclass Dvr" into rvc-dev 2020-02-26 19:09:32 +00:00
TreeHugger Robot
214fe98184 Merge "Use display context all the way" into rvc-dev 2020-02-26 19:02:34 +00:00
TreeHugger Robot
2f6d575468 Merge "startop: Fix scripts and add --reportfullydrawn" into rvc-dev 2020-02-26 18:58:42 +00:00
Tarandeep Singh
94c9a8328e Remove IME surface when hidden
When IME is no longer shown, notify IMS to hide the window surface.
This reclaims the memory allocated to IME window surface.

Fix: 150163310
Test: atest CtsInputMethodTests
      Manually:
      1. Open any app that has editor  and run
         adb shell  dumpsys SurfaceFlinger | grep Total
      2. Note down total memory
      3. Tap on editor and IME shows. Note down memory
         using command in #1. It should go up by ~27MB
      4. Hide IME and note down memory again.
         It should revert to original value in #1.

Change-Id: I6c2a13dd40b22d3fd62b4763ba369992e5ff1138
2020-02-26 18:58:33 +00:00
Dave Mankoff
2f9694c6ba Merge "Make PhoneStatusBarPolicy injectable." into rvc-dev 2020-02-26 18:50:40 +00:00
Beverly Tai
69994da691 Merge "Set background drawable on status_bar_container" into rvc-dev 2020-02-26 18:45:04 +00:00
Taran Singh
adbd87e55b Merge "Fix FLAG_NOT_FOCUSABLE ime target" into rvc-dev 2020-02-26 18:18:51 +00:00
Tarandeep Singh
f5816e7d30 Fix FLAG_NOT_FOCUSABLE ime target
Windows with FLAG_NOT_FOCUSABLE can not be IME target unless alpha is
zero (i.e. app is using transparent window to detect IME for legacy
reasons).
Going forward we can improve this with the todo already mentioned in the
code block.

Bug: 145812508
Fix: 149899590
Test: Manually verified using steps in bug.

Merged-In: I0e7db484dd4f9b584998b9f922fd46030fb6fb72
Change-Id: I0e7db484dd4f9b584998b9f922fd46030fb6fb72
(cherry picked from commit f3a2b52e16)
2020-02-26 18:18:03 +00:00
TreeHugger Robot
0c9978cdce Merge "Call verify in create-multiple" into rvc-dev 2020-02-26 18:10:44 +00:00
Beth Thibodeau
26fefde740 Set recording duration and file size limits
The recording will end and save automatically if the time exceeds one
hour or 5gb file size

Fixes: 149916370
Test: manual, verified recording ends and saves when limit is reached
Change-Id: Ifeba5a0834644b1ebdb3fb05961a38ca1c095ee8
2020-02-26 18:06:53 +00:00
Rambo Wang
cdc53511fc Update string resource enable_verbose_vendor_logging char limit
CHAR LIMIT for title is updated to 60, and NONE (unlimited) for
summary. This is for the request of I10n works.

Bug: 149994212
Test: make
Change-Id: I960c8b7e650aa37f3cfbea36cf528ac194bce65c
2020-02-26 18:00:02 +00:00
Beverly
660d0a7cb8 Inject DeviceConfig into SystemUI classes
So the tests don't actually register listeners to the DeviceConfig, but
can still test with a fake device config. Previously, tests were
registering and never unregistering a listener to the DeviceConfig.

Test: atest SystemUITests
Fixes: 150226783
Change-Id: I59aa77f337a95aa1890570f5a7e30fe9cd58036a
2020-02-26 12:48:51 -05:00
Fabian Kozynski
49cd3e5faf Merge "Fix starting user in Controls controllers" into rvc-dev 2020-02-26 17:46:42 +00:00
TreeHugger Robot
44e0da66e2 Merge "WebView: Update setAllowFileAccess doc to reflect new default value" into rvc-dev 2020-02-26 17:43:13 +00:00
Muhammad Qureshi
0a2c6864e7 Merge "Alternative to @hide FLAG_RECEIVER_INCLUDE_BACKGROUND" into rvc-dev 2020-02-26 17:18:50 +00:00