Commit Graph

13757 Commits

Author SHA1 Message Date
TreeHugger Robot
e1d8a090ba Merge "Start sharesheet in the same profile instead of switching to other profile." into rvc-dev am: 1f6f9a6c75 am: eded4dc078 am: 8bd18a88e3 am: b23201d8f0
Change-Id: I6d81d4aeed1534ff11a875327d449de5f8617c12
2020-04-14 14:01:57 +00:00
TreeHugger Robot
8bd18a88e3 Merge "Start sharesheet in the same profile instead of switching to other profile." into rvc-dev am: 1f6f9a6c75 am: eded4dc078
Change-Id: I8865b5bf95558223f258f16cf76b0effbb31e4f5
2020-04-14 13:24:09 +00:00
TreeHugger Robot
1f6f9a6c75 Merge "Start sharesheet in the same profile instead of switching to other profile." into rvc-dev 2020-04-14 13:15:56 +00:00
Mady Mellor
664b0ebcd5 Notification Bubble Button am: 9adfe6a20c am: bf4131708a am: 339f4426e9 am: 9c70efef93
Change-Id: Id32cff98d32ba719bf3cf9c1d61837cecb936889
2020-04-14 12:07:29 +00:00
Susi Kharraz-Post
ee1c6b1b70 Merge "Rename sharesheet started atom proto fields." into rvc-dev am: 1faa960005 am: 6f47791a45 am: 1a9937fac8 am: 027f2f6a3e
Change-Id: I553e5602c0c3c58e7355d4f8eb64314eb73aa78f
2020-04-14 12:06:26 +00:00
Mady Mellor
339f4426e9 Notification Bubble Button am: 9adfe6a20c am: bf4131708a
Change-Id: Iab279ae35352186d4acedc6bc9224f9f6251d93e
2020-04-14 11:47:20 +00:00
Mady Mellor
bf4131708a Notification Bubble Button am: 9adfe6a20c
Change-Id: If6d8ab22f41e448746698a06c077d05a971b3f89
2020-04-14 11:27:44 +00:00
Julia Reynolds
c026d54cd7 Merge changes from topic "bubble_settings_wooo" into rvc-dev
* changes:
  Changes to enable bubble settings CTS
  Notification Bubble Button
  Make bubble settings a pref with an int rather than a bool
2020-04-14 11:22:14 +00:00
Susi Kharraz-Post
1a9937fac8 Merge "Rename sharesheet started atom proto fields." into rvc-dev am: 1faa960005 am: 6f47791a45
Change-Id: I9875e3fba25d125054b3ddba0c0d6d8c812ad610
2020-04-14 11:16:49 +00:00
Susi Kharraz-Post
1faa960005 Merge "Rename sharesheet started atom proto fields." into rvc-dev 2020-04-14 10:49:57 +00:00
PETER LIANG
1284ecb10f Merge "Migrate AccessibilityButtonChooserActivity into dialog folder and renaming." into rvc-dev am: 40dff7cd01 am: 80b70f7697 am: c4422c1807 am: db5a00f714
Change-Id: I2f785a38ca302c65f2cab0bca76124e6885dcc54
2020-04-14 10:06:14 +00:00
PETER LIANG
c4422c1807 Merge "Migrate AccessibilityButtonChooserActivity into dialog folder and renaming." into rvc-dev am: 40dff7cd01 am: 80b70f7697
Change-Id: I4c97b2766eb95b3dd7c280e0e57ab3807582fb65
2020-04-14 09:19:08 +00:00
Peter_Liang
8b7c9dada1 Migrate AccessibilityButtonChooserActivity into dialog folder and renaming.
1. Migrate and renaming file, functions.
2. Revise java doc and annotations.

Bug: 151294664
Bug: 147655054
Test: manual test
Change-Id: Ie791bce32b21495f9c2bf499feb8f6601c941f1d
2020-04-14 03:24:59 +00:00
Soonil Nagarkar
490c46ca8c Refactor and reorganize listener multiplexers
-Rename manager -> multiplexer where appropriate
-Split into client/server files/packages to minimize amount of code
going into client and keep complexity server side.
-Make GNSS listeners respect location blacklist.
-Add tests.

Test: presubmits + manual
Change-Id: I368e1c6aab1b9bcc1ff771a050431abc8e9c4c00
2020-04-13 11:13:49 -07:00
Susi Kharraz-Post
3ddadd8f3c Rename sharesheet started atom proto fields.
When copying over the fields into Google3 the linter failed on two field
names that are camel case rather than snake case. Changing here so the
two match. In addition, one of the enum fields didn't have a default
value.

Bug: 147508495
Test: compiles + ChooserActivityTest runs
Change-Id: Iacec9654350763e691a4a10087f693839fd5ea83
2020-04-13 10:05:29 -04:00
PETER LIANG
32346ff3a6 Merge "Renaming for accessibility fragment type and functions." into rvc-dev am: 83c4af69d0 am: a5d6524099 am: 0964b50993 am: aef8333384
Change-Id: I68270f83c4a3aef55331f6410b3b688854dd7a2e
2020-04-13 13:54:46 +00:00
PETER LIANG
0964b50993 Merge "Renaming for accessibility fragment type and functions." into rvc-dev am: 83c4af69d0 am: a5d6524099
Change-Id: I7382225fcaeff1a26ad92c6303b418e7c1dea3eb
2020-04-13 13:06:01 +00:00
PETER LIANG
83c4af69d0 Merge "Renaming for accessibility fragment type and functions." into rvc-dev 2020-04-13 12:23:43 +00:00
Peter_Liang
293e32bb90 Renaming for accessibility fragment type and functions.
1. Update fragment type name to latest.
2. Revise the corresponding functions name.

Bug: 147655054
Test: manual test
Change-Id: I731246beda9159ac7672ac20f4d7ba0e4f8a3684
2020-04-13 18:02:38 +08:00
Yurii Zubrytskyi
1fd4b8b8ba Merge changes I668e8664,Ia44f7e45 into rvc-dev am: 207f1d3036 am: 06e1a29053 am: a443ae2b2e am: 94384c9a73
Change-Id: I18861e06cd4553f798f79439ec83eeb2c41da467
2020-04-11 02:39:07 +00:00
Yurii Zubrytskyi
a443ae2b2e Merge changes I668e8664,Ia44f7e45 into rvc-dev am: 207f1d3036 am: 06e1a29053
Change-Id: Ic8352f21cb07ed21155fa2ecb2e6c01bcc0db8a8
2020-04-11 02:01:16 +00:00
Yurii Zubrytskyi
da208016d6 [incfs] Make native library extraction async
IncrementalService can create the library files beforehand, but
delay filling in their data. As it takes quite a while in
general (over a second in cases when the phone is busy), it's
better to run the unzipping and filling in a separate thread
and only make sure it finishes before the whole installation
process is complete.
This speeds up the megacity.apk installation by ~250-300ms,
1000-1100ms -> 750-800ms

Bug: 153513507
Test: adb install megacity.apk

Change-Id: Ia44f7e45b9e0abaebdfb6fe5352f9dcf29ab4ece
2020-04-10 12:30:49 -07:00
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
Mady Mellor
9adfe6a20c Notification Bubble Button
Button is visible on expanded notifications that are in the
conversation section.

Always visible if the notification has metadata & the user
hasn't turned off bubbles for the device.

Button is added to end of the template actions, making it
visible if there were no other actions.

Tapping it to make a button will change the app settings
to "selected" and enable bubbles for that channel, if the
bubble wasn't allowed otherwise.

Tapping it to stop the bubble will disallow that channel
from bubbling.

Test: manual:
- check bubble button on notif with long action text
- check button is hidden when inline reply is focused
- check no bubble button on non-conversation notifs
- check create bubble from HUN
- check create bubble from expanded notif
- check that dismissing a bubble updates state of the button
- check that getting new notif after dismissing bubble
  updates state of the button

Bug: 138116133
Change-Id: Ic12204bd191530e94ea0400e16a9315a0d149252
2020-04-09 14:49:36 -07:00
arangelov
c758139095 Start sharesheet in the same profile instead of switching to other profile.
Instead of starting the sharesheet in the other profile when
choosing the "Switch to work"/"Switch to personal" button,
we now start the sharesheet in the same profile with the other tab
selected.

For example, we're in the personal profile and share something
via an app that uses its own sharing logic. That shows the
"Switch to work" button and when we press it, we now start
the sharesheet in the personal profile with the work tab selected.

The reason for this is to avoid user confusion when they go back
to the personal tab and it shows an empty state screen due to
lack of cross-profile intents.

Fixes: 152866292
Test: manual
Test: atest ChooserActivityTest
Test: atest ResolverActivityTest
Test: atest IntentForwarderActivityTest#launchInSameProfile_chooserIntent
Change-Id: Ic117c9c51c663b6574e7692022bac82f7c899ec2
2020-04-09 15:46:33 +01: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