Commit Graph

6968 Commits

Author SHA1 Message Date
Jorim Jaggi
a7379b4f05 Merge "Exclude non-observable insets change" into rvc-dev am: 1f6b99d5fa am: 6255421565
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11592755

Change-Id: I9ad1d8e08b0b3eab2bf554ba9f6e136b20613ea1
2020-06-11 12:45:39 +00:00
Jorim Jaggi
6255421565 Merge "Exclude non-observable insets change" into rvc-dev am: 1f6b99d5fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11592755

Change-Id: I63a484ff464ee0d2ccf733a6512a901ade8fe3a0
2020-06-11 12:31:11 +00:00
Jorim Jaggi
1f6b99d5fa Merge "Exclude non-observable insets change" into rvc-dev 2020-06-11 12:15:49 +00:00
Antoan Angelov
801d335e1e Merge "Fix broken test" into rvc-dev am: 95e41f279d am: 4442839c7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11818179

Change-Id: I506d793fdb55c822b1d894424de137a86f0d3833
2020-06-11 11:11:01 +00:00
Antoan Angelov
4442839c7b Merge "Fix broken test" into rvc-dev am: 95e41f279d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11818179

Change-Id: If2bfe029da1569be4c13aa08cd0d1c4441b5519b
2020-06-11 11:04:27 +00:00
Antoan Angelov
fb12099ae4 Merge "Fix broken test" into rvc-dev am: 95e41f279d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11818179

Change-Id: Iccd0d2eddca9989f33630436da8254907ae88522
2020-06-11 11:03:54 +00:00
Antoan Angelov
95e41f279d Merge "Fix broken test" into rvc-dev 2020-06-11 10:56:55 +00:00
TreeHugger Robot
d8c0ef8cca Merge "Fix original-package support" into rvc-dev am: ab6c4a7685 am: a556600544
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11794000

Change-Id: Ie2cc061e22de86d2862c762c29ee405f8e54a1f9
2020-06-10 21:01:57 +00:00
TreeHugger Robot
05f76520d2 Merge "Fix original-package support" into rvc-dev am: ab6c4a7685
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11794000

Change-Id: I2c7470c868f7729267edc02a5db10bec8ce83c70
2020-06-10 20:56:51 +00:00
TreeHugger Robot
a556600544 Merge "Fix original-package support" into rvc-dev am: ab6c4a7685
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11794000

Change-Id: I7ab69373ebfc4041d92a47fd40829e8032b7e431
2020-06-10 20:56:36 +00:00
TreeHugger Robot
ab6c4a7685 Merge "Fix original-package support" into rvc-dev 2020-06-10 20:51:39 +00:00
Matt Pietal
01e6e2256b Merge "Sharesheet - Fix logic for a-z count" into rvc-dev am: c3e572fc74 am: 4ff6a77009
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11820081

Change-Id: I6db953cab17e5b79c93a778e1f72c9d7509d714c
2020-06-10 20:44:22 +00:00
Matt Pietal
f13dbe1a64 Merge "Sharesheet - Fix logic for a-z count" into rvc-dev am: c3e572fc74
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11820081

Change-Id: I5e8007be4e570a84d5cba6f2a694bee8893089d2
2020-06-10 20:24:42 +00:00
Matt Pietal
4ff6a77009 Merge "Sharesheet - Fix logic for a-z count" into rvc-dev am: c3e572fc74
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11820081

Change-Id: I5ca8993d647caf3f1affd3c0faf377d08993b1a6
2020-06-10 20:24:38 +00:00
arangelov
24156fa7b1 Fix broken test
Fixes: 158656507
Test: atest ChooserActivityTest#testWorkTab_selectingWorkTabWithPausedWorkProfile_directShareTargetsNotQueried
Change-Id: I875de96d4847575e6369724ca2c95b828befb5af
2020-06-10 19:21:32 +01:00
Winson
af8399a682 Fix original-package support
This broke in P. Basic support was broken by a simple negation
issue with the logic that checks for the original package.

That, along with the suggestion in the bug to fix the renamed
package association means this should now work as expected,
carrying data over from a previous installed, differently named
package.

Bug: 131355130
Bug: 132749720
Bug: 111967720

Test: atest PackageManagerServiceHostTests

Change-Id: Ifc4c7af47c4b633cd27ba4a40b6baa0e27960d71
2020-06-10 10:34:43 -07:00
Matt Pietal
1245b38b60 Sharesheet - Fix logic for a-z count
Prior logic only counted the number of grouped items. This could
result in the a-z list not being shown even though there were
additional targets. For instance, if 1 group had 9 targets, a-z
would've been hidden even though only 4 targets were present in the
ranked app row, resulting in 5 targets being inaccessible.

Fixes: 158017940
Test: atest ChooserActivityTest#fourOptionsStackedIntoOneTarget
Change-Id: I58e262e40f3064ce8a091e44d6b00163c8f4e4f3
2020-06-10 11:16:55 -04:00
Jorim Jaggi
ed31259e01 Exclude non-observable insets change
When we notify insets changed, legacy behavior forces us to force
a new measure on the entire hierarchy. However, this can cause
jank in various scenarios.

Make sure that we don't report an insets change if non-observable
state changes.

Test: InsetsStateTest
Test: Swipe up to home while IME open
Bug: 157123435
Change-Id: I9c51066c6489888720b307240d03054cc18c4172
2020-06-10 14:24:03 +02:00
Adrian Roos
cbfdd45165 Merge "Insets: allow controlling insets as long as the window is covering in the relevant direction" into rvc-dev am: 5b12e07b9c am: 37afe34234
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11632046

Change-Id: I14ae753f5a4f3bde05cca821c395964850b5f6f9
2020-06-09 08:49:31 +00:00
Adrian Roos
37afe34234 Merge "Insets: allow controlling insets as long as the window is covering in the relevant direction" into rvc-dev am: 5b12e07b9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11632046

Change-Id: I7757a737ba43aa612b62e20dfcaddb4f3fcee9b4
2020-06-09 08:35:45 +00:00
Adrian Roos
30e24e93fd Merge "Insets: allow controlling insets as long as the window is covering in the relevant direction" into rvc-dev am: 5b12e07b9c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11632046

Change-Id: I4c93f16807003209a8b99cee0aa35081e6b76062
2020-06-09 08:35:45 +00:00
Adrian Roos
5b12e07b9c Merge "Insets: allow controlling insets as long as the window is covering in the relevant direction" into rvc-dev 2020-06-09 08:24:57 +00:00
TreeHugger Robot
35d0385fc8 Merge "Insets: Fix stuck mPendingFrame" into rvc-dev am: 88e86e641a am: a50aa34d52
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744899

Change-Id: I15297675592d437714dc3abdc371c5e9094a427d
2020-06-08 15:52:19 +00:00
TreeHugger Robot
8274d0fba7 Merge "Insets: Fix stuck mPendingFrame" into rvc-dev am: 88e86e641a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744899

Change-Id: I94c27dc579daa9da0a28b9d6603e1ef7c40a1079
2020-06-08 15:42:21 +00:00
TreeHugger Robot
a50aa34d52 Merge "Insets: Fix stuck mPendingFrame" into rvc-dev am: 88e86e641a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11744899

Change-Id: Idc7381b5687e14ffed0668d9aeca516a91249afd
2020-06-08 15:42:01 +00:00
TreeHugger Robot
88e86e641a Merge "Insets: Fix stuck mPendingFrame" into rvc-dev 2020-06-08 15:41:26 +00:00
Ryan Mitchell
846233982d Merge "Add policies and enforce overlayable to header" into rvc-dev am: 2201f8b626 am: 1b4cda227a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11481145

Change-Id: I0820388be42680f3d91c7d8591894d36b37079cc
2020-06-05 16:28:45 +00:00
Ryan Mitchell
64d0e6f31b Merge "Add policies and enforce overlayable to header" into rvc-dev am: 2201f8b626
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11481145

Change-Id: I7ef1c2f31d40d74541d800f5cc39cd4947605a11
2020-06-05 16:11:21 +00:00
Ryan Mitchell
1b4cda227a Merge "Add policies and enforce overlayable to header" into rvc-dev am: 2201f8b626
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11481145

Change-Id: I71ff9f46e1e5a5016291a062dd5389078527588f
2020-06-05 16:11:20 +00:00
Ryan Mitchell
2201f8b626 Merge "Add policies and enforce overlayable to header" into rvc-dev 2020-06-05 16:07:28 +00:00
Adrian Roos
021f4a7140 Insets: Fix stuck mPendingFrame
Fixes an issue where the mPendingFrame was not properly cleared
if we re-applied the current frame.

Fixes: 156762386
Test: InsetsSourceConsumerTest
Change-Id: I9f0ebfafac44e1b4b87ea9d3408e64ba34bca2ec
2020-06-05 17:15:26 +02:00
TreeHugger Robot
96bd68b04b Merge "Add test for tapping Work share tab when work profile is off" into rvc-dev am: 8f27cd8e55 am: 8159948707
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11734120

Change-Id: If5665760401ae74f7521e34fffadbe4a24874c92
2020-06-05 12:48:04 +00:00
Adrian Roos
8d04bcbc43 Insets: allow controlling insets as long as the window is covering in the relevant direction
Fixes: 154745615
Test: InsetsStateTest
Change-Id: I666a7eee82c15f0c5594c0acbd1a4f0186bcdc01
2020-06-05 14:46:14 +02:00
TreeHugger Robot
552252d2b9 Merge "Add test for tapping Work share tab when work profile is off" into rvc-dev am: 8f27cd8e55
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11734120

Change-Id: I8054bf473b2b229034391461e170f611252d01f1
2020-06-05 12:35:01 +00:00
TreeHugger Robot
8159948707 Merge "Add test for tapping Work share tab when work profile is off" into rvc-dev am: 8f27cd8e55
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11734120

Change-Id: I1cc5c0029d53a7c1b7a6ef6e86d8c1b4d25ff4bf
2020-06-05 12:34:45 +00:00
TreeHugger Robot
8f27cd8e55 Merge "Add test for tapping Work share tab when work profile is off" into rvc-dev 2020-06-05 12:23:43 +00:00
Charles Chen
12981bae2a Merge "Make InputMethodService be an UI context" into rvc-dev am: f3a7bc8e31 am: 84bf8d437c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700778

Change-Id: Icc0862e7e5bddd0975a433d2946ef142478c71a8
2020-06-05 03:15:59 +00:00
Charles Chen
05a5bfea80 Merge "Make InputMethodService be an UI context" into rvc-dev am: f3a7bc8e31
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700778

Change-Id: I470fdde6e1ea5705ecd7ea00f2b8e45230349a93
2020-06-05 02:56:00 +00:00
Charles Chen
84bf8d437c Merge "Make InputMethodService be an UI context" into rvc-dev am: f3a7bc8e31
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700778

Change-Id: I9950fd52ff633983e7b3325ba528fb35fc901968
2020-06-05 02:55:45 +00:00
Charles Chen
f3a7bc8e31 Merge "Make InputMethodService be an UI context" into rvc-dev 2020-06-05 02:40:17 +00:00
Nick Chalko
3fbe236fd0 Merge "CEC: Add listener for HDMI CEC volume control feature" into rvc-dev am: 75ef06daa5 am: ba4ace3d63
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11246196

Change-Id: Ie638d2577efa348192e5baf8ca81be748d0538dd
2020-06-04 19:25:05 +00:00
Nick Chalko
1ce1702e90 Merge "CEC: Add listener for HDMI CEC volume control feature" into rvc-dev am: 75ef06daa5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11246196

Change-Id: Ibf2ba76de1e0b162230af06c134179154cdd1c7f
2020-06-04 19:11:30 +00:00
Nick Chalko
ba4ace3d63 Merge "CEC: Add listener for HDMI CEC volume control feature" into rvc-dev am: 75ef06daa5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11246196

Change-Id: I3b1ed61eba2a0bb46c5d1ac187ab0d1a42e35e73
2020-06-04 19:11:16 +00:00
Nick Chalko
75ef06daa5 Merge "CEC: Add listener for HDMI CEC volume control feature" into rvc-dev 2020-06-04 19:03:05 +00:00
arangelov
f32a43868b Add test for tapping Work share tab when work profile is off
Also fix some work tab-related tests.

Fixes: 158166545
Fixes: 148156663
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Change-Id: I5850bbc7d72d563f6e58dd19fafc56c0703ce669
2020-06-04 19:09:35 +01:00
Zak Cohen
3bb817702c Merge "Fix build - tests for screenshot helper not updated." into rvc-dev am: 80c031b151 am: 12c90e42d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11731435

Change-Id: I4292dc0cdfe6f81c8563ab23288132ddbe1c6be3
2020-06-04 08:29:16 +00:00
Zak Cohen
45f94eae36 Merge "Fix build - tests for screenshot helper not updated." into rvc-dev am: 80c031b151
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11731435

Change-Id: I7fb7ee6592ea241ce690dc9d4060cc4c1a429186
2020-06-04 08:15:07 +00:00
Zak Cohen
12c90e42d4 Merge "Fix build - tests for screenshot helper not updated." into rvc-dev am: 80c031b151
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11731435

Change-Id: I5210598ea5607d1e1fe6b146b432b994a3f6c3a1
2020-06-04 08:14:55 +00:00
Zak Cohen
7b9edacc8c Fix build - tests for screenshot helper not updated.
Bug: 158145739
Test: atest ScreenshotHelperTests
Change-Id: I4d0f84c00a21e17fbd1d5ac589891a34201d315b
2020-06-03 22:39:11 -07:00
TreeHugger Robot
3de943756f Merge "Add PackageInstaller SessionParams restrictions" into rvc-dev am: a817a0515e am: 0310dbe4fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11621266

Change-Id: I681608d3ff3353e17cabb0e4417abb881b53dec2
2020-06-03 17:06:19 +00:00