Commit Graph

13721 Commits

Author SHA1 Message Date
TreeHugger Robot
bdff67ab73 Merge "Revert "Revert "Do not mount whitelisted package in storage data and obb dirs""" into rvc-dev am: afef06a0f6 am: 216018145e am: 453e2b4177 am: 7501351e3e
Change-Id: Iff6bbcba909c6b489a0524ab1f3d86dd3ddd3aab
2020-04-08 15:31:31 +00:00
TreeHugger Robot
453e2b4177 Merge "Revert "Revert "Do not mount whitelisted package in storage data and obb dirs""" into rvc-dev am: afef06a0f6 am: 216018145e
Change-Id: I1ab61ddd6e493d30c6cc61a56e88ddb0f8202273
2020-04-08 15:10:07 +00:00
TreeHugger Robot
afef06a0f6 Merge "Revert "Revert "Do not mount whitelisted package in storage data and obb dirs""" into rvc-dev 2020-04-08 14:48:39 +00:00
TreeHugger Robot
d6531dab1e Merge "Don't ask libc for PT feature w/o kernel support." into rvc-dev am: 6acebc809a
Change-Id: Iae894d48777a3308ea4c3d1e73913c5522c19aac
2020-04-08 14:34:22 +00:00
TreeHugger Robot
6acebc809a Merge "Don't ask libc for PT feature w/o kernel support." into rvc-dev 2020-04-08 14:15:23 +00:00
TreeHugger Robot
4b71dc47fc Merge "Fixed an issue where the unread count would disappear too fast" into rvc-dev am: f9557e4400 am: 9cb021867e am: e7704c353c am: ef9564227a am: 5379139d8e
Change-Id: I0c91922b5a68930d81ae6103fa125cb8e143cdea
2020-04-07 19:19:35 +00:00
TreeHugger Robot
5379139d8e Merge "Fixed an issue where the unread count would disappear too fast" into rvc-dev am: f9557e4400 am: 9cb021867e am: e7704c353c am: ef9564227a
Change-Id: I7908b0526e1589b0e3f9b8b58a0d2b205c83db72
2020-04-07 19:18:07 +00:00
TreeHugger Robot
dc0620df60 Merge "Fixed an issue where the unread count would disappear too fast" into rvc-dev am: f9557e4400
Change-Id: I158617de3f51ebf3331759bb6a98107ad6a6da02
2020-04-07 18:45:26 +00:00
TreeHugger Robot
f9557e4400 Merge "Fixed an issue where the unread count would disappear too fast" into rvc-dev 2020-04-07 18:42:06 +00:00
Automerger Merge Worker
80fccc1daf Merge "Merge "Fixed the appearance of image messages that are out of view" into rvc-dev am: 3c2a6a281e am: 803be6f9d6" into rvc-d1-dev-plus-aosp am: 419ab47e0e am: 229970b9cf
Change-Id: I8a07efd7e23d6fbf13d0f6d42182dd70a78b61a0
2020-04-07 18:24:57 +00:00
Selim Cinek
3012ec3149 Merge "Fixed the appearance of image messages that are out of view" into rvc-dev am: 3c2a6a281e am: 803be6f9d6
Change-Id: Iff9d34a9b3b986f630c7157c67d67ff783b8ac05
2020-04-07 18:14:27 +00:00
Selim Cinek
51ac1d4679 Merge "Fixed the appearance of image messages that are out of view" into rvc-dev am: 3c2a6a281e
Change-Id: Ic17615f09d8eafc7d6043dbea9141d62399e734a
2020-04-07 18:08:14 +00:00
Selim Cinek
3c2a6a281e Merge "Fixed the appearance of image messages that are out of view" into rvc-dev 2020-04-07 17:58:04 +00:00
TreeHugger Robot
13efd1e4a3 Merge "Show sharesheet with 1 personal app and >0 work apps with WP off" into rvc-dev am: 0ed25f0cd2 am: 73be1485f4 am: 47e8baa462 am: 757e0e2217
Change-Id: I814aa24523e75b8015cc936b68ad572b479c3524
2020-04-07 16:29:43 +00:00
TreeHugger Robot
73be1485f4 Merge "Show sharesheet with 1 personal app and >0 work apps with WP off" into rvc-dev am: 0ed25f0cd2
Change-Id: I2c15919efd6c7f3c354316de30379e919ef5bd6a
2020-04-07 16:12:37 +00:00
TreeHugger Robot
0ed25f0cd2 Merge "Show sharesheet with 1 personal app and >0 work apps with WP off" into rvc-dev 2020-04-07 16:06:30 +00:00
Mitch Phillips
4d4347c257 Don't ask libc for PT feature w/o kernel support.
Check that the kernel supports the Tagged Pointers feature before asking
libc to disable/enable pointer tagging.

Bug: 153114333
Test: Build coral, note no messages from SetHeapTaggingLevel.
Test: atest CtsTaggingHostTestCases

Change-Id: Id5fbd731aa70f7b0a75525387479f6123628a012
Merged-In: Id5fbd731aa70f7b0a75525387479f6123628a012
2020-04-07 15:44:00 +00:00
Mitch Phillips
60ec63d646 Merge "Don't ask libc for PT feature w/o kernel support." 2020-04-07 15:38:56 +00:00
Selim Cinek
94d0be89f0 Fixed an issue where the unread count would disappear too fast
Especially with images this was leading to really bad transitions
since the image would pop over immediately.
We now update the counter once the expansion has finished

Fixes: 153392205
Test: add conversations with messages with unread count and image, click on it.
Change-Id: I2ad2ec6a989a21154e3edbf09aabc6d17ea75bd7
2020-04-06 20:16:27 -07:00
Automerger Merge Worker
5d2bd7315a Merge "Merge changes I76df6529,I99594ae9 into rvc-dev am: 35910cacaa am: c9e647b261" into rvc-d1-dev-plus-aosp am: e4e72b6309 am: 975453319d
Change-Id: I7408b8bdf2b5f5637444f5f5edcd9ac5329ee763
2020-04-07 02:11:39 +00:00
Selim Cinek
02c1e738b2 Merge changes I76df6529,I99594ae9 into rvc-dev am: 35910cacaa am: c9e647b261
Change-Id: Icf9aa76842f573387abce5a23382112f3e0323f9
2020-04-07 01:31:19 +00:00
Selim Cinek
8776260b29 Merge changes I76df6529,I99594ae9 into rvc-dev am: 35910cacaa
Change-Id: I06c716ffda5d55888b4ad81130699de75ae1f98e
2020-04-07 01:30:28 +00:00
Selim Cinek
35910cacaa Merge changes I76df6529,I99594ae9 into rvc-dev
* changes:
  Fixed the heads up layout of conversations
  Fixed an issue where the conversation title was showing doubled
2020-04-07 01:22:04 +00:00
Selim Cinek
a959fe44a0 Fixed the appearance of image messages that are out of view
Previously we were showing image messages of all senders instead
of just the last one.
This is now fixed.

Fixes: 153388613
Change-Id: I4e9c563c28291de25bf3dbd0ad72940ab59cad6f
2020-04-06 18:16:40 -07:00
Sally Yuen
0d7707f0d2 Merge "Set the window title in AlertDialog's AlertController" into rvc-dev am: de172d5438 am: 4173092d88 am: e3356a58af am: febf3fa63a
Change-Id: Ib9f69f16c696cc37404f23e15df96a6afd193ee7
2020-04-07 01:01:32 +00:00
Sally Yuen
4173092d88 Merge "Set the window title in AlertDialog's AlertController" into rvc-dev am: de172d5438
Change-Id: Iac94d2e5c91f7c131e04b88337046b9a1094a516
2020-04-06 23:58:35 +00:00
Sally Yuen
de172d5438 Merge "Set the window title in AlertDialog's AlertController" into rvc-dev 2020-04-06 23:54:23 +00:00
Bernardo Rufino
4aef02d1e6 Merge "Wire user info and use user context for text toasts" into rvc-dev am: 2de79fb6fd am: ec0e67b052 am: 8499e595fe am: 95cc45f79f
Change-Id: Ic2121b6fe6509537a61eedb46307e6bb094ee3ce
2020-04-06 22:52:14 +00:00
Susi Kharraz-Post
f368663e8e Merge "Fix NPE for Open With ChooserActivity Logging Bug" into rvc-dev am: 7e9bfdfd63 am: 9b2b5a114a am: 9d2209281e am: 8c9fd1a9c1
Change-Id: Ie80ed6a7b0fc4b3cf9969ce76a9d4716645b5b77
2020-04-06 22:51:57 +00:00
Bernardo Rufino
ec0e67b052 Merge "Wire user info and use user context for text toasts" into rvc-dev am: 2de79fb6fd
Change-Id: I0e814f94225d06edb4d973be300fbd2e515b4db9
2020-04-06 22:12:26 +00:00
Susi Kharraz-Post
9b2b5a114a Merge "Fix NPE for Open With ChooserActivity Logging Bug" into rvc-dev am: 7e9bfdfd63
Change-Id: I4a949058c023eb3dc08e4bbc5587400d806563fd
2020-04-06 22:11:30 +00:00
Bernardo Rufino
2de79fb6fd Merge "Wire user info and use user context for text toasts" into rvc-dev 2020-04-06 21:59:20 +00:00
Bernardo Rufino
78f5d83ac8 Wire user info and use user context for text toasts
Text toasts don't currently support multi-user. This CL prepares toasts
for multi-user by wiring the user information from who requested the
toast (in the form of uid) to ToastUI, where text toasts are actually
rendered.

We go only as far as obtaining a new user-specific context for that user
and using that to construct the view. Actual support will come in future
CLs.

Bug: 151414297
Test: atest android.widget.cts29.ToastTest android.widget.cts.ToastTest
      ToastWindowTest ToastUITest NotificationManagerServiceTest
      LegacyToastTest
Change-Id: I8c92453c6a2b73c31f9a41ca9ff463d194d4f44f
2020-04-06 20:20:09 +01:00
Susi Kharraz-Post
8bd0f532a3 Fix NPE for Open With ChooserActivity Logging Bug
Target is not populated for "Open With" processed by ChooserActivity.
Adding a null catch in the logger to return default intent.

Bug: 153335691
Test: manual testing and running ChooserActivityTests
Change-Id: Ib7477a9030d0244d33d74690c6aab8b03b88e1e3
2020-04-06 15:07:23 -04:00
Mitch Phillips
6dabec7b3b Don't ask libc for PT feature w/o kernel support.
Check that the kernel supports the Tagged Pointers feature before asking
libc to disable/enable pointer tagging.

Bug: 153114333
Test: Build coral, note no messages from SetHeapTaggingLevel.
Test: atest CtsTaggingHostTestCases

Change-Id: Id5fbd731aa70f7b0a75525387479f6123628a012
2020-04-06 11:57:22 -07:00
arangelov
ce7d4a623c Show sharesheet with 1 personal app and >0 work apps with WP off
Previously we would autolaunch in this case, as
getResolversForIntentAsUserInternal didn't return any apps for
the work profile when it's off. This change adds the
MATCH_DIRECT_BOOT_AWARE and MATCH_DIRECT_BOOT_UNAWARE
flags to the PackageManager#queryIntentActivitiesAsUser call.

Test: manual
Test: atest ResolverActivityTest
Test: atest ChooserActivityTest
Fixes: 153338971

Change-Id: Iedf10d54953b94393c78d6357ce7e5216f3ba261
2020-04-06 18:22:33 +01:00
TreeHugger Robot
78e170517f Merge "Limit stage install to system and whitelisted packges only (1/2)" into rvc-dev am: 04e287816f am: 580a989f1e am: ae3a7cdc74 am: 9bec247d45
Change-Id: I32bb9c350ee6fe17e40aa442eb320270c1a0c013
2020-04-06 15:47:14 +00:00
TreeHugger Robot
ae3a7cdc74 Merge "Limit stage install to system and whitelisted packges only (1/2)" into rvc-dev am: 04e287816f am: 580a989f1e
Change-Id: Icc0031d42da5ef659272abbd83bf0bd46e76a844
2020-04-06 14:57:03 +00:00
TreeHugger Robot
e7765a8435 Merge "Limit stage install to system and whitelisted packges only (1/2)" into rvc-dev am: 04e287816f
Change-Id: Ieb38ccefdd3513624ac95f45a28d7be84c0de03f
2020-04-06 14:39:39 +00:00
TreeHugger Robot
04e287816f Merge "Limit stage install to system and whitelisted packges only (1/2)" into rvc-dev 2020-04-06 14:16:25 +00:00
Tony Huang
3b3d8ea61d Merge "Fix split divider janky" into rvc-dev am: a171ec4203 am: e6abf0b719 am: c030cdafad am: d1db0d4023
Change-Id: Ie2fedd5893590745c62d85819693f71a38c46f27
2020-04-06 08:52:20 +00:00
Tony Huang
c030cdafad Merge "Fix split divider janky" into rvc-dev am: a171ec4203 am: e6abf0b719
Change-Id: I6554e2844d2ecc21544a4ec601b4d7c8f974719c
2020-04-06 08:33:07 +00:00
Tony Huang
17ebe76f7a Merge "Fix split divider janky" into rvc-dev am: a171ec4203
Change-Id: I195d4d1df29f9628b8c39e9ee6da78c2fe60574d
2020-04-06 07:44:11 +00:00
Tony Huang
a171ec4203 Merge "Fix split divider janky" into rvc-dev 2020-04-06 07:24:15 +00:00
Jerry Chang
792c79623d Limit stage install to system and whitelisted packges only (1/2)
Bug: 148664742
Test: atest FrameworksServicesTests:SystemConfigTest SysConfigTest#testStageWhitelist
Change-Id: I5d7617a014869167151f9f486dc0e89f5957390a
2020-04-06 11:05:53 +08:00
Selim Cinek
28db07e902 Fixed the heads up layout of conversations
Previously the expand button layout was always at 80dp which
made the collapsed size increase. we now measure it at
match_parent instead and just internally use another layout
to position it properly.

Fixes: 153204251
Test: add heads up notification, observe normal padding
Change-Id: I76df6529c1a24808bce54ed0d04230cddf7a0c8c
2020-04-03 17:52:15 -07:00
TreeHugger Robot
53700f16e7 Merge "Revert "Fix DecorView error about non-visual context"" into rvc-dev am: 59a65bdc0f am: fca4a6e057 am: 3dc933b9b1 am: 518d408967
Change-Id: I4f320ff2ce2df427d4c032639f97d7db1150be55
2020-04-03 20:42:04 +00:00
TreeHugger Robot
3dc933b9b1 Merge "Revert "Fix DecorView error about non-visual context"" into rvc-dev am: 59a65bdc0f am: fca4a6e057
Change-Id: Id0704620c8e34ea3f18e3edb6d7dee936062113e
2020-04-03 20:11:56 +00:00
TreeHugger Robot
3fc6f737f4 Merge "Revert "Fix DecorView error about non-visual context"" into rvc-dev am: 59a65bdc0f
Change-Id: I3742568af4066c4d73be0f7f31562ffffa2182ce
2020-04-03 20:03:29 +00:00
TreeHugger Robot
59a65bdc0f Merge "Revert "Fix DecorView error about non-visual context"" into rvc-dev 2020-04-03 19:53:56 +00:00