Commit Graph

13826 Commits

Author SHA1 Message Date
Matt Pietal
c79feca6e3 Merge "Sharesheet - Don't update list on bg thread" into rvc-dev am: a4d5e8c9b7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11884197

Change-Id: Id135fe4020c1e501f9bb8134fa310ae1f359b5df
2020-06-17 19:51:17 +00:00
Matt Pietal
a4d5e8c9b7 Merge "Sharesheet - Don't update list on bg thread" into rvc-dev 2020-06-17 19:49:41 +00:00
TreeHugger Robot
5cebf96420 Merge "Fix collapsed group message text alignment" into rvc-dev am: 728da7002e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871447

Change-Id: I0a9e9d6f01d040c58fb1e9464ecf719c1b86d435
2020-06-17 19:40:27 +00:00
TreeHugger Robot
728da7002e Merge "Fix collapsed group message text alignment" into rvc-dev 2020-06-17 19:16:49 +00:00
TreeHugger Robot
0d1ca33605 Merge "Rename "Westworld" to "Statsd"" into rvc-dev am: 8525b71e2a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11888040

Change-Id: Iee8e066ffc13b68347187f079276bd970ee03f9f
2020-06-17 18:53:45 +00:00
TreeHugger Robot
8525b71e2a Merge "Rename "Westworld" to "Statsd"" into rvc-dev 2020-06-17 18:50:27 +00:00
Steve Elliott
e02dc982ff Merge changes If8d5b906,I861d6ef7 into rvc-dev am: 70f970f80b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871517

Change-Id: I79003668ce462426271eb80720397b03563f3c1b
2020-06-17 17:49:14 +00:00
Steve Elliott
70f970f80b Merge changes If8d5b906,I861d6ef7 into rvc-dev
* changes:
  Fix alignment of expanded bundled group convo avatar
  Truncate sender name in collapsed group message.
2020-06-17 17:47:02 +00:00
Winson Chung
d9dc644340 Merge "Use new insets apis for determining the stable/system insets" into rvc-dev am: a1423286b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11739860

Change-Id: I2e0ac99b4ed9097a680c31e7e8f38671de19de9a
2020-06-17 17:43:10 +00:00
Winson Chung
a1423286b2 Merge "Use new insets apis for determining the stable/system insets" into rvc-dev 2020-06-17 17:26:49 +00:00
Antoan Angelov
b594019b70 Merge "Also check inactive profile targets in onHandlePackagesChanged" into rvc-dev am: 3258a3e170
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11894163

Change-Id: I823d26787be0a9df8125594f3717f15c6362bdf6
2020-06-17 16:12:34 +00:00
Antoan Angelov
3258a3e170 Merge "Also check inactive profile targets in onHandlePackagesChanged" into rvc-dev 2020-06-17 16:05:07 +00:00
Winson Chung
05b5f976d7 Use new insets apis for determining the stable/system insets
- The old calls appear to account for the display cutout now which causes
  the landscape/seascape comparison to fail

Bug: 157878422
Test: atest TaskSnapshotControllerTest
Test: TaskSnapshotSurfaceTest
Test: DecorViewTest
Test: Open an app with displaycutout layout shortEdge or always, and
      rotate to landscape in non-gestural mode, and ensure that the
      divider and background are drawn in the right place
Change-Id: Ib51964a76e25f902858aad4e8aeb810dfca2edc0
Merged-In: Ib51964a76e25f902858aad4e8aeb810dfca2edc0
2020-06-17 16:01:46 +00:00
Steve Elliott
3e8e61df11 Fix collapsed group message text alignment
Fixes: 155499457
Test: manual
Change-Id: Ib98ac5204f5518368b76df852241f33d39a05490
2020-06-17 11:58:00 -04:00
Antoan Angelov
909af45cf0 Merge "Re-setup viewpager on configuration change for RTL languages" into rvc-dev am: acfac74964
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11894160

Change-Id: I94e13a55fc5923ed0272524e2746bd1f2acc2144
2020-06-17 15:11:43 +00:00
Antoan Angelov
e0624684c9 Merge "Disable side swiping on RTL languages" into rvc-dev am: 46b4296beb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11880480

Change-Id: I073bad6ae93865dac49ff8715cf7e969cd5f11a7
2020-06-17 15:10:55 +00:00
Antoan Angelov
acfac74964 Merge "Re-setup viewpager on configuration change for RTL languages" into rvc-dev 2020-06-17 15:00:51 +00:00
arangelov
581a3c5800 Also check inactive profile targets in onHandlePackagesChanged
Before we would only check the active tab for available
targets and finish the activity if there are none.
However, with the work tab, there can be cases where
the active tab has no targets, but the inactive tab does.

Fixes: 159202588
Test: manual
Change-Id: Ie03ebd1b022362681df432ec29299df86dceb490
2020-06-17 12:57:57 +00:00
arangelov
5f416b9452 Re-setup viewpager on configuration change for RTL languages
Otherwise rotating the device while showing a tab with RTL
shows blank tab content. This could be due to ViewPager
bugs when handling RTL.

Fixes: 158862939
Test: manually rotating the device with RTL layout
Test: manually rotating the device with LTR layout
Change-Id: Iba4c71cf88747d6fbbc36d19b5102460e8aa7cec
2020-06-17 12:57:47 +00:00
arangelov
9a960b740e Disable side swiping on RTL languages
The internal ViewPager seems to not handle RTL well. This CL
disables side swiping in that case.

Fixes: 159110029
Test: manually confirmed side swiping does not happen on RTL
languages
Test: manually side swiped on non-RTL languages

Change-Id: I30272426d1d1ef4f17ec656630cee01505f66c59
2020-06-17 10:15:38 +00:00
Muhammad Qureshi
4f4910ab73 Rename "Westworld" to "Statsd"
Bug: 158725651
Test: N/A; trivial name change
Change-Id: I1bac4ad010ff7fea62a9d9564ba981d74b206aff
2020-06-16 18:45:22 -07:00
Steve Elliott
4594603f1e Fix alignment of expanded bundled group convo avatar
Fixes: 159043203
Test: manual
Change-Id: If8d5b906d79c9dfcc5e99d8162f73d0f7d09e6e1
2020-06-16 20:58:52 -04:00
Steve Elliott
7da4bccd8a Truncate sender name in collapsed group message.
Fixes: 158769554
Test: manual, visual
Change-Id: I861d6ef755eac2c41e3ae2e2ca01d4a2dfeeecc8
2020-06-16 20:58:52 -04:00
TreeHugger Robot
c727d39f86 Merge "Guard against NPE in ServiceConnector" into rvc-dev am: 892d269b65
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885859

Change-Id: Idd48f43080ea27af04d0b6e27a308304d8d14104
2020-06-16 23:18:52 +00:00
TreeHugger Robot
892d269b65 Merge "Guard against NPE in ServiceConnector" into rvc-dev 2020-06-16 23:11:11 +00:00
Eugene Susla
2ae38f3856 Guard against NPE in ServiceConnector
Fixes: 157759109
Test: presubmit
Change-Id: Ic1f594e667af50c0df8e566be4efdbaab6dccb26
2020-06-16 13:38:48 -07:00
Matt Pietal
0aefc0cefc Sharesheet - Don't update list on bg thread
Found a potential issue where the adapter list was being updated on
the bg thread, and could cause conflicts while the recyclerview is
loading.

Fixes: 159028662
Test: atest ChooserActivityTest
Change-Id: I60abd9a8325964ed2ca1218e8846f816b02da431
2020-06-16 14:04:52 -04:00
TreeHugger Robot
add19fc222 Merge "Implementation of sharding for procstats atoms" into rvc-dev am: 26dfdc587f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11859725

Change-Id: I5a771320a41fe4aefe813527042bf9c46c0747b6
2020-06-16 17:25:43 +00:00
TreeHugger Robot
26dfdc587f Merge "Implementation of sharding for procstats atoms" into rvc-dev 2020-06-16 17:12:16 +00:00
Jorim Jaggi
ebdc01a8f3 Merge "Revert "Revert "Remove IME surface when occured in multi-window mode""" into rvc-dev am: 8ec4d3a33f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11862408

Change-Id: I4c25f9752a8c2584754cc83579a7d8975da772e4
2020-06-16 13:05:38 +00:00
Jorim Jaggi
8ec4d3a33f Merge "Revert "Revert "Remove IME surface when occured in multi-window mode""" into rvc-dev 2020-06-16 12:56:20 +00:00
Yunfan Chen
c02a5ac5bb Revert "Revert "Remove IME surface when occured in multi-window mode""
This reverts commit 2a38a35622.

Reason for revert: The original CL was reverted for b/158836294 and it turned out to be innocent. Re-land the CL.

Bug: b/155660756

Change-Id: Iada83e80059e7cb9566bb7ad4e4c9909b4ed794a
2020-06-16 01:54:41 +00:00
Richard Gaywood
52a2edf548 Implementation of sharding for procstats atoms
Oftentimes, the ProcStats protobuf is larger than StatsEvent can handle.
With this CL, we detect that state before it happens, and attempt to
shard the ProcStats data over multiple protobufs, each with its own
StatsEvent.

Test: see b/158294266
Bug: 158294266
Change-Id: I1787d0ddeb6825a55adb8e0e1ec55c89af6990c5
2020-06-15 16:08:35 +00:00
TreeHugger Robot
ca36d7b761 Merge "Add logging on sharesheet displayList to help investigate issue that icons launch different apps unexpectedly." into rvc-dev am: 3fb94d8e9d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11859967

Change-Id: I7310fd1ef0bc501aced7e75088e56224c065a09c
2020-06-15 12:28:11 +00:00
TreeHugger Robot
3fb94d8e9d Merge "Add logging on sharesheet displayList to help investigate issue that icons launch different apps unexpectedly." into rvc-dev 2020-06-15 12:12:07 +00:00
Lorenzo Colitti
65d9b899fd Merge "Automatically add FEATURE_IPSEC_TUNNELS for Q+ devices." into rvc-dev am: 242087ad3e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11742658

Change-Id: I8f8b48bcdaaaef63efbc264cb479ee9a4d4ec134
2020-06-15 09:18:01 +00:00
Lorenzo Colitti
242087ad3e Merge "Automatically add FEATURE_IPSEC_TUNNELS for Q+ devices." into rvc-dev 2020-06-15 09:06:29 +00:00
Song Hu
f473e42f96 Add logging on sharesheet displayList to help investigate issue that icons launch
different apps unexpectedly.

Bug: 158172791
Test: manual test on the phone
Change-Id: I003b83f6a76dca2f97cfd43b2f265ad572f0e5c5
2020-06-14 14:50:54 -07:00
TreeHugger Robot
a447125c3f Merge "Revert "Remove IME surface when occured in multi-window mode"" into rvc-dev am: a840c1f3ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838105

Change-Id: I5d125a60792b4401df48b21932712dc0fdc25c52
2020-06-12 23:16:15 +00:00
TreeHugger Robot
a840c1f3ea Merge "Revert "Remove IME surface when occured in multi-window mode"" into rvc-dev 2020-06-12 23:08:13 +00:00
Jerome Gaillard
2a38a35622 Revert "Remove IME surface when occured in multi-window mode"
This reverts commit 460dabda46.

Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?testMethod=testTopPositionSwitchOnTapTimeoutDifferentProcess&testClass=android.server.wm.lifecycle.ActivityLifecycleTopResumedStateTests&atpConfigName=cts%2Fframework%2Fgce-presubmit-wm-cloud-tf-3&testModule=CtsWindowManagerDeviceTestCases&fkbb=6585261&lkbb=6585728&lkgb=6581565&testResults=true&badBuildCount=13&branch=git_rvc-qpr-dev-plus-aosp&target=aosp_cf_x86_phone-userdebug, bug b/158836294

Bug: 158836294
Change-Id: Iec015564030658845a5b1262c23c5b72570af9cf
2020-06-12 22:45:20 +00:00
Miranda Kephart
500c995906 Merge "Check for null service in ScreenshotHelper" into rvc-dev am: 1e23e8e274
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11852405

Change-Id: I0d513bd1b4bdd04caea425c5ffbabd51cff19a73
2020-06-12 20:08:43 +00:00
Miranda Kephart
33aff26285 Check for null service in ScreenshotHelper
We were testing whether mScreenshotConnection was null as a proxy
for whether we had a running screenshot service. In principle
mScreenshotService should never be null if mScreenshotConnection
is not null, but it's safer to check. This may fix the crash noticed in
early May (attached bug), and either way is better for the stability
of the process.

Bug: 156366251
Fix: 156366251
Test: manual
Change-Id: Iea669a5a2ca2334760141ec6fec8ec7ffb01f25c
2020-06-12 13:04:18 -04:00
Yunfan Chen
13212d164e Merge "Remove IME surface when occured in multi-window mode" into rvc-dev am: b55bc82d13
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11612967

Change-Id: Ica2e2cf709d05df0eadd340c42a7c2d976627953
2020-06-12 03:25:47 +00:00
Yunfan Chen
b55bc82d13 Merge "Remove IME surface when occured in multi-window mode" into rvc-dev 2020-06-12 03:05:54 +00:00
Daniel Sandler
58620b4e55 Merge "As foretold, this release goes to eleven." into rvc-dev am: 5c71678253
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11798682

Change-Id: Ibba87039df9885ddf28b6cee61fdc3242ab203e2
2020-06-11 22:57:10 +00:00
Daniel Sandler
5c71678253 Merge "As foretold, this release goes to eleven." into rvc-dev 2020-06-11 22:55:23 +00:00
TreeHugger Robot
5b34a3678e Merge "Fix restoring vertical scroll after horizontal." into rvc-dev am: b367074347
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838099

Change-Id: I89de0f3ee8285b204ef3ba8ca16589694def7cd2
2020-06-11 19:23:06 +00:00
TreeHugger Robot
b367074347 Merge "Fix restoring vertical scroll after horizontal." into rvc-dev 2020-06-11 19:18:16 +00:00
TreeHugger Robot
bf52673a6a Merge "Apply theme shape clipping to group convo avatars" into rvc-dev am: 0561690cac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11820082

Change-Id: Icc00a6f35213958cb5badfb4e7311e646608b1bf
2020-06-11 18:41:57 +00:00