Commit Graph

13733 Commits

Author SHA1 Message Date
TreeHugger Robot
d968474ad2 Merge "Exposed PooledLambdaImpl.getFriendlyName() as FunctionalUtils.getLambdaName()" into rvc-dev am: 85b561c3c2 am: 0f37501283 am: a1c7398f1d am: 9639cc666f
Change-Id: Id46354cbebb238bf7bfa0ba945da0b1a6a638591
2020-04-10 00:26:04 +00:00
TreeHugger Robot
a1c7398f1d Merge "Exposed PooledLambdaImpl.getFriendlyName() as FunctionalUtils.getLambdaName()" into rvc-dev am: 85b561c3c2 am: 0f37501283
Change-Id: I21fbc0b3fda1d8daf977871ca6cbe836aa88863d
2020-04-09 23:45:18 +00:00
TreeHugger Robot
85b561c3c2 Merge "Exposed PooledLambdaImpl.getFriendlyName() as FunctionalUtils.getLambdaName()" into rvc-dev 2020-04-09 23:22:25 +00:00
TreeHugger Robot
2e1b1e9826 Merge "Add stats puller for aggregated procstats" 2020-04-09 13:03:59 +00:00
Adrian Roos
f2499881b1 Merge "Insets: Fix DecorView consuming of insets" into rvc-dev am: 3d670ae046 am: 8014a38cd2 am: a39b7fb97d am: 4f98884443
Change-Id: I1d3703a63b103841f868c5fe3e27742ca2e5bcbe
2020-04-09 11:56:33 +00:00
Richard Gaywood
3b428af57f Add stats puller for aggregated procstats
Implement puller code in StatsPullAtomService & ProcessStats that will
output new pre-aggregated proto form of ProcStats data.

Change-Id: Id3d28b0ec135b1b25f3b70a5eb29bec67d71805d
Test: local debugging, see b/152397079
Bug: b/152397079
Bug: b/145203981
2020-04-09 12:02:43 +01:00
Adrian Roos
8014a38cd2 Merge "Insets: Fix DecorView consuming of insets" into rvc-dev am: 3d670ae046
Change-Id: Ia8def345663a8f751cafcdb56e6806a9fee8cc5d
2020-04-09 10:12:58 +00:00
Adrian Roos
3d670ae046 Merge "Insets: Fix DecorView consuming of insets" into rvc-dev 2020-04-09 08:17:01 +00:00
Adrian Roos
d686b084ec Insets: Fix DecorView consuming of insets
Previously, disabling the consuming logic was
done based on whether we target R.

But this:
- didn't work for Q apps that already use the new API
- causes a bit of unnecessary behavior churn
- requires special-casing the IME

Instead, we look at whether the app has requested to
handle insets with the R setDecorFitsSystemWindows API.

Fixes: 152384150
Test: atest DecorInsetSdk29Tests DecorInsetTests
Change-Id: I754851d0c11dccd21c2fa011cfdc3f0d7396cf60
2020-04-08 19:25:45 +02:00
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
Peter Collingbourne
1c71f8a9f9 Implement initial policy for memory tag checks.
System apps and the system_server receive async tag checks, while all other
app processes have it disabled. Developers may enable async tag checks
per application with:

$ adb shell am compat 135772972 <app.name>

Bug: 135772972
Change-Id: I154623941eec8e79af347453fbca1b062346c85b
Merged-In: I154623941eec8e79af347453fbca1b062346c85b
2020-04-08 08:27:49 -07: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
3bd9fd2def Merge "Revert "Revert "Do not mount whitelisted package in storage data and obb dirs""" into rvc-dev am: afef06a0f6
Change-Id: Iacb6e514daa631a3d1d202d34dfb3cfbe90da072
2020-04-08 15:04:12 +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
felipeal
97a1e153ff Exposed PooledLambdaImpl.getFriendlyName() as FunctionalUtils.getLambdaName()
Test: manual verification
Bug: 145689885

Change-Id: I0889df1f5e509bd6184e3e08122469d38c1138ed
2020-04-07 15:30:28 +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