Commit Graph

468835 Commits

Author SHA1 Message Date
JW Wang
635382efc6 Use session id to search for rollbacks (2/n)
1. #enableRollback is greatly simplified since now we can get session
   objects directly using the session id.
2. ACTION_CANCEL_ENABLE_ROLLBACK handler now uses the session id to
   search for rollbacks to delete. Since 'token' is not used, we will be
   able to remove unused code and APIs later.

(Cherry-picked from 0a5a4db24c)

Bug: 149663536
Test: atest RollbackTest
Merged-In: I2d0bc2166348ff7b5cdee7ac0b31a61023e33cb8
Change-Id: I2d0bc2166348ff7b5cdee7ac0b31a61023e33cb8
2020-02-27 14:36:39 +08:00
JW Wang
0757179ff8 Include session id when sending broadcasts (1/n)
The session id will be used by RollbackManager to simplify the code in
searching for rollbacks and sessions.

(Cherry-picked from 503c1aca53)

Bug: 149663536
Test: m

Merged-In: I94003873f4f244fd6543f22bdbe7b6d4a31aceaf
Change-Id: I94003873f4f244fd6543f22bdbe7b6d4a31aceaf
2020-02-27 14:35:56 +08:00
TreeHugger Robot
7843e91e80 Merge "Increase activity exit-info timestamp resolution" into rvc-dev 2020-02-27 05:21:46 +00:00
TreeHugger Robot
3ad2ce635c Merge "Update device type of MediaDevice" into rvc-dev 2020-02-27 04:06:09 +00:00
TreeHugger Robot
8e5e4e03a9 Merge "Hide CarrierMessagingServiceWrapper for now." into rvc-dev 2020-02-27 04:04:35 +00:00
Automerger Merge Worker
8a1c944d0d Allow settingIgnored for DBH request if inEmergency am: 97e162d605
Change-Id: I12cbf0e098f599169392fb4ae7c725d5052b674e
2020-02-27 03:35:09 +00:00
Jiyong Park
55daa202ba Merge "stubs inheriting from framework-module-stubs-defaults-* now works" into rvc-dev 2020-02-27 03:23:52 +00:00
TreeHugger Robot
658fc6d6d6 Merge "A few inline autofill API tweaks." into rvc-dev 2020-02-27 03:16:38 +00:00
Shawn Lin
9a02e30990 Merge "Fixed listeners were unexpectedly unregistered when device rotated" into rvc-dev 2020-02-27 03:10:26 +00:00
TreeHugger Robot
57ee107188 Merge "Add --rename-resources-package to aapt2" into rvc-dev 2020-02-27 03:01:31 +00:00
TreeHugger Robot
13ecf63ba4 Merge "Add API constraints to ScheduledJobStateChanged atom" into rvc-dev 2020-02-27 02:57:01 +00:00
TreeHugger Robot
3c32d2111f Merge "Let the autoVerify evaluator query all packages" into rvc-dev 2020-02-27 02:45:27 +00:00
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
Suprabh Shukla
9f186350a0 Increase activity exit-info timestamp resolution
Need finer grained timestamp when looking at process exit information

Test: adb shell dumpsys activity exit-info

Bug: 150324813
Change-Id: Ia7b2521694cb874096cebbe1bcfe7c62864d2369
2020-02-26 16:17:10 -08: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
Yu-Han Yang
97e162d605 Allow settingIgnored for DBH request if inEmergency
Bug: 150232136

Test: on device
Change-Id: Ia987418a591d716b787d406d725338a8563a55dd
2020-02-26 23:09:55 +00:00
Amit Mahajan
e75a35d3b3 Hide CarrierMessagingServiceWrapper for now.
Based on api-council feedback there are some changes required.
Will incorporate the changes and expose this class in a later
release.

Test: basic sanity
Bug: 144346062
Change-Id: Icb65f90261ea6000aecd72a1888d5ee23eed6527
2020-02-26 23:02:44 +00:00
Miranda Kephart
91ae0d0d8d Merge "Fix screenshot scaling bug" into rvc-dev 2020-02-26 22:54:17 +00:00
Feng Cao
4b0ef392c2 A few inline autofill API tweaks.
* add isPinned() to InlineSuggestionInfo so IME can choose to pin the suggestion
* allow augmented autofill service to set inline actions in the response
* non-api change: pull the autofill hints from the Slice in the InlinePresentation

Test: m -j; atest InlinePresentationTest, atest CtsInputMethodTestCases:InlineSuggestionInfoTest CtsInputMethodTestCases:InlineSuggestionTest
Bug: 137800469

Change-Id: I63b6b843ef056df18c317299e617b8fe21907374
2020-02-26 13:49:54 -08: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
Ryan Mitchell
60b74fb42f Add --rename-resources-package to aapt2
There is currently no way to change the package name encoded in the
resources table. This change adds a flag that controls rewriting the
package name encoded into the resources table. This flag does not
rewrite the package name in the manifest xml.

Bug: 147434671
Test: manual
Change-Id: I435ba07e29df0522c3a44cc5f2c460004a02d71c
2020-02-26 21:35:47 +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
Christopher Tate
4e9ec49d5e Let the autoVerify evaluator query all packages
App enumeration lockdown broke autoVerify; now it's fixed.

Bug: 149722946
Test: atest OsHostTests#testIntentFilterHostValidation
Change-Id: Ibad01d5e9e80ad0ec11cf1d741b6a8dd92e9009b
2020-02-26 13:10:05 -08: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