Commit Graph

2451 Commits

Author SHA1 Message Date
TreeHugger Robot
902eb5c82a Merge "Remove android.view.inline deprecated API." into rvc-dev am: 9f11dd4b64 am: e90910c187 am: e1f3b61a52 am: e211621458
Change-Id: I446525769ce2f402761d7b087c886794be56c3bd
2020-04-16 02:17:57 +00:00
TreeHugger Robot
e1f3b61a52 Merge "Remove android.view.inline deprecated API." into rvc-dev am: 9f11dd4b64 am: e90910c187
Change-Id: I0ac83355ba04c9ef9ef2f9c887294c36f0e273a9
2020-04-16 01:48:09 +00:00
Galia Peycheva
1e076965bf Merge "Remove usage of low profile in DreamService" into rvc-dev am: 652a8a65f3 am: 414784e729 am: 19899ef9ac am: bd59e5a95b
Change-Id: Ic6601f139df4bc71a7924597e05ae5032661878e
2020-04-16 00:36:40 +00:00
TreeHugger Robot
03565ac7f2 Merge "The notification archive should follow history setting" into rvc-dev am: 64fb27fcdc am: afeda30ef0 am: 4534065020 am: f718857fb5 am: 6bbd816810
Change-Id: I18b8d1935b3c756d4c66cd3f93636c4a2c12eeab
2020-04-16 00:03:03 +00:00
Adam He
3f8cdb51b4 Remove android.view.inline deprecated API.
Bug: 152912563
Test: atest android.autofillservice.cts.inline
Change-Id: I95f3b1281e48c9319e96eabc53e81d524bf720ff
2020-04-15 16:31:21 -07:00
Galia Peycheva
414784e729 Merge "Remove usage of low profile in DreamService" into rvc-dev am: 652a8a65f3
Change-Id: I23b87cefdba4d2b8984f01ffcbbb2ac8191f0644
2020-04-15 20:51:38 +00:00
Galia Peycheva
652a8a65f3 Merge "Remove usage of low profile in DreamService" into rvc-dev 2020-04-15 20:35:00 +00:00
Galia Peycheva
4d3aaf6980 Remove usage of low profile in DreamService
The low profile in DreamService was used to hide the status bar and
navigation bar. Now this is done by
WindowInsetController.hide(systemBars()) in DreamActivity.

Bug: 151749301

Test: m && flash && verify that system bars don't show up
Change-Id: I8fc9ca67262e92422afb472ccd76ec561c90f66d
2020-04-15 20:01:28 +02:00
TreeHugger Robot
afeda30ef0 Merge "The notification archive should follow history setting" into rvc-dev am: 64fb27fcdc
Change-Id: Iea2f5a48bf930d3a4505a583e7962a3e94fd0c36
2020-04-15 17:41:53 +00:00
Julia Reynolds
b5535c6faa The notification archive should follow history setting
Test: atest
Fixes: 153677280
Change-Id: I9b2ae1ecd1cc8b42ab715ee033879f295949a9ba
2020-04-15 15:29:32 +00:00
Galia Peycheva
7c4d0f5963 Merge "Fix DreamService not finishing correctly" into rvc-dev am: e7eee891b4 am: e66d812819 am: 1c9acde6cc am: 6ce18f4cbe
Change-Id: Ifa5a4e63efd4c7b425b7efd36719f8b3bc80f9b4
2020-04-14 18:27:18 +00:00
Galia Peycheva
e66d812819 Merge "Fix DreamService not finishing correctly" into rvc-dev am: e7eee891b4
Change-Id: Ia9c5f5254029d2058e1ddb6cb55b077d7d955f62
2020-04-14 17:22:19 +00:00
Galia Peycheva
e7eee891b4 Merge "Fix DreamService not finishing correctly" into rvc-dev 2020-04-14 17:11:45 +00:00
Galia Peycheva
95b12348eb Fix DreamService not finishing correctly
CL assigns null to DreamService.mActivity when the DecorView of the
main window is detached (in onViewDetachedFromWindow()). This is also
when the Window is detached, so at that point the DreamService doesn't
care about the DreamActivity.

Fix: 152994058

Test: atest DreamManagerServiceTests

Change-Id: I716f443b2876a2db57df999a551eee31e98ab4f1
2020-04-14 16:42:10 +02:00
Joanne Chung
5ba1ee6c6e Merge "Pass augmented client state to the event history." into rvc-dev am: ba52b860f7 am: 8b1c72ab5d am: 3856799ee7 am: 18cbd940da
Change-Id: I73b3304bd1ecc2d01f8b286d9015258e32069144
2020-04-14 08:49:25 +00:00
Joanne Chung
8b1c72ab5d Merge "Pass augmented client state to the event history." into rvc-dev am: ba52b860f7
Change-Id: Id1fbeda4f2b56cd8d8ee9d43ee67deb38d847393
2020-04-14 07:30:56 +00:00
Joanne Chung
ba52b860f7 Merge "Pass augmented client state to the event history." into rvc-dev 2020-04-14 07:16:02 +00:00
Yurii Zubrytskyi
6c4f3861ef [incfs] Fix a leaked pending_reads FD am: 4e21986e59 am: 3efaf9879f am: d411f6756f am: 005c35a63f
Change-Id: I5820c39052afa7610613f1773621c405c310f982
2020-04-10 16:15:02 +00:00
Joanne Chung
5edb1aed08 Pass augmented client state to the event history.
Bug: 153030079
Test: manual
Test: atest android.autofillservice.cts.inline.\
InlineAugmentedLoginActivityTest

Change-Id: Ida14605296b9dcffe5ee55e0fb4612350d1629af
2020-04-10 23:08:21 +08:00
Yurii Zubrytskyi
3efaf9879f [incfs] Fix a leaked pending_reads FD am: 4e21986e59
Change-Id: I726bf0ed15f144af87893f8b86b464c0d6bf6581
2020-04-10 15:05:41 +00:00
Yurii Zubrytskyi
4e21986e59 [incfs] Fix a leaked pending_reads FD
Bug: 153670585
Test: adb install/uninstall a dozen times
Change-Id: Iac05b5dc3792e55c2f103ac08bdd734b3b398882
2020-04-10 14:49:31 +00:00
TreeHugger Robot
69be4f3e3f Merge "Pass inline suggestions renderer info Bundle to Frameworks and IME" into rvc-dev am: c0404ff5e5 am: f0694ae747 am: bceeeb4e5b am: 3e4073c1c4
Change-Id: Ic80368307afc1d002e5b8c36089202c270b938be
2020-04-10 03:52:08 +00:00
TreeHugger Robot
f0694ae747 Merge "Pass inline suggestions renderer info Bundle to Frameworks and IME" into rvc-dev am: c0404ff5e5
Change-Id: Id87ff55077f4bad04e06d10b324339cda9c54904
2020-04-10 02:39:56 +00:00
TreeHugger Robot
c0404ff5e5 Merge "Pass inline suggestions renderer info Bundle to Frameworks and IME" into rvc-dev 2020-04-10 02:19:23 +00:00
Sergey Volnov
2080bf02c3 Merge "Fix Content Capture Data Share" into rvc-dev am: 51ecd453b3 am: 520aa4ce18 am: e917edaa09 am: ba7b0e67fe
Change-Id: I96e28029b865671877ebd80baffa69bff99a47a0
2020-04-09 23:36:10 +00:00
Sergey Volnov
520aa4ce18 Merge "Fix Content Capture Data Share" into rvc-dev am: 51ecd453b3
Change-Id: Ieed6a7224d8a0a3818e54c4d5f0596aa70bc79f0
2020-04-09 22:41:08 +00:00
Adam He
89afcd6f5d Pass inline suggestions renderer info Bundle to Frameworks and IME
Bug: 146454892
Test: manual verification
Change-Id: I5db6c3795a4a295486e497f2d27eaa561e1a3887
2020-04-09 13:30:33 -07:00
Sergey Volnov
6c74f7cc9a Fix Content Capture Data Share
Fixing a typo in the previous commit: s/remove/put/

Bug: 153013604
Test: ran CTS tests on sdk_gphone_x86
Change-Id: Iabe8ce51f38ac921aa5cc0e78b559e4a512b9273
2020-04-09 21:23:03 +01:00
TreeHugger Robot
8f58c7e994 Merge "Allow wallpaper surface in preview to scale to a rect" into rvc-d1-dev am: acb0a6ea12 am: 8afa29a950 am: d1dd10fcb5
Change-Id: Ib6109e4b716ec8373cfd96820898c90979472568
2020-04-09 00:59:22 +00:00
Santiago Etchebehere
9f7f2b9143 Allow wallpaper surface in preview to scale to a rect
Add a method to scale and translate a wallpaper's surface to
a given Rect (relative to the Window) when in preview mode.
This can be used by the WallpaperPicker to provide a scaled
preview of a given wallpaper.

Bug: 151868130
Test: Manually verify that WallpaperPicker preview looks correct
Change-Id: I7bfbe0690bf9c93738968bd1f630489a082ff23b
2020-04-07 21:57:45 -07:00
Automerger Merge Worker
ccd2f1c690 Merge "Merge "Change the way how we call setStorageParams." into rvc-dev am: 9f16f2665a am: 14e544cd4d" into rvc-d1-dev-plus-aosp am: a477eaf6ec am: 34d4599dfc
Change-Id: I29cfc77e86db62ee451809eecd6d619245a8b7ba
2020-04-08 01:40:26 +00:00
Alex Buynytskyy
f415679228 Change the way how we call setStorageParams.
Now it's unified with callback FS connector - we are passing the
callback pointer directly to dataloader. This restricts access only
to methods we want and only by someone we want.

Bug: b/153468113
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Change-Id: Ib557ebbe7c6c5ce92140eb20534a3626b3ac96d3
2020-04-07 14:42:50 -07:00
Automerger Merge Worker
37894bc45c Merge "Merge "Update controls after addToDisplay/relayout before dispatching insets" into rvc-dev am: 77d7bcc124 am: 2873becff7" into rvc-d1-dev-plus-aosp am: a5d9ff7eb6 am: 1198e2a2ec
Change-Id: I818ab389cd50935be5398904706c54e5df41739f
2020-04-07 16:55:07 +00:00
TreeHugger Robot
77d7bcc124 Merge "Update controls after addToDisplay/relayout before dispatching insets" into rvc-dev 2020-04-07 16:26:53 +00:00
Tiger Huang
0426a33650 Update controls after addToDisplay/relayout before dispatching insets
A window might request to control insets before it is added to WM and
expect the first dispatched WindowInsets as requested.

The first insets state returned from addToDisplay or relayout might be
not expected if the window just become thecontrol target in the
function.

With this CL, WM can return controls from addToDisplay and relayout, so
that the client can apply controls immediately, and update controlled
insets sources before dispatching the insets to the view hierarchy. This
enaures the insets dispatched are up-to-date.

Fix: 150756571
Test: atest WindowInsetsControllerTests RelayoutPerfTest
            WindowAddRemovePerfTest
Change-Id: Ib78c24beb7af5a54ad78935c3ddb260ef9645212
2020-04-07 16:05:40 +08:00
TreeHugger Robot
034b7106c4 Merge "Store conversation requirement in a setting" into rvc-dev am: 5eb9c8fada am: fb7f470b5a am: a2ce73bd87 am: 958fd97525
Change-Id: I7daa6a63311bc1fd03f937abe031bd1ed8e9cee0
2020-04-07 04:48:36 +00:00
TreeHugger Robot
5eb9c8fada Merge "Store conversation requirement in a setting" into rvc-dev 2020-04-07 03:47:02 +00:00
Joanne Chung
f71cd48bcb Merge "Made ExplicitHealthCheckService testable." into rvc-dev am: 62cd75f90d am: 6828c3e551 am: 7b237cdbd5 am: 1743021a41
Change-Id: I787b372ff1898f7d15bb26f71c1bdb9679b01583
2020-04-06 03:21:04 +00:00
Joanne Chung
62cd75f90d Merge "Made ExplicitHealthCheckService testable." into rvc-dev 2020-04-06 02:33:24 +00:00
Julia Reynolds
e24faa2c86 Store conversation requirement in a setting
So we can show it in developer options. Also fix a bug
where the setting wasn't being respected in systemui.

Test: atest
Bug: 152907434
Change-Id: I1eaed93a0c8a1ec4486c7072972e2f924402bb94
2020-04-02 16:28:40 -04:00
Alex Buynytskyy
602789f139 Merge changes from topic "LOADER_USAGE_STATS" into rvc-dev am: 50e0244012 am: 3ea7adf007 am: c63d068021 am: 6366444f0c
Change-Id: Ic49b31f0282cd147549f6bf2da9bf37b131ec880
2020-04-02 17:57:55 +00:00
Alex Buynytskyy
50e0244012 Merge changes from topic "LOADER_USAGE_STATS" into rvc-dev
* changes:
  Checking LOADER_USAGE_STATS before enabling read logs.
  Revert "Update the current API dump"
2020-04-02 00:36:26 +00:00
Alex Buynytskyy
5e860ba105 Checking LOADER_USAGE_STATS before enabling read logs.
Bug: b/152633648
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Change-Id: Ic747a51b97b785c627c95bddecc6834ef602ff30
2020-04-02 00:31:41 +00:00
Joanne Chung
ea12c719b6 Made ExplicitHealthCheckService testable.
Bug: 149077550
Test: atest CtsPackageWatchdogTestCases
Change-Id: I588052de62bce6cbfa8118d1be56257a1dde422f
2020-04-01 22:54:35 +08:00
Galia Peycheva
da76be5412 Merge changes Id6161f92,Ie0d8849a into rvc-dev am: 5a0549cd42 am: 2531e5c1ed am: 4756b376d7 am: 676308c71e
Change-Id: Ib3dcd7c402c3678e3cb55620b5d21d5edc130a1b
2020-04-01 11:19:25 +00:00
Galia Peycheva
5a0549cd42 Merge changes Id6161f92,Ie0d8849a into rvc-dev
* changes:
  Introduce security checks to startDreamActivity
  Add verification for setting ACTIVITY_TYPE_DREAM
2020-04-01 10:18:19 +00:00
Feng Cao
9c6842e884 Merge "Replace Nullable bundle with NonNull and use Bundle.EMPTY" into rvc-dev am: f1771c0d33 am: 12a7be983b am: b6ad7232ad am: 85ff58a80a
Change-Id: I053719f33f9319312087b1f4ef0ae1589952e46a
2020-04-01 03:16:24 +00:00
TreeHugger Robot
2240431010 Merge "Prevent dream service finishSelf before it was attached" into rvc-dev 2020-04-01 03:01:03 +00:00
TreeHugger Robot
5b0dcabe4d Merge "Add @UnsupportedAppUsage to the old inline APIs for compatibility" into rvc-dev am: c068acb6ae am: 739dc57124 am: 783b19b47a am: b391e5df1a
Change-Id: I1faff4a663df8c110af47ab0974c27ebc7a327b6
2020-03-31 22:08:42 +00:00
Sean Pont
42db7bedb9 Merge "Add text attributes to Wallet manifest entry" into rvc-dev am: 4fca5e9d5b am: 9ec1055d45 am: 5d3c6091b1 am: 4edd2bb62f
Change-Id: I7831d0149a5251617758882c06832c3ff77b4987
2020-03-31 21:55:08 +00:00