TreeHugger Robot
8e3011d726
Merge "Resolver - Center text with no sublabel" into rvc-dev am: ae64ae50de am: 83c84faff4 am: 994c3f07bb am: 994babaa3f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11898401
Change-Id: I95fcb10e4c5350ccd643e6cbaed0398cf71ea685
2020-06-18 14:01:53 +00:00
TreeHugger Robot
83c84faff4
Merge "Resolver - Center text with no sublabel" into rvc-dev am: ae64ae50de
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11898401
Change-Id: Ide2c127b8acaa4d3dd0dc9a552adc50930490d23
2020-06-18 13:23:04 +00:00
TreeHugger Robot
ae64ae50de
Merge "Resolver - Center text with no sublabel" into rvc-dev
2020-06-18 13:16:56 +00:00
Sudheer Shanka
a03244fc9a
Merge "Maintain the fuse buffer pool keyed by inode instead of threadId." into rvc-dev am: b52a288e0c am: 8861ef2cfb am: dafa1db023 am: 23ef48fa76
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885304
Change-Id: I65611cf02116d1201414e927598c787ff81ddade
2020-06-18 10:47:20 +00:00
Sudheer Shanka
8861ef2cfb
Merge "Maintain the fuse buffer pool keyed by inode instead of threadId." into rvc-dev am: b52a288e0c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885304
Change-Id: I14a9b532835122e41408aeccc4319eb9e7441514
2020-06-18 10:00:13 +00:00
Sudheer Shanka
b52a288e0c
Merge "Maintain the fuse buffer pool keyed by inode instead of threadId." into rvc-dev
2020-06-18 09:46:29 +00:00
Luke Huang
7c117370e3
Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev am: 7144459282 am: dae5d3f223 am: d996337c91 am: 4e4f6a89c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881939
Change-Id: I945b061484a7a2da22043103b7102e16fceff930
2020-06-18 04:24:37 +00:00
Luke Huang
dae5d3f223
Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev am: 7144459282
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881939
Change-Id: I7c285a848ac947e0acf1acc8bc32f3ece3456412
2020-06-18 03:23:46 +00:00
Luke Huang
7144459282
Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev
2020-06-18 03:03:06 +00:00
Luke Huang
6f214e8ebe
Disable sockets and DNS if process lacks INTERNET permission.
...
This is a Client-only solution.
- Add to NetdClient a per-process std::atomic_boolean
similar to netIdForProcess and netIdForResolv.
- The boolean says whether the process should be
allowed Internet connectivity.
- Add an @hide method to NetUtils.java to set the boolean;
call it from the initialization code of the new
process just after forking from zygote.
- Make netdClientSocket and dnsOpenProxy check the
boolean. If the boolean is false, return EPERM from
socket calls.
Bug: 150028556
Test: atest NetworkUtilsTest
Test: atest CtsAppSecurityHostTestCases:UseProcessTest
Change-Id: If002280fbad493dfc2db3d9d505c0257d49a9056
Exempt-From-Owner-Approval: OWNERS already approved identical patchset 5
2020-06-18 03:02:06 +00:00
TreeHugger Robot
fd6d3acef0
Merge "Include orignal componentName of ChooserTargets, when pass ChooserTargets sharing and impression events to AppPredictionService." into rvc-dev am: b0c2439535 am: 86a2d3676f am: 5aad5f1def am: 3943b2b7d2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11873756
Change-Id: Ia6fb22b79d880ea738607e1551441474c85226f4
2020-06-17 22:35:57 +00:00
TreeHugger Robot
86a2d3676f
Merge "Include orignal componentName of ChooserTargets, when pass ChooserTargets sharing and impression events to AppPredictionService." into rvc-dev am: b0c2439535
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11873756
Change-Id: Id92a27a1b4238fceffaea279c485ac0b3c30cc53
2020-06-17 21:48:47 +00:00
TreeHugger Robot
b0c2439535
Merge "Include orignal componentName of ChooserTargets, when pass ChooserTargets sharing and impression events to AppPredictionService." into rvc-dev
2020-06-17 21:45:44 +00:00
Matt Pietal
697d2ac417
Merge "Sharesheet - Don't update list on bg thread" into rvc-dev am: a4d5e8c9b7 am: c79feca6e3 am: 65a921bc91 am: a0e4a69203
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11884197
Change-Id: Ic1d4af3a92834245168c071307281acd69f58ba5
2020-06-17 21:03:30 +00:00
TreeHugger Robot
4223221c8c
Merge "Fix collapsed group message text alignment" into rvc-dev am: 728da7002e am: 5cebf96420 am: 1a270320e2 am: dff4a1a47c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871447
Change-Id: I3358aec3f04ee5710b7b8120fb722ee0812ab702
2020-06-17 21:02:03 +00:00
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
TreeHugger Robot
75d29814d3
Merge "Rename "Westworld" to "Statsd"" into rvc-dev am: 8525b71e2a am: 0d1ca33605 am: b33dc71f72 am: 129c79644a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11888040
Change-Id: I453e8b4308c337230d6ae047524e3784c210cfc0
2020-06-17 19:50:46 +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
9b659a55f5
Merge changes If8d5b906,I861d6ef7 into rvc-dev am: 70f970f80b am: e02dc982ff am: 2baba9dbca am: e499bbd1d9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871517
Change-Id: I9a3cfc60e99f7d638a21627602e3f14f76645ae8
2020-06-17 18:47:32 +00:00
Matt Pietal
dd6ed8ecbb
Resolver - Center text with no sublabel
...
Also avoid breaking sharesheet, as the sublabel was intentionally
being marked visible with no text for better alignment.
Fixes: 149622636
Test: manual + atest ResolverActivityTest
Change-Id: Id65058de70cf70c4cb18940e75f4c5051f1da25c
2020-06-17 13:54:57 -04: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
bfb05beb63
Merge "Also check inactive profile targets in onHandlePackagesChanged" into rvc-dev am: 3258a3e170 am: b594019b70 am: 74806417c4 am: 00c58d949a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11894163
Change-Id: I1e3765370f588ab53d6579f2455df7e973c28b78
2020-06-17 17:02:38 +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
Winson Chung
9a6dc4f0aa
Merge "Use new insets apis for determining the stable/system insets"
2020-06-17 16:01:30 +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
1ba454bbda
Merge "Re-setup viewpager on configuration change for RTL languages" into rvc-dev am: acfac74964 am: 909af45cf0 am: 57d9e08518 am: a5be94c722
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11894160
Change-Id: Ie08d334f8e9278dc9221c701a2d120b364b19750
2020-06-17 15:49:22 +00:00
Antoan Angelov
993f4093cf
Merge "Disable side swiping on RTL languages" into rvc-dev am: 46b4296beb am: e0624684c9 am: 48babc1ffe am: 471f792943
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11880480
Change-Id: I2109251ff095bd108eecf8c752ba64ec60a50636
2020-06-17 15:49:00 +00: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
ae72082584
Merge "Guard against NPE in ServiceConnector" into rvc-dev am: 892d269b65 am: c727d39f86 am: edce56bd21 am: 07b4d59d35
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885859
Change-Id: I0c31cf2da4e6663c3289a361fe09273d9920df03
2020-06-17 00:20:28 +00: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
Sudheer Shanka
c608143486
Maintain the fuse buffer pool keyed by inode instead of threadId.
...
In order to save memory, FuseAppLoop maintains a buffer pool to use
when dispatching the read/write requests. Currently, it uses
the threadId of the ProxyFileDescriptorCallback as the key for this
buffer pool and this can result in an issue when a caller creates
multiple ProxyFileDescriptors with ProxyFileDescriptorCallbacks
running on the same thread. When this happens, it is possible that
a buffer is reused before a read/write request which was using it
earlier has been handled and would result in data from read/write
requests on different fds getting mixed up.
Bug: 158568683
Test: atest --test-mapping apex/blobstore
Change-Id: Iaffd54f4430ecb3778f01c80f5a1684ac448f8dc
2020-06-16 13:07:42 -07:00